[Xorp-users] PIM IGMP troubleshooting

Bernard J Hughes bhughes at totalrecallcorp.com
Thu Mar 4 14:06:48 PST 2010


Below is a diagram of my current setup:


   Cisco 3750  G1/0/12:                   XORP FreeBSD               
    ___________10.0.90.1/30   rl0:10.0.90.2/30_____                
   |___________|=============================[_____]
       || VLAN 250:10.0.80.1/24               ||  em0:10.9.8.1/30     
       ||                                   __||__PC2:10.9.8.2/30    
     __||_PC1:10.0.80.10/24                [______]       
    |______|                       Recieve 239.255.255.250
     Sends to                                  
  239.255.255.250

My goal is to get PC2 to hear the multicast coming from PC1.

PC2 gets the traffic when directly plugged into the 3750.  I get nothing
when attempting to use XORP between PC2 and the 3750. Xorp is running on
FREEBSD 8.0 with MROUTING in the KERNEL. Unicast works fine.  The 3750
sees XORP interface rl0 as a DR and PIM neighbor.

I feel like em0 IGMP is not picking up on PC2s membership reports on
group 239.255.255.250.  Whenever PC2 is connected directly to G1/0/12
the first IGMP membership report it sends yields mcast traffic from
10.0.80.10 destined to . Using XORP netstat -gn doesn't yield any
groups.  Shouldn't xorp be maintaining group memberships for its
listeners?

I think I need some help tuning Xorp.  I've read a lot on the mailing
list where people appear to get this working with relatively simple
configs.  I must be missing something easy. PLEAAAAASE HELLLLP!!! lol.
thanks in advance!

-------------------XORP CONFIG-----------------------
interfaces {
	interface em0 {
		description: "test interface"
		disable: false 
		vif em0 {
			disable: false
			address 10.9.8.1 {
				prefix-length: 30
				broadcast: 10.9.8.3
				disable: false
			}	
		}		
	}
	interface rl0 {
		description: "test interface"
		disable: false 
		vif rl0 {
			disable: false
			address 10.0.90.2 {
				prefix-length: 30 
				broadcast: 10.0.90.3
				disable: false
			}	
		}		
	}
}

fea {
    unicast-forwarding4 {
        disable: false
    }

}

protocols {
	static {
		route 10.0.0.0/16 {
	    		next-hop: 10.0.90.1
	    		metric: 1
		}
		mrib-route 10.0.80.0/24 {
			next-hop: 10.0.90.1
			metric: 1
		}
		mrib-route 10.0.90.0/30 {
			next-hop: 10.0.90.1
			metric: 1
		}
		mrib-route 10.9.8.0/30 {
			next-hop: 10.0.90.1
			metric: 1
		}
	}
}

plumbing {
    mfea4 {
	disable: false
	interface rl0 {
	    vif rl0 {
		disable: false
	    }
	}
	interface em0 {
	    vif em0 {
		disable: false 
	    }
	}
	interface register_vif {
	    vif register_vif {
		/* Note: this vif should be always enabled */
		disable: false
	    }
	}
	traceoptions {
	    flag all {
		disable: false
	    }
	}
    }
}

protocols {
    igmp {
	disable: false
	interface em0 {
	    vif em0 {
		disable: false
		/* version: 2 */
		/* 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 {
	disable: false
	interface rl0 {
	    vif rl0 {
		disable: false
		/* enable-ip-router-alert-option-check: false */
	 	dr-priority: 1 
		/* hello-period: 30 */
		/* 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.0.90.1 {
		group-prefix 224.0.0.0/4 {
		}
	    }
	}
	switch-to-spt-threshold {
	    /* approx. 1K bytes/s (10Kbps) threshold */
	    disable: false
	    interval: 100
	    bytes: 102400
	}
	traceoptions {
	    flag all {
		disable: false
	    }
	}
    }
}
protocols {
    fib2mrib {
        disable: false
    }
}
-------------------END XORP CONFIG-----------------------

-------------------3750 CONFIG Shortened-----------------
ip routing
ip multicast-routing distributed
interface GigabitEthernet1/0/12
 no switchport
 bandwidth 1000
 ip address 10.0.90.1 255.255.255.252
 ip pim sparse-dense-mode
 spanning-tree portfast
!
ip pim rp-address 10.0.90.1
-------------------End 3750 CONFIG-----------------------




More information about the Xorp-users mailing list