[Xorp-users] XORP IPv4 multicast routing with PIM-SM

Dan Rosenqvist danro at kth.se
Mon Apr 23 04:50:40 PDT 2012


Hi,

I'm having problems configuring multicast routing for a small test network. The
network consist of four virtual Ubuntu (10.04) machines in the following setup:

Host1 <--> Router1 <--> Router2 <--> Host2

Router1 and Router2 is running XORP with the configurations displayed at the end
of this message. Host1 has an interface eth1 configured with the ipaddr
10.10.12.1 and Host2 has an interface eth3 configured with the ipaddr
10.10.45.5. Their default routes are 10.10.12.2 and 10.10.45.4 respectively. No
other interfaces are configured on the hosts.

The problem occurs when I try to use ssmping to test the multicast routing.
If I set up ssmpingd on Host2 and use "ssmping -4 -I eth1 10.10.45.5" from Host1
I get the correct response, but if I set up the ssmpingd on Host1 and run
"ssmping -4 -I eth3 10.10.12.1" from Host2, interesting things start happening.

I get massive amounts of multicast packet duplicates. My guess is that this has
something to do with the RP configuration, but I'm not sure. In this case the RP
is selected as Router1s interface towards Router2. If the RP is set to the
ipaddr of Router2s interface towards Router1, I get the opposite response
compared to the description above.

Can anyone please tell me what I'm doing wrong?

Regards,
Dan

--- R1 configuration start ---

interfaces {
    interface "eth2" {
        vif "eth2" {
            address 10.10.12.2 {
                prefix-length: 24
            }
        }
    }
    interface "eth3" {
        vif "eth3" {
            address 10.10.23.2 {
                prefix-length: 24
            }
        }
    }
}

fea {
    unicast-forwarding4 {
        disable: false
    }
}

plumbing {
    mfea4 {
        disable: false
        interface "eth2" {
            vif "eth2" {
                disable: false
            }
        }
        interface "eth3" {
            vif "eth3" {
                disable: false
            }
        }
        interface register_vif {
            vif register_vif {
                disable: false
            }
        }
    }
}

protocols {
    ospf4 {
        router-id: 2.2.2.2
        area 0.0.0.0 {
            interface "eth2" {
                vif "eth2" {
                    address 10.10.12.2 {
                        interface-cost: 1
                    }
                }
            }
            interface "eth3" {
                vif "eth3" {
                    address 10.10.23.2 {
                        interface-cost: 1
                    }
                }
            }
        }
    }

    fib2mrib {
        disable: false
    }

    igmp {
        disable: false
        interface "eth2" {
            vif "eth2" {
                disable: false
            }
        }
        interface "eth3" {
            vif "eth3" {
                disable: false
            }
        }
    }

    pimsm4 {
        disable: false
        interface "eth2" {
            vif "eth2" {
                disable: false
            }
        }
        interface "eth3" {
            vif "eth3" {
                disable: false
            }
        }
        interface register_vif {
            vif register_vif {
                disable: false
            }
        }
        static-rps {
            rp 10.10.23.2 {
                group-prefix 224.0.0.0/4 {
                }
            }
        }
    }
}

--- R1 configuration end ---

--- R2 configuration start ---
interfaces {
    interface "eth2" {
        vif "eth2" {
            address 10.10.23.3 {
                prefix-length: 24
            }
        }
    }
    interface "eth3" {
        vif "eth3" {
            address 10.10.45.4 {
                prefix-length: 24
            }
        }
    }
}

fea {
    unicast-forwarding4 {
        disable: false
    }
}

plumbing {
    mfea4 {
        disable: false
        interface "eth2" {
            vif "eth2" {
                disable: false
            }
        }
        interface "eth3" {
            vif "eth3" {
                disable: false
            }
        }
        interface register_vif {
            vif register_vif {
                disable: false
            }
        }
    }
}

protocols {
    ospf4 {
        router-id: 4.4.4.4
        area 0.0.0.0 {
            interface "eth2" {
                vif "eth2" {
                    address 10.10.23.3 {
                        interface-cost: 1
                    }
                }
            }
            interface "eth3" {
                vif "eth3" {
                    address 10.10.45.4 {
                        interface-cost: 1
                    }
                }
            }
        }
    }

    fib2mrib {
        disable: false
    }

    igmp {
        disable: false
        interface "eth2" {
            vif "eth2" {
                disable: false
            }
        }
        interface "eth3" {
            vif "eth3" {
                disable: false
            }
        }
    }

    pimsm4 {
        disable: false
        interface "eth2" {
            vif "eth2" {
                disable: false
            }
        }
        interface "eth3" {
            vif "eth3" {
                disable: false
            }
        }
        interface register_vif {
            vif register_vif {
                disable: false
            }
        }
        static-rps {
            rp 10.10.23.2 {
                group-prefix 224.0.0.0/4 {
                }
            }
        }
    }
}

--- R2 configuration end ---
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20120423/ac60d0e1/attachment.html 


More information about the Xorp-users mailing list