[Xorp-users] trouble in multicast forwarding with XORP 1.4

Jigar jjajal at gmail.com
Wed Jun 18 05:56:53 PDT 2008


Query:
-> we want to activate multicast forwarding on the XORP router
-> we are now not able to send any UDP multicast data packet from (H1 to
H2) or (H2 to H1)

Doubt:
-> we are in doubt about the static routing setting or may be in PIM
protocol configuration
-> we are not clear with the mrib setting in the configuration file
-> Also in setting RP statically which should be selected ( H1, H2 or
XORP itself )?
-> is fib2mrib section required for multicast forwarding?

Setup:
-> H1 and H2 are connected through XORP 1.4 router( having 2 NIC card
i.e. eth0 and eth1 ) on different NICs.
-> They both are now able ping each other. so unicast forwording is
working fine.
-> IGMPv3 and PIM-SMv2 both protocol are currently running on both
NIC(eth0 and eth1) of the XORP router
-> fea and mfea are also activated for both NIC(eth0 and eth1) of the
XORP router.
-> IGMPv3 query and PIM Hello packets are coming nicely
-> In PIM-SM bootstrap for RP is disable as we are going with the static
RP setting. It is now set as a H1.

Note: -> Here we have attached the configuration file of XORP which we
are using now for our setup and also setup image


CONFIG FILE:
/* $XORP: xorp/rtrmgr/config.boot.sample,v 1.46 2007/03/12 10:16:05
atanu Exp $ */


interfaces {
     restore-original-config-on-shutdown: false
     interface eth0 {
	description: "data interface"
	disable: false
	default-system-config	
     }

     interface eth1 {
	description: "data interface"
	disable: false
	default-system-config	
     }
}

fea {
     targetname: "fea"
     unicast-forwarding4 {
	disable: false
	forwarding-entries {
	    retain-on-startup: false
	    retain-on-shutdown:	false
	}
     }
}

protocols {
     static {
	targetname: "static_routes"
	disable: false
	
	mrib-route 224.0.0.0/8 {
	    next-hop: 10.100.3.226
	    metric: 1
	
	}
     }
}

policy {
     /* Describe connected routes for redistribution */
     policy-statement connected {
	term export {
	    from {
		protocol: "connected"
	    }
	}
     }
}

policy {
     /* Describe static routes for redistribution */
     policy-statement static {
	term export {
	    from {
		protocol: "static"
	    }
	}
     }
}

plumbing {
     mfea4 {
	disable: false

	interface eth0 {
	    vif eth0 {
		disable: false
	    }
	}

	interface eth1 {
	    vif eth1 {
		disable: false
	    }
	}

	interface register_vif {
	    vif register_vif {
		/* Note: this vif should be always enabled */
		disable: false
	    }
	}

	traceoptions {
	    flag all {
		disable: false
	    }
	}
     }
}

protocols {
     igmp {
	targetname: "IGMP"
	disable: false
	interface eth0 {
	    vif eth0 {
		disable: false
		version: 3
		/* enable-ip-router-alert-option-check: false */
		/* query-interval: 125 */
		/* query-last-member-interval: 1 */
		/* query-response-interval: 10 */
		/* robust-count: 2 */
	    }
	}

	interface eth1 {
	    vif eth1 {
		disable: false
		version: 3
		/* enable-ip-router-alert-option-check: false */
		/* query-interval: 125 */
		/* query-last-member-interval: 1 */
		/* query-response-interval: 10 */
		/* robust-count: 2 */
	    }
	}	

	traceoptions {
	    flag all {
		disable: false
	    }
	}
     }
}

protocols {
     pimsm4 {
	targetname: "PIMSM_4"
	disable: false
	interface eth0 {
	    vif eth0 {
		disable: false
		/* enable-ip-router-alert-option-check: false */
		/* dr-priority: 1 */
		hello-period: 10
		/* hello-triggered-delay: 5 */
		/* alternative-subnet 10.40.0.0/16 */
	    }
	}

	interface eth1 {
	    vif eth1 {
		disable: false
		/* enable-ip-router-alert-option-check: false */
		/* dr-priority: 1 */
		hello-period: 10
		/* hello-triggered-delay: 5 */
		/* alternative-subnet 10.40.0.0/16 */
	    }
	}

	interface register_vif {
	    vif register_vif {
		/* Note: this vif should be always enabled */
		disable: false
	    }
	}

	static-rps {
	    rp 10.100.3.225 {
		group-prefix 224.0.0.0/4 {
		    /* rp-priority: 192 */
		    /* hash-mask-len: 30 */
		}
	    }
	}

	bootstrap {
	    disable: true
	    cand-bsr {
		scope-zone 224.0.0.0/4 {
		    /* is-scope-zone: false */
		    cand-bsr-by-vif-name: "eth0"
		    /* cand-bsr-by-vif-addr: 10.10.10.10 */
		    /* bsr-priority: 1 */
		    /* hash-mask-len: 30 */
		}
	    }

	    cand-rp {
		group-prefix 224.0.0.0/4 {
		    /* is-scope-zone: false */
		    cand-rp-by-vif-name: "eth0"
		    /* cand-rp-by-vif-addr: 10.10.10.10 */
		    /* rp-priority: 192 */
		    /* rp-holdtime: 150 */
		}
	    }
	}

	switch-to-spt-threshold {
	    /* approx. 1K bytes/s (10Kbps) threshold */
	    disable: false
	    interval: 100
	    bytes: 102400
	}

	traceoptions {
	    flag all {
		disable: false
	    }
	}
     }
}

/*
  * Note: fib2mrib is needed for multicast only if the unicast protocols
  * don't populate the MRIB with multicast-specific routes.
  */
protocols {
     fib2mrib {
	disable: false
     }
}




-------------- next part --------------
A non-text attachment was scrubbed...
Name: configuration.jpg
Type: image/jpeg
Size: 46109 bytes
Desc: not available
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20080618/d71b9c3d/attachment-0001.jpg 


More information about the Xorp-users mailing list