[Xorp-users] inter as multicast

Tiago Costa a20081@alunos.det.ua.pt
Mon, 27 Jun 2005 18:00:55 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0018_01C57B42.2A2FF090
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

            AS1                    |    |                 AS2
Host1 ---- cisco1 ------ xorp1 ----|----|---- xorp2 -----cisco2 ---- host2

The message is (S,G) I am sure of it. I have seen the unicast and multicast
tables like you said so, and I ca see the network 192.10.20.0 in unicast
tables but this network never appears in multicast tables.
I see the join status in both xorp routers and I confirm that there is  one
entry for my multicast group 224.30.30.30 in (S,G) mode. (Like you can see
in file xorp1(show pim join).txt)

The only change I made in configuration is the group-prefix in the rp, now
is 224.0.0.0/8.

My question is why don't xorp add a rote in the multicast table?

In attachment I send the results of the commands you suggest plus pim join
table.
 
Thanks for your help.
Tiago Costa
-----Mensagem original-----
De: xorp-users-admin@xorp.org [mailto:xorp-users-admin@xorp.org] Em nome de
Pavlin Radoslavov
Enviada: sexta-feira, 24 de Junho de 2005 19:57
Para: Tiago Costa
Cc: xorp-users@xorp.org; 'Pavlin Radoslavov'
Assunto: Re: [Xorp-users] inter as multicast 

> I am trying to configure one network with 2 Autonomous Systems like it
shows
> 
> 
>  
> 
>                             AS1                              |        |
> AS2
> 
> Host1 --------- cisco1 --------- xorp1 ---|------|---- xorp2 -----------
> cisco2 ---------- host2 
> 
>                                                                   |
|
> 
>  
> 
> In cisco1 I have configured RIP, MSDP and PIM SM
> 
> In cisco2 I have configured RIP, MSDP and PIM SM
> 
> In xorp1 I have configured RIP, MBGP and PIM SM
> 
> In xorp2 I have configured RIP, MBGP and PIM SM
> 
>  
> 
> The configuration files are in attachment.
> 
>  
> 
> When I start a multicast session with host1 I see MSDP SA packets between
> cisco1 and cisco2. The multicast session is to 224.30.30.30.
> 
> When host2 joins to the session I see cisco2 sending a join (S, G) message

Do you really mean (S,G) Join message or is it (*,G) Join?
The (S,G) Join message should have the host1 address as S, while
(*,G) join message would have the RP address instead (either
192.10.10.10 or 192.20.10.10) and the RPT and W flag set. Please
double-check by running tcpdump between xorp1 and xorp2.

If the message is (*,G) Join, then xorp1 will silently drop
it because of the RP address mismatch (the RP inside the (*,G) Join
message doesn't match the RP address for that group according to
xorp1). E.g., see Section 4.5.2 of the lastest PIM-SM I-D spec
(draft-ietf-pim-sm-v2-new-11.txt):

====
When a router receives a Join(*,G) or Prune(*,G) it must first check to
see whether the RP in the message matches RP(G) (the router's idea of
who the RP is).  If the RP in the message does not match RP(G) the
Join(*,G) or Prune(*,G) should be silently dropped.
====


If the message is (S,G) Join as you say, then indeed xorp1 must
contain a matching entry for host1 in the MRIB, otherwise the (S,G)
Join won't be propagated.
If there was no matching MRIB entry, typically XORP should print a
warning log message "no upstream PIM neighbors" or something like
this.

In your case the route to host1 should come from RIP, so you can
use the following commands to locate the missing 192.10.20.0/24
route on xorp1:

show route table ipv4 unicast rip
show route table ipv4 unicast final
show route table ipv4 multicast fib2mrib
show route table ipv4 multicast final
show pim mrib

Pavlin


> to xorp2, a see the same between xorp2 and xorp1 but I don't see any join
> message between xorp1 and cisco1, resulting to fail the association of
host2
> to the multicast session.
> 
> I have seen the multicast table of xorp1 and I don't   find any entry to
the
> net where host1 is present. I think this is why xorp1 don't send the join
> message to cisco1.
> 
>  
> 
> My question is am I doing something wrong in my configuration???
_______________________________________________
Xorp-users mailing list
Xorp-users@xorp.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users

------=_NextPart_000_0018_01C57B42.2A2FF090
Content-Type: text/plain;
	name="xorp1 (ipv4 multicast fib2mrib).txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="xorp1 (ipv4 multicast fib2mrib).txt"

Network 192.10.10.0/24
    Nexthop := 0.0.0.0
    Metric := 65535    Protocol := fib2mrib    Interface := xl0    Vif := xl0
Network 192.100.0.0/24
    Nexthop := 0.0.0.0
    Metric := 65535    Protocol := fib2mrib    Interface := rl0    Vif := rl0

------=_NextPart_000_0018_01C57B42.2A2FF090
Content-Type: text/plain;
	name="xorp1 (ipv4 multicast final).txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="xorp1 (ipv4 multicast final).txt"

Network 192.20.0.0/16
    Nexthop :=3D 192.100.0.2
    Metric :=3D     0    Protocol :=3D ebgp    Interface :=3D rl0    Vif =
:=3D rl0
Network 192.10.10.0/24
    Nexthop :=3D 192.10.10.1
    Metric :=3D     0    Protocol :=3D connected    Interface :=3D xl0   =
 Vif :=3D xl0
Network 192.100.0.0/24
    Nexthop :=3D 192.100.0.1
    Metric :=3D     0    Protocol :=3D connected    Interface :=3D rl0   =
 Vif :=3D rl0

------=_NextPart_000_0018_01C57B42.2A2FF090
Content-Type: text/plain;
	name="xorp1 (ipv4 unicast final).txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="xorp1 (ipv4 unicast final).txt"

Network 192.20.0.0/16
    Nexthop :=3D 192.100.0.2
    Metric :=3D     0    Protocol :=3D ebgp    Interface :=3D rl0    Vif =
:=3D rl0
Network 192.10.10.0/24
    Nexthop :=3D 192.10.10.1
    Metric :=3D     0    Protocol :=3D connected    Interface :=3D xl0   =
 Vif :=3D xl0
Network 192.10.20.0/24
    Nexthop :=3D 192.10.10.10
    Metric :=3D     2    Protocol :=3D rip    Interface :=3D xl0    Vif =
:=3D xl0
Network 192.100.0.0/24
    Nexthop :=3D 192.100.0.1
    Metric :=3D     0    Protocol :=3D connected    Interface :=3D rl0   =
 Vif :=3D rl0

------=_NextPart_000_0018_01C57B42.2A2FF090
Content-Type: text/plain;
	name="xorp1 (ipv4 unicast rip).txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="xorp1 (ipv4 unicast rip).txt"

Network 192.10.10.0/24
    Nexthop := 192.10.10.1
    Metric :=     0    Protocol := rip    Interface := xl0    Vif := xl0
Network 192.10.20.0/24
    Nexthop := 192.10.10.10
    Metric :=     2    Protocol := rip    Interface := xl0    Vif := xl0
Network 192.100.0.0/24
    Nexthop := 192.100.0.1
    Metric :=     0    Protocol := rip    Interface := rl0    Vif := rl0

------=_NextPart_000_0018_01C57B42.2A2FF090
Content-Type: text/plain;
	name="xorp1 (show pim mrib).txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="xorp1 (show pim mrib).txt"

DestPrefix         NextHopRouter   VifName VifIndex MetricPref Metric
192.10.10.0/24     192.10.10.1     xl0     1                 0      0
192.20.0.0/16      192.100.0.2     rl0     0                20      0
192.100.0.0/24     192.100.0.1     rl0     0                 0      0

------=_NextPart_000_0018_01C57B42.2A2FF090
Content-Type: text/plain;
	name="xorp1(show pim join).txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="xorp1(show pim join).txt"

Group           Source          RP              Flags
224.0.1.40      0.0.0.0         192.10.10.10    WC
    Upstream interface (RP):   xl0
    Upstream MRIB next hop (RP): 192.10.10.10
    Upstream RPF'(*,G):        192.10.10.10
    Upstream state:            NotJoined
    Join timer:                -1
    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:        ...
    Could assert WC:           ...
    I am DR:                   ..O
    Immediate olist RP:        ...
    Immediate olist WC:        ...
    Inherited olist SG:        ...
    Inherited olist SG_RPT:    ...
    PIM include WC:            ...
224.30.30.30    192.10.20.30    192.10.10.10    SG
    Upstream interface (S):    UNKNOWN
    Upstream interface (RP):   xl0
    Upstream MRIB next hop (RP): 192.10.10.10
    Upstream MRIB next hop (S):  UNKNOWN
    Upstream RPF'(S,G):        UNKNOWN
    Upstream state:            Joined
    Join timer:                29
    KAT(S,G) running:          false
    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..
    Could assert WC:           ...
    Could assert SG:           ...
    I am DR:                   ..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:            ...
 --More-- (END)
------=_NextPart_000_0018_01C57B42.2A2FF090
Content-Type: text/plain;
	name="xorp2 (ipv4 multicast fib2mrib).txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="xorp2 (ipv4 multicast fib2mrib).txt"

Network 192.10.0.0/16
    Nexthop := 192.100.0.1
    Metric := 65535    Protocol := fib2mrib    Interface := xl1    Vif := xl1
Network 192.20.10.0/24
    Nexthop := 0.0.0.0
    Metric := 65535    Protocol := fib2mrib    Interface := xl0    Vif := xl0
Network 192.100.0.0/24
    Nexthop := 0.0.0.0
    Metric := 65535    Protocol := fib2mrib    Interface := xl1    Vif := xl1

------=_NextPart_000_0018_01C57B42.2A2FF090
Content-Type: text/plain;
	name="xorp2 (ipv4 multicast final).txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="xorp2 (ipv4 multicast final).txt"

Xorp> show route table ipv4 multicast final
Network 192.10.0.0/16
    Nexthop :=3D 192.100.0.1
    Metric :=3D     0    Protocol :=3D ebgp    Interface :=3D xl1    Vif =
:=3D xl1
Network 192.20.10.0/24
    Nexthop :=3D 192.20.10.1
    Metric :=3D     0    Protocol :=3D connected    Interface :=3D xl0   =
 Vif :=3D xl0
Network 192.100.0.0/24
    Nexthop :=3D 192.100.0.2
    Metric :=3D     0    Protocol :=3D connected    Interface :=3D xl1   =
 Vif :=3D xl1

------=_NextPart_000_0018_01C57B42.2A2FF090
Content-Type: text/plain;
	name="xorp2 (ipv4 unicast final).txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="xorp2 (ipv4 unicast final).txt"

Network 192.10.0.0/16
    Nexthop :=3D 192.100.0.1
    Metric :=3D     0    Protocol :=3D ebgp    Interface :=3D xl1    Vif =
:=3D xl1
Network 192.20.10.0/24
    Nexthop :=3D 192.20.10.1
    Metric :=3D     0    Protocol :=3D connected    Interface :=3D xl0   =
 Vif :=3D xl0
Network 192.20.20.0/24
    Nexthop :=3D 192.20.10.10
    Metric :=3D     2    Protocol :=3D rip    Interface :=3D xl0    Vif =
:=3D xl0
Network 192.100.0.0/24
    Nexthop :=3D 192.100.0.2
    Metric :=3D     0    Protocol :=3D connected    Interface :=3D xl1   =
 Vif :=3D xl1

------=_NextPart_000_0018_01C57B42.2A2FF090
Content-Type: text/plain;
	name="xorp2 (ipv4 unicast rip).txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="xorp2 (ipv4 unicast rip).txt"

Network 192.20.10.0/24
    Nexthop := 192.20.10.1
    Metric :=     0    Protocol := rip    Interface := xl0    Vif := xl0
Network 192.20.20.0/24
    Nexthop := 192.20.10.10
    Metric :=     2    Protocol := rip    Interface := xl0    Vif := xl0
Network 192.100.0.0/24
    Nexthop := 192.100.0.2
    Metric :=     0    Protocol := rip    Interface := xl1    Vif := xl1

------=_NextPart_000_0018_01C57B42.2A2FF090
Content-Type: text/plain;
	name="xorp2 (show pim join).txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="xorp2 (show pim join).txt"

Group           Source          RP              Flags
224.0.1.40      0.0.0.0         192.20.10.10    WC
    Upstream interface (RP):   xl0
    Upstream MRIB next hop (RP): 192.20.10.10
    Upstream RPF'(*,G):        192.20.10.10
    Upstream state:            NotJoined
    Join timer:                -1
    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:        ...
    Could assert WC:           ...
    I am DR:                   .OO
    Immediate olist RP:        ...
    Immediate olist WC:        ...
    Inherited olist SG:        ...
    Inherited olist SG_RPT:    ...
    PIM include WC:            ...
224.30.30.30    192.10.20.30    192.20.10.10    SG
    Upstream interface (S):    xl1
    Upstream interface (RP):   xl0
    Upstream MRIB next hop (RP): 192.20.10.10
    Upstream MRIB next hop (S):  192.100.0.1
    Upstream RPF'(S,G):        192.100.0.1
    Upstream state:            Joined
    Join timer:                52
    KAT(S,G) running:          false
    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:        OO.
    Could assert WC:           ...
    Could assert SG:           ...
    I am DR:                   .OO
    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:            ...
 --More-- (END)

------=_NextPart_000_0018_01C57B42.2A2FF090
Content-Type: text/plain;
	name="xorp2 (show pim mrib).txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="xorp2 (show pim mrib).txt"

Xorp> show pim mrib
DestPrefix         NextHopRouter   VifName VifIndex MetricPref Metric
192.10.0.0/16      192.100.0.1     xl1     1                20      0
192.20.10.0/24     192.20.10.1     xl0     0                 0      0
192.100.0.0/24     192.100.0.2     xl1     1                 0      0

------=_NextPart_000_0018_01C57B42.2A2FF090--