[Xorp-users] Questions on multicast routing.
Ben Greear
greearb at candelatech.com
Tue Jun 24 10:15:37 PDT 2008
Pavlin Radoslavov wrote:
> Ben Greear <greearb at candelatech.com> wrote:
>
>> As you might recall, I am working on adding linux kernel and xorp support for
>> multiple multicast routing tables.
>>
>> I currently have a patch to the kernel that lets me send mcast through one
>> virtual
>> router to another host on another leg of the router.
>>
>> However, I am not able to get one router to forward to another, and I'm not
>> too sure
>> how to go about debugging this because I'm unsure of how it's all supposed to
>> work
>> together...
>>
>> I am attaching a diagram of my (virtual) network. I have an mcast generator
>> on rddR2 and
>> consumers on rddVR6 and rddVR7. The multicast address is 224.1.2.3.
> ~~~~~~~
>
> I presume you mean rddVR5.
Yes.
> The IGMP information seems fine.
> After that use "show pim rps" to check that all PIM-SM routers have
> same Cand-RP set.
This is on a different machine, but logically it is the same setup,
though the interface names are a bit different. I think that it's not
doing the BSR stuff correctly. That cli output is at the bottom
of the email. I tried sniffing the link between the two routers, but
I don't see anything that is obviously BSR stuff. Any idea what those
packets look like in wireshark?
Router-0:
root at lanforge-D0-20> show pim rps
RP Type Pri Holdtime Timeout ActiveGroups GroupPrefix
root at lanforge-D0-20>
Router-1:
root at lanforge-D0-20> show pim rps
RP Type Pri Holdtime Timeout ActiveGroups GroupPrefix
root at lanforge-D0-20>
Router-0:
root at lanforge-D0-20> show pim join
created new heap in find_heap, ptr: 0x8103d00
created new heap in find_heap, ptr: 0x81055c8
Group Source RP Flags
224.2.3.4 0.0.0.0 RP_ADDR_UNKNOWN WC
Upstream interface (RP): UNKNOWN
Upstream MRIB next hop (RP): UNKNOWN
Upstream RPF'(*,G): UNKNOWN
Upstream state: Joined
Join timer: 42
Local receiver include WC: ..O..
Joins RP: .....
Joins WC: .....
Join state: .....
Prune state: .....
Prune pending state: .....
I am assert winner state: .....
I am assert loser state: .....
Assert winner WC: .....
Assert lost WC: .....
Assert tracking WC: ..O..
Could assert WC: ..O..
I am DR: .OO.O
Immediate olist RP: .....
Immediate olist WC: ..O..
Inherited olist SG: ..O..
Inherited olist SG_RPT: ..O..
PIM include WC: ..O..
224.2.3.4 2.3.4.137 RP_ADDR_UNKNOWN SG SPT DirectlyConnectedS
Upstream interface (S): rddVR1
Upstream interface (RP): UNKNOWN
Upstream MRIB next hop (RP): UNKNOWN
Upstream MRIB next hop (S): UNKNOWN
Upstream RPF'(S,G): UNKNOWN
Upstream state: Joined
Register state: RegisterJoin RegisterCouldRegister
Join timer: 42
KAT(S,G) running: true
Local receiver include WC: ..O..
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: .OO.O
Could assert WC: ..O..
Could assert SG: ..O.O
I am DR: .OO.O
Immediate olist RP: .....
Immediate olist WC: ..O..
Immediate olist SG: ....O
Inherited olist SG: ..O.O
Inherited olist SG_RPT: ..O..
PIM include WC: ..O..
PIM include SG: .....
PIM exclude SG: .....
root at lanforge-D0-20>
Router-1:
root at lanforge-D0-20> show pim join
created new heap in find_heap, ptr: 0x8103d00
created new heap in find_heap, ptr: 0x81055c8
Group Source RP Flags
224.2.3.4 0.0.0.0 RP_ADDR_UNKNOWN WC
Upstream interface (RP): UNKNOWN
Upstream MRIB next hop (RP): UNKNOWN
Upstream RPF'(*,G): UNKNOWN
Upstream state: Joined
Join timer: 7
Local receiver include WC: ..O.
Joins RP: ....
Joins WC: ....
Join state: ....
Prune state: ....
Prune pending state: ....
I am assert winner state: ....
I am assert loser state: ....
Assert winner WC: ....
Assert lost WC: ....
Assert tracking WC: ..O.
Could assert WC: ..O.
I am DR: .OOO
Immediate olist RP: ....
Immediate olist WC: ..O.
Inherited olist SG: ..O.
Inherited olist SG_RPT: ..O.
PIM include WC: ..O.
root at lanforge-D0-20>
Router-0:
root at lanforge-D0-20> show pim mfc
Group Source RP
224.2.3.4 2.3.4.137 0.0.0.0
Incoming interface : rddVR1
Outgoing interfaces: ..O.O
Router-1:
root at lanforge-D0-20> show pim mfc
Group Source RP
Router-1:
root at lanforge-D0-20> show pim bootstrap
created new heap in find_heap, ptr: 0x8103d10
created new heap in find_heap, ptr: 0x81055d8
Active zones:
BSR Pri LocalAddress Pri State Timeout SZTimeout
Expiring zones:
BSR Pri LocalAddress Pri State Timeout SZTimeout
Configured zones:
BSR Pri LocalAddress Pri State Timeout SZTimeout
0.0.0.0 0 0.0.0.0 0 Init -1 -1
root at lanforge-D0-20>
Router-0:
root at lanforge-D0-20> show pim bootstrap
created new heap in find_heap, ptr: 0x8103d10
created new heap in find_heap, ptr: 0x81055d8
Active zones:
BSR Pri LocalAddress Pri State Timeout SZTimeout
Expiring zones:
BSR Pri LocalAddress Pri State Timeout SZTimeout
Configured zones:
BSR Pri LocalAddress Pri State Timeout SZTimeout
0.0.0.0 0 0.0.0.0 0 Init -1 -1
--
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the Xorp-users
mailing list