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

Garry Peirce peirce at maine.edu
Mon Mar 8 06:59:31 PST 2010


Saurabh ,

I did not actually read you note in great detail yet, as it caught my eye
that you were attempting to stream form VLC using 224.0.0.5 ? Addresses in
the 224.0.0.0/24 range are designated to the local subnet and this
particular address is actually allocated to OSPF.  Upon receiving traffic on
this address, R1 would not forward it.

 

I'd first change you're VLC client/server to use an address in an
appropriate block, for example, something within 239/8.

 

 

 

From: xorp-users-bounces at xorp.org [mailto:xorp-users-bounces at xorp.org] On
Behalf Of saurabh
Sent: Friday, March 05, 2010 10:59 AM
To: 'saurabh'; xorp-users at xorp.org
Subject: Re: [Xorp-users] Help : Test setup for Pim4 and IGMP between sunets
(for VLC source and Receiver ) multicast test.

 

 

Thanks everyone for responding . but it still not working :(

 

 

I think there still some issue, requires expert troubleshooting....

 

1) I am writing my detailed setup

2) I have specified my Diagnosis message derived from xorpsh (shell)

3) my .config files

 

Pls. let your suggestion what I m still missing...!!

-----------------------------------------------------------------

Issue:

My setup is below; all four entities are running on SUN virtual boxes, 

I now taken care that all subnets,rps, Mcast sender, Mcast receivers to be
reachable by each other router.. 

I can see that are rechable by pings to each other but

I am not seeing the multicast traffic being routed, and proper join messages
after getting IGMP group join.

 

-----------------------------------------------------------

Setup:

 

On first (physical) PC , i am running XP2 and XorpRouter2, while host OS is
winXP

On 2nd (Physical) PC, i am running XP1 and XorpRouter1, while host OS is
winXP

            [I think running as vmwares , should not be the issue? or it? ]


 

XP2-------XorpRouter2--------XorpRouterR1--------XP1

 

XP2 ) 193.193.193.15   (Winxp , VLC server, sends stream at group 224.0.0.5)

                                   (This is running on SUN virtual box)

 

R2)   le1            193.193.193.10       (Host Only Interface)

        le0            195.195.195.20      (Bridged Interface)

            [XORP Live CD (XORP-1.6-LiveCD.iso) ,  This is run over SUN
virtual box]

            This Router I configured as static-rp

 

 

R1)   le1            194.194.194.10       (Host Only Interface)

        le0            195.195.195.10      (Bridged Interface)

            [XORP Live CD (XORP-1.6-LiveCD.iso) ,  This is run over SUN
virtual box]

 

XP1 ) 194.194.194.15   (Winxp , VLC Client, try to view stream from
224.0.0.5)

                                   (This is running on SUN virtual box)

 

 

1) What I am seeing is when I start to source multicast data from XP2, I can
see that 

    UDP data packets are coming at le1 of R2 , but they are no more
forwarded to routers

    external interface (le0), so off course multicast traffic is not going
beyond the RP..

 

2) When I start play vlc client in XP1, I can see group 224.0.0.5 in its
igmp entry by "show igmp group",

    but I don't find subsequent pim join to RP (which is next mrib for
router1) 

  

3)  I can made static routes in both routers to reach each other subnets,
also made the same entries

     for mrib routes. 

 

 

xorp diagnosis messages:

 

 

----------------------------------------------------------------------------
----

when I fire "show pim neighbor" in router1 and router2 

 

Router1

root at xorpcd.local> show pim interface  (Neighbors are being discovered )

 

Interface    State    Mode   V PIMstate Priority DRaddr          Neighbors

le0          UP       Sparse 2 DR            200 195.195.195.10          1

le1          UP       Sparse 2 DR              1 194.194.194.10          0

register_vif UP       Sparse 2 DR              1 195.195.195.10          0

root at xorpcd.local> 

 

Router2

root at xorpcd.local> show pim interface 

Interface    State    Mode   V PIMstate Priority DRaddr          Neighbors

le0          UP       Sparse 2 NotDR           1 195.195.195.10          1

le1          UP       Sparse 2 DR              1 193.193.193.10          0

register_vif UP       Sparse 2 DR              1 195.195.195.20          0

----------------------------------------------------------------------------
--

when i fire "show pim mrib"  in router 1 and two

 

Router1

root at xorpcd.local> show pim mrib 

DestPrefix         NextHopRouter   VifName VifIndex MetricPref Metric

193.193.193.0/24   195.195.195.20  le0     0                 1      1

194.194.194.0/24   194.194.194.10  le1     1                 0      0

195.195.195.0/24   195.195.195.10  le0     0                 0      0

 

Router2

root at xorpcd.local> show pim mrib 

DestPrefix         NextHopRouter   VifName VifIndex MetricPref Metric

193.193.193.0/24   193.193.193.10  le1     1                 0      0

194.194.194.0/24   195.195.195.10  le0     0                 1      1

195.195.195.0/24   195.195.195.20  le0     0                 0      0

----------------------------------------------------------------------------
-------

when i fire "show igmp group" in router1 

 

root at xorpcd.local> show igmp group 

Interface    Group           Source          LastReported Timeout V State

le1          224.0.0.2       0.0.0.0         194.194.194.10     142 2     E

le1          224.0.0.5       0.0.0.0         194.194.194.85     144 2     E
{This is the group we have joined using VLC client }

le1          224.0.0.13      0.0.0.0         194.194.194.10     141 2     E

le1          224.0.0.22      0.0.0.0         194.194.194.10     140 2     E

le1          227.0.0.70      0.0.0.0         194.194.194.85     146 2     E

le1          239.255.255.250 0.0.0.0         194.194.194.85     142 2     E 

----------------------------------------------------------------------------
-------------

when I fire "show pim join" in router1  (is not showing join for group
224.0.0.5 which is present in show igmp group)

                                                       (Why this is?)

root at xorpcd.local> show pim join all 

Group           Source               RP                    Flags

224.0.0.0       193.193.193.10  193.193.193.10  RP
(I dont know why this is shoing not joined ,, issue it here?)

    Upstream interface (RP):   le0

    Upstream MRIB next hop (RP): 195.195.195.20

    Upstream state:            NotJoined 

    Join timer:                -1

    Joins RP:                  ...

    Join state:                ...

    Prune state:               ...

    Prune pending state:       ...

    Could assert WC:           ...

    I am DR:                   OOO

    Immediate olist RP:        ...

    Inherited olist SG:        ...

    Inherited olist SG_RPT:    ...

 

I am ommiting to show other joins from diff other groups

 

when i fire "show pim join" in router2 

 

root at xorpcd.local> show pim join all 

Group           Source          RP              Flags

224.0.0.0       193.193.193.10  193.193.193.10  RP   

    Upstream interface (RP):   register_vif

    Upstream MRIB next hop (RP): UNKNOWN

    Upstream state:            NotJoined 

    Join timer:                -1

    Joins RP:                  ...

    Join state:                ...

    Prune state:               ...

    Prune pending state:       ...

    Could assert WC:           ...

    I am DR:                   .OO

    Immediate olist RP:        ...

    Inherited olist SG:        ...

    Inherited olist SG_RPT:    ...

 

I am ommiting to show other joins from diff other groups

 

----------------------------------------------------------------------------
-----------------

 

On firing of show pim mfc on both routers    (Not coming anything in mfc)

 

Router1

root at xorpcd.local> show pim mfc 

Group           Source          RP             

239.255.255.250 193.193.193.5   193.193.193.10 

    Incoming interface :      le0

    Outgoing interfaces:      .O.

 

Router2

root at xorpcd.local> show pim mfc 

Group           Source          RP             

239.255.255.250 193.193.193.5   193.193.193.10 

    Incoming interface :      le1

    Outgoing interfaces:      O..

 

On Firing of show pim rps command on both routers

 

----------------------------------------------------------------------------
---------------------

 

 

Router1

root at xorpcd.local> show pim rps 

RP              Type      Pri Holdtime Timeout ActiveGroups GroupPrefix


193.193.193.10  static    254       -1      -1            2 224.0.0.0/4 

 

Router2

root at xorpcd.local> show pim rps 

RP              Type      Pri Holdtime Timeout ActiveGroups GroupPrefix


193.193.193.10  static    254       -1      -1            2 224.0.0.0/4 

 

----------------------------------------------------------------------------
----------------------

 

On Firing of show pim scope on both router

 

Router1

root at xorpcd.local> show pim scope 

GroupPrefix                                 Interface     

root at xorpcd.local> 

 

Router2

root at xorpcd.local> show pim scope 

GroupPrefix                                 Interface     

root at xorpcd.local> 

____________________________________________________________________________
_______

 

My Config: 

 

My configuration file, modified for the static routes and its static routes
also export.

 

Below file is for Router1 , 

same file is for Router2 except that IP address change in interface
sections, and static routes address changes respectively..

 

 

/*XORP Configuration File, v1.0*/

protocols {

    fib2mrib {

        disable: false

    }

    igmp {

        disable: false

        interface le1 {

            vif le1 {

                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

                }

            }

        }

    }

    pimsm4 {

        disable: false

        interface le0 {

            vif le0 {

                disable: false

                dr-priority: 200

                hello-period: 30

                hello-triggered-delay: 5

            }

        }

        interface le1 {

            vif le1 {

                disable: false

                dr-priority: 1

                hello-period: 30

                hello-triggered-delay: 5

            }

        }

        interface "register_vif" {

            vif "register_vif" {

                disable: false

                dr-priority: 1

                hello-period: 30

                hello-triggered-delay: 5

            }

        }

        static-rps {

            rp 193.193.193.10 {

                group-prefix 224.0.0.0/4 {

                    rp-priority: 254

                    hash-mask-len: 30

                }

            }

        }

        switch-to-spt-threshold {

            disable: false

            interval: 10

            bytes: 1000000

        }

        traceoptions {

            flag {

                all {

                    disable: false

                }

            }

        }

    }

    static {

        disable: false

        route 193.193.193.0/24 {

            next-hop: 195.195.195.20

            metric: 1

        }

        mrib-route 193.193.193.0/24 {

            next-hop: 195.195.195.20

            metric: 1

        }

    }

}

policy {

    policy-statement static {

        term 100 {

            from {

                protocol: "static"

            }

        }

    }

}

fea {

    unicast-forwarding4 {

        disable: false

    }

}

interfaces {

    restore-original-config-on-shutdown: false

    interface le0 {

        description: "Ethernet"

        disable: false

        discard: false

        unreachable: false

        management: false

        vif le0 {

            disable: false

            address 195.195.195.10 {

                prefix-length: 24

                broadcast: 195.195.195.255

                multicast-capable: true

                disable: false

            }

        }

    }

    interface le1 {

        description: "Ethernet"

        disable: false

        discard: false

        unreachable: false

        management: false

        vif le1 {

            disable: false

            address 193.193.193.10 {

                prefix-length: 24

                broadcast: 194.194.194.255

                multicast-capable: true

                disable: false

            }

        }

    }

}

plumbing {

    mfea4 {

        disable: false

        interface le0 {

            vif le0 {

                disable: false

            }

        }

        interface le1 {

            vif le1 {

                disable: false

            }

        }

        interface "register_vif" {

            vif "register_vif" {

                disable: false

            }

        }

        traceoptions {

            flag {

                all {

                    disable: false

                }

            }

        }

    }

}

 

____________________________________________________________________________
_______

 

more: When I have started tcpdump on both interface of Router1, I can see
multicast packets are comming

at le1 (from XP2) , but packets are not being forwarded to le0.  

____________________________________________________________________________
_______

 

I need help guys... 

 

Thanks,

Saurabh

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20100308/e7dd7295/attachment-0001.html 


More information about the Xorp-users mailing list