[Xorp-users] Multicast problem

Ben Greear greearb at candelatech.com
Tue Aug 19 15:45:51 PDT 2008


First:  This is with a patched xorp and a patched linux kernel
to support multiple routing tables, so it could very well be my
bug.


I have a 3-router scenario, with each router running xorp OSPF and multicast
routing.

A screen-shot of our virtual-router config tool is attached.

Router-1 ends up as the bootstrap, but I'm not sure if that
is relevant.

If I have a multicast transmitter connected to br1 (an interface in router-1),
then mcast receivers on router 2 and 3 receive fine.

However, if I put the transmitter on router 2, nothing else receives it.

I'm not sure what other information to provide to make this easier to debug,
so please ask if there is something that would help.

I believe the problem has something to do with the receiver thinking
it's upstream interface is register_vif (see router-1 output below
the router-2 output).  Any idea why it would think that?


On router-2 (connected to mcast sender):

root at lanforge-nec-demo> show pim join
Group           Source          RP              Flags
224.10.20.2     10.2.2.200      10.1.1.1        SG SPT DirectlyConnectedS
     Upstream interface (S):    br2
     Upstream interface (RP):   1.2.2
     Upstream MRIB next hop (RP): 10.1.2.1
     Upstream MRIB next hop (S):  UNKNOWN
     Upstream RPF'(S,G):        UNKNOWN
     Upstream state:            Joined
     Register state:            RegisterJoin RegisterCouldRegister
     Join timer:                33
     KAT(S,G) running:          true
     Local receiver include WC: .....
     Local receiver include SG: .....
     Local receiver exclude SG: .....
     Joins RP:                  .....
     Joins WC:                  .....
     Joins SG:                  ....O
     Join state:                ....O
     Prune state:               .....
     Prune pending state:       .....
     I am assert winner state:  .....
     I am assert loser state:   .....
     Assert winner WC:          .....
     Assert winner SG:          .....
     Assert lost WC:            .....
     Assert lost SG:            .....
     Assert lost SG_RPT:        .....
     Assert tracking SG:        ..O.O
     Could assert WC:           .....
     Could assert SG:           ....O
     I am DR:                   O.O.O
     Immediate olist RP:        .....
     Immediate olist WC:        .....
     Immediate olist SG:        ....O
     Inherited olist SG:        ....O
     Inherited olist SG_RPT:    .....
     PIM include WC:            .....
     PIM include SG:            .....
     PIM exclude SG:            .....
root at lanforge-nec-demo>

root at lanforge-nec-demo> show pim bootstrap
Active zones:
BSR             Pri LocalAddress    Pri State           Timeout SZTimeout
10.1.1.1        199 10.2.2.2        198 Candidate           112        -1
Expiring zones:
BSR             Pri LocalAddress    Pri State           Timeout SZTimeout
Configured zones:
BSR             Pri LocalAddress    Pri State           Timeout SZTimeout
10.2.2.2        198 10.2.2.2        198 Init                 -1        -1

root at lanforge-nec-demo> show pim interface
Interface    State    Mode   V PIMstate Priority DRaddr          Neighbors
1.2.2        UP       Sparse 2 DR            125 10.1.2.2                1
2.3.2        UP       Sparse 2 NotDR         125 10.2.3.3                1
br2          UP       Sparse 2 DR            125 10.2.2.2                0
my_discard   DISABLED Sparse 2 NotDR           1 0.0.0.0                 0
register_vif UP       Sparse 2 DR              1 10.2.2.2                0

root at lanforge-nec-demo> show pim mfc
Group           Source          RP
224.10.20.2     10.2.2.200      10.1.1.1
     Incoming interface :      br2
     Outgoing interfaces:      ....O

root at lanforge-nec-demo> show pim mrib
DestPrefix         NextHopRouter   VifName VifIndex MetricPref Metric
10.1.1.0/24        10.1.2.1        1.2.2   0               254      2
10.1.2.0/24        10.1.2.2        1.2.2   0                 0      0
10.1.3.0/24        10.1.2.1        1.2.2   0               254      2
10.2.2.0/24        10.2.2.2        br2     2                 0      0
10.2.3.0/24        10.2.3.2        2.3.2   1                 0      0
10.3.3.0/24        10.2.3.3        2.3.2   1               254      2

root at lanforge-nec-demo> show pim neighbors
Interface    DRpriority NeighborAddr    V Mode   Holdtime Timeout
1.2.2               125 10.1.2.1        2 Sparse      105      88
2.3.2               125 10.2.3.3        2 Sparse      105      97

root at lanforge-nec-demo> show pim rps
RP              Type      Pri Holdtime Timeout ActiveGroups GroupPrefix
10.1.1.1        bootstrap 101      150     105            0 224.0.0.0/4



On router 1 (receiver)
root at lanforge-nec-demo> show pim join
Group           Source          RP              Flags
224.10.20.2     0.0.0.0         10.1.1.1        WC
     Upstream interface (RP):   register_vif
     Upstream MRIB next hop (RP): UNKNOWN
     Upstream RPF'(*,G):        UNKNOWN
     Upstream state:            Joined
     Join timer:                57
     Local receiver include WC: ..O..
     Joins RP:                  .....
     Joins WC:                  .O...
     Join state:                .O...
     Prune state:               .....
     Prune pending state:       .....
     I am assert winner state:  .....
     I am assert loser state:   .....
     Assert winner WC:          .....
     Assert lost WC:            .....
     Assert tracking WC:        .OO.O
     Could assert WC:           .OO..
     I am DR:                   ..O.O
     Immediate olist RP:        .....
     Immediate olist WC:        .OO..
     Inherited olist SG:        .OO..
     Inherited olist SG_RPT:    .OO..
     PIM include WC:            ..O..

root at lanforge-nec-demo> show pim rps
RP              Type      Pri Holdtime Timeout ActiveGroups GroupPrefix
10.1.1.1        bootstrap 101      150      -1            1 224.0.0.0/4

root at lanforge-nec-demo> show pim mfc
Group           Source          RP

root at lanforge-nec-demo> show pim mrib
DestPrefix         NextHopRouter   VifName VifIndex MetricPref Metric
10.1.1.0/24        10.1.1.1        br1     2                 0      0
10.1.2.0/24        10.1.2.1        1.2.1   0                 0      0
10.1.3.0/24        10.1.3.1        1.3.1   1                 0      0
10.2.2.0/24        10.1.2.2        1.2.1   0               254      2
10.2.3.0/24        10.1.3.3        1.3.1   1               254      2
10.3.3.0/24        10.1.3.3        1.3.1   1               254      2

root at lanforge-nec-demo> show pim neighbors
Interface    DRpriority NeighborAddr    V Mode   Holdtime Timeout
1.2.1               125 10.1.2.2        2 Sparse      105      87
1.3.1               125 10.1.3.3        2 Sparse      105      87
root at lanforge-nec-demo>


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mcast_3node.png
Type: image/png
Size: 32982 bytes
Desc: not available
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20080819/cda671b7/attachment-0001.bin 


More information about the Xorp-users mailing list