[Xorp-users] Help : Test setup for Pim4 and IGMP between sunets (for VLC source and Receiver ) multicast test.

Štefan Gula steweg at ynet.sk
Fri Feb 26 04:20:29 PST 2010


If you use VLC a source of multicast stream, please increate default
value TTL of multicast packets, because VLC uses default value of TTL
1, which means that it cannot be forwarded by any multicast router to
other segments.

Also make sure that mrib table on both routers has all know networks
including end users networks so RPF will not fail. For example I don't
see any routing protocol to generate fib table a because of that also
not populating also mrib table. Use at least static routing so end to
end connectivity (unicast ICMP ping) between both end users networks
is established.

Hope this will help you

2010/2/26 saurabh <saurabh.pandya at elitecore.com>:
>
>
> Dear Xorp users,
>
>
>
> "I think many of other xorp users must passed this stage, at where I am
> struggling right now"
>
> I am struggling to make the test setup of pim and igmp (after going thru
> manuals and rfcs)
>
>
>
> Aim is to see multicast traffic in VLC player at PC1 which is coming from
> PC2 (multicast source for 224.0.0.4)
>
> ,Off course through PIM and IGMP. (I should see proper join & prune at both
> routers)
>
>
>
> I have two pc(win-xp),  (At diff subnets)
>
> two routers (both run Xorp live cd).
>
>
>
> With 2nd XP pc2, I am multicasting stream at 224.0.0.4 group..udp(port
> 1234)..
>
> And @ 1st xp pc1, I am trying to view the video stream.
>
>
>
> Both Pcs are behind different xorp (live cd) router as shown in figure
> below..
>
>
>
> PC1 –xp                                      PC2 -xp
>
> 193.193.193.111                       194.194.194.111
>
>      eth(0)                                          (eth0)
>
>             |                                             |
>
>             |                                             |
>
>     le1 193.193.193.1        le1 194.194.194.1    (pim-RP) (DR)
>
>     le0 195.195.195.20     le0 195.195.195.10
>
>   XORP-CD-Router1 ----  XORP-CD-Router2
>
>
>
>
>
> (bsd naming are le0..1 ..instead of eth0.1..)
>
>
>
> IGMP activity is happening: (J)
>
> What I observed is that PC1's vlc client is joining 224.0.0.4 group, when I
> start to
>
> Play button of vlc,  I can see it by "show igmp group" command at router1's
> cli,
>
>
>
> No PIM activity is happening: (L)
>
> I noted that router1 is not sending pim join (*,G) to router2 for group
> 224.0.0.4
>
> (Which should be as I have defined router1's le0 as RP for group
> 224.0.0.4/8)
>
>
>
> Only I can see pim neighbors while trying command ("show pim neighbors"), in
> both
>
> routers , in that case router1 is being shown as NOT DR, and router2 as DR
>
>
>
> And I have also noted that multicast traffic that is coming at le1 in
> router2,
>
> (from PC2-which is multicast source)  that is not forwarded to le0.
>
> (I think which should be, as it must go to RP interface which is le0 of
> router2) !
>
>
>
> Plese help me, what I missing something?
>
>
>
> I have configured fib2mrib.. And not configured any other unicast
> protocols.  (Is this correct)
>
> I have also not set default gateway (default routes in any routers)
>
>
>
>
>
> I think "Mohd" and other users have done this setup that I saw from
> sep-oct-2009 mailing list?
>
>
>
> Plese share your exp. for pim igmp setup..
>
>
>
>
>
> config are below,,,,
>
>
>
>
>
> Thanks,
>
> Saurabh
>
>
>
> config file for router2 i given here in last, in router1 config only change
>
> in interface address, remaining all are same
>
>
>
> ****************************************************
>
>
>
> root at xorpcd.local# show
>
>
>
>     protocols {
>
>         fib2mrib {
>
>         }
>
>         igmp {
>
>             interface le0 {
>
>                 vif le0 {
>
>                 }
>
>             }
>
>             interface le1 {
>
>                 vif le1 {
>
>                 }
>
>             }
>
>         }
>
>         pimsm4 {
>
>             interface le0 {
>
>                 vif le0 {
>
>                     dr-priority: 250
>
>                 }
>
>             }
>
>             interface le1 {
>
>                 vif le1 {
>
>                 }
>
>             }
>
>             interface "register_vif" {
>
>                 vif "register_vif" {
>
>                 }
>
>             }
>
>             static-rps {
>
>                 rp 195.195.195.10 {
>
>                     group-prefix 224.0.0.0/8 {
>
>                         rp-priority: 250
>
>                     }
>
>                 }
>
>             }
>
>             switch-to-spt-threshold {
>
>                 interval: 10
>
>                 bytes: 1000000
>
>             }
>
>         }
>
>     }
>
>     fea {
>
>         unicast-forwarding4 {
>
>         }
>
>     }
>
>     interfaces {
>
>         interface le0 {
>
>             description: "Ethernet"
>
>             vif le0 {
>
>                 address 195.195.195.10 {
>
>                     prefix-length: 24
>
>                 }
>
>             }
>
>         }
>
>         interface le1 {
>
>             description: "Ethernet"
>
>             vif le1 {
>
>                 address 194.194.194.1 {
>
>                     prefix-length: 24
>
>                 }
>
>             }
>
>         }
>
>         interface lo0 {
>
>             description: "Loopback interface"
>
>             vif lo0 {
>
>             }
>
>         }
>
>     }
>
>     plumbing {
>
>         mfea4 {
>
>             interface le0 {
>
>                 vif le0 {
>
>                 }
>
>             }
>
>             interface le1 {
>
>                 vif le1 {
>
>                 }
>
>             }
>
>             interface "register_vif" {
>
>                 vif "register_vif" {
>
>                 }
>
>             }
>
>         }
>
>     }
>
>
>
> _______________________________________________
> Xorp-users mailing list
> Xorp-users at xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
>
>



-- 
Stefan Gula
CCNP, CCIP



More information about the Xorp-users mailing list