[Xorp-users] How to work with a bridge (br0)? (corrected version)
Carsten Otto
c-otto@gmx.de
Thu, 24 Nov 2005 01:12:18 +0100
--KsGdsel6WgEHnImy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
First of all:
I noticed some (not several, but more than one) crashes in the last few
hours. xorp_rtrmgr does not react on ctrl+c and multicast routing is
stopped (I can't see any entries in my SAP list). Any ideas?
On Wed, Nov 23, 2005 at 01:12:55PM -0800, Pavlin Radoslavov wrote:
> Before doing anything, first double-check that the TTL of the data
> is large enough, because the default multicast TTL is 1.
Everything is set to 7. The university admin assured that the router in
question (next hop) drops packets with TTL < 8 on their way out into the
rest of the university and inside this router (to other dorms)
everything should work. PS: I doublechecked :)
> Then check the MFC entries ("show pim mfc") whether there is a
> matching entry for your PC/sender and the group address for the
> data that is missing. You could double-check by running the UNIX
> "cat /proc/net/ip_mr_cache" command to see what exactly is installed
> in the kernel.
224.2.127.254 134.130.49.253 193.174.74.254=20
Incoming interface : eth0
Outgoing interfaces: ..O
233.4.251.3 134.130.49.253 193.174.74.254=20
Incoming interface : eth0
Outgoing interfaces: ..O
FE7F02E0 FD318286 0 408531 74844745 0 2:1 =20
03FB04E9 FD318286 0 572670 769668480 0 2:1 =20
0 eth0 -16448096 115388480 1249002710 890200 00000 0300120A 000000=
00
1 eth1 1249701440 895632 0 0 00000 7277E289 00000000
2 pimreg 0 0 -846962008 9313618 00004 0300120A 00000000
So I think FE...E0 which is sap.mcast.net should get routed to eth1,
which is the external network. Same with my data.
> If there is an entry, check that the iif and the oifs are
> correct. If they are correct, then run tcpdump on one of the
> expected outgoing interface and see whether the data is coming out
> on that interface.
This is a snippet of typical mcast traffic on the external network. All the=
se
233.4.251.x are streaming (wildly) in the internal network. I requested
233.4.251.1 some seconds before that (from the external network).
00:54:04.326977 IP 137.226.119.114 > PIM-ROUTERS.MCAST.NET: pim v2 Join/Pru=
ne upstream-neighbor=3Dc3750-sw23-wohnheime.noc.RWTH-Aachen.DE groups=3D1 h=
oldtime=3D3m30s (group0: 233.4.251.68 join=3D1 mr-frankfurt2.g-win.dfn.de(S=
WR) prune=3D1 ip2-253.halifax.rwth-aachen.de(SR))
00:54:04.595300 IP 137.226.119.114 > PIM-ROUTERS.MCAST.NET: pim v2 Join/Pru=
ne upstream-neighbor=3Dc3750-sw23-wohnheime.noc.RWTH-Aachen.DE groups=3D1 h=
oldtime=3D3m30s (group0: 233.4.251.33 join=3D1 mr-frankfurt2.g-win.dfn.de(S=
WR) prune=3D1 ip2-253.halifax.rwth-aachen.de(SR))
00:54:04.856084 IP 137.226.119.114 > PIM-ROUTERS.MCAST.NET: pim v2 Join/Pru=
ne upstream-neighbor=3Dc3750-sw23-wohnheime.noc.RWTH-Aachen.DE groups=3D1 h=
oldtime=3D3m30s (group0: 233.4.251.4 join=3D1 mr-frankfurt2.g-win.dfn.de(SW=
R) prune=3D1 ip2-253.halifax.rwth-aachen.de(SR))
00:54:05.539487 IP mr-frankfurt2.g-win.dfn.de > ALL-ROUTERS.MCAST.NET: igmp=
pimv1 RP-reachable
00:54:05.711700 IP mr-frankfurt2.g-win.dfn.de > ALL-ROUTERS.MCAST.NET: igmp=
pimv1 RP-reachable
00:54:06.120742 IP 137.226.119.114 > PIM-ROUTERS.MCAST.NET: pim v2 Join/Pru=
ne upstream-neighbor=3Dc3750-sw23-wohnheime.noc.RWTH-Aachen.DE groups=3D1 h=
oldtime=3D3m30s (group0: 233.4.251.1 join=3D1 mr-frankfurt2.g-win.dfn.de(SW=
R) prune=3D1 ip2-253.halifax.rwth-aachen.de(SR))
00:54:06.337234 IP 137.226.119.114 > PIM-ROUTERS.MCAST.NET: pim v2 Join/Pru=
ne upstream-neighbor=3Dc3750-sw23-wohnheime.noc.RWTH-Aachen.DE groups=3D1 h=
oldtime=3D3m30s (group0: 233.4.251.6 join=3D1 mr-frankfurt2.g-win.dfn.de(SW=
R) prune=3D1
00:54:06.337234 IP 137.226.119.114 > PIM-ROUTERS.MCAST.NET: pim v2 Join/Pru=
ne upstream-neighbor=3Dc3750-sw23-wohnheime.noc.RWTH-Aachen.DE groups=3D1 h=
oldtime=3D3m30s (group0: 233.4.251.6 join=3D1 mr-frankfurt2.g-win.dfn.de(SW=
R) prune=3D1 ip2-253.halifax.rwth-aachen.de(SR))
00:54:06.981602 IP mr-frankfurt2.g-win.dfn.de > ALL-ROUTERS.MCAST.NET: igmp=
pimv1 RP-reachable
00:54:07.399725 IP mr-frankfurt2.g-win.dfn.de > ALL-ROUTERS.MCAST.NET: igmp=
pimv1 RP-reachable
00:54:08.903671 IP 137.226.119.114 > PIM-ROUTERS.MCAST.NET: pim v2 Join/Pru=
ne upstream-neighbor=3Dc3750-sw23-wohnheime.noc.RWTH-Aachen.DE groups=3D1 h=
oldtime=3D3m30s (group0: 233.4.251.36 join=3D0 prune=3D1 mr-frankfurt2.g-wi=
n.dfn.de(SWR))
00:54:09.733380 IP 137.226.119.114 > PIM-ROUTERS.MCAST.NET: pim v2 Join/Pru=
ne upstream-neighbor=3Dc3750-sw23-wohnheime.noc.RWTH-Aachen.DE groups=3D1 h=
oldtime=3D3m30s (group0: 233.4.251.30 join=3D1 mr-frankfurt2.g-win.dfn.de(S=
WR) prune=3D1 ip2-253.halifax.rwth-aachen.de(SR))
00:54:10.535268 IP 137.226.119.114 > PIM-ROUTERS.MCAST.NET: pim v2 Join/Pru=
ne upstream-neighbor=3Dc3750-sw23-wohnheime.noc.RWTH-Aachen.DE groups=3D1 h=
oldtime=3D3m30s (group0: 233.4.251.94 join=3D0 prune=3D1 mr-frankfurt2.g-wi=
n.dfn.de(SWR))
00:54:10.561690 IP 137.226.119.114 > PIM-ROUTERS.MCAST.NET: pim v2 Join/Pru=
ne upstream-neighbor=3Dc3750-sw23-wohnheime.noc.RWTH-Aachen.DE groups=3D1 h=
oldtime=3D3m30s (group0: 233.4.251.92 join=3D0 prune=3D1 mr-frankfurt2.g-wi=
n.dfn.de(SWR))
00:54:10.586749 IP 137.226.119.114 > PIM-ROUTERS.MCAST.NET: pim v2 Join/Pru=
ne upstream-neighbor=3Dc3750-sw23-wohnheime.noc.RWTH-Aachen.DE groups=3D1 h=
oldtime=3D3m30s (group0: 233.4.251.46 join=3D0 prune=3D1 mr-frankfurt2.g-wi=
n.dfn.de(SWR))
00:54:10.595321 IP 137.226.119.114 > PIM-ROUTERS.MCAST.NET: pim v2 Join/Pru=
ne upstream-neighbor=3Dc3750-sw23-wohnheime.noc.RWTH-Aachen.DE groups=3D1 h=
oldtime=3D3m30s (group0: 233.4.251.61 join=3D0 prune=3D1 mr-frankfurt2.g-wi=
n.dfn.de(SWR))
00:54:10.647721 IP 137.226.119.114 > PIM-ROUTERS.MCAST.NET: pim v2 Join/Pru=
ne upstream-neighbor=3Dc3750-sw23-wohnheime.noc.RWTH-Aachen.DE groups=3D1 h=
oldtime=3D3m30s (group0: 233.4.251.7 join=3D0 prune=3D1 mr-frankfurt2.g-win=
=2Edfn.de(SWR))
00:54:11.130260 IP 137.226.119.114 > PIM-ROUTERS.MCAST.NET: pim v2 Hello (H=
old-time 1m45s) (LAN-Prune-Delay: T-bit=3D0 lan-delay=3D500ms override-inte=
rval=3D2500ms) (DR-Priority: 1) (Genid: 0x1496afd0)
00:54:14.717538 IP c3750-sw23-wohnheime.noc.RWTH-Aachen.DE > ALL-SYSTEMS.MC=
AST.NET: igmp query v2
00:54:14.835789 IP 137.226.119.114 > PIM-ROUTERS.MCAST.NET: igmp v2 report =
PIM-ROUTERS.MCAST.NET
00:54:14.840704 IP 137.226.119.114 > ALL-ROUTERS.MCAST.NET: igmp v2 report =
ALL-ROUTERS.MCAST.NET
00:54:18.668157 IP c3750-sw23-wohnheime.noc.RWTH-Aachen.DE > PIM-ROUTERS.MC=
AST.NET: pim v2 Hello (Hold-time 1m45s) (Genid: 0x00001a6b) (DR-Priority: 1=
) (State Refresh Capable; v1)
00:54:18.788893 IP 137.226.119.114 > PIM-ROUTERS.MCAST.NET: pim v2 Join/Pru=
ne upstream-neighbor=3Dc3750-sw23-wohnheime.noc.RWTH-Aachen.DE groups=3D31 =
holdtime=3D3m30s (group0: 233.4.251.67 join=3D1 mr-frankfurt2.g-win.dfn.de(=
SWR) prune=3D1 ip2-253.halifax.rwth-aachen.de(SR)) (group1: 233.4.251.62 jo=
in=3D1 ...)
00:54:18.951600 IP 137.226.119.114 > PIM-ROUTERS.MCAST.NET: pim v2 Bootstra=
p tag=3D2244 hashmlen=3D0 BSRprio=3D0 BSR=3Dmr-frankfurt2.g-win.dfn.de (gro=
up0: IETF-1-LOW-AUDIO.MCAST.NET/31 RPcnt=3D1 FRPcnt=3D1 RP0=3Dmr-frankfurt2=
=2Eg-win.dfn.de,holdtime=3D2m22s,prio=3D0) (group1: IETF-1-VIDEO.MCAST.NET/=
31 RPcnt=3D1 FRPcnt=3D1 RP0=3Dmr-frankfurt2.g-win.dfn.de,holdtime=3D2m24s,p=
rio=3D0)
00:54:23.572184 IP c3750-sw23-wohnheime.noc.RWTH-Aachen.DE > PIM-ROUTERS.MC=
AST.NET: pim v2 Bootstrap tag=3D1246 hashmlen=3D0 BSRprio=3D0 BSR=3Dmr-fran=
kfurt2.g-win.dfn.de (group0: IETF-1-LOW-AUDIO.MCAST.NET/31 RPcnt=3D1 FRPcnt=
=3D1 RP0=3Dmr-frankfurt2.g-win.dfn.de,holdtime=3D2m18s,prio=3D0) (group1: I=
ETF-1-VIDEO.MCAST.NET/31 RPcnt=3D1 FRPcnt=3D1 RP0=3Dmr-frankfurt2.g-win.dfn=
=2Ede,holdtime=3D2m21s,prio=3D0) (group2: ...)
> If there is no MFC entry, then use the "show pim join" command to
> check what is the status of the corresponding (S,G) entry for this
> directly connected source.
All groups in question are in MFC, but some more lines cannot hurt I hope.
224.2.127.254 0.0.0.0 193.174.74.254 WC =20
Upstream interface (RP): eth1
Upstream MRIB next hop (RP): 137.226.119.113
Upstream RPF'(*,G): 137.226.119.113
Upstream state: Joined=20
Join timer: 39
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: OO.
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..
233.4.251.1 0.0.0.0 193.174.74.254 WC =20
Upstream interface (RP): eth1
Upstream MRIB next hop (RP): 137.226.119.113
Upstream RPF'(*,G): 137.226.119.113
Upstream state: Joined=20
Join timer: 39
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: OO.
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..
Thanks a lot!
--=20
Carsten Otto
c-otto@gmx.de
www.c-otto.de
--KsGdsel6WgEHnImy
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDhQVijUF4jpCSQBQRAq8vAKDx2H2D3Ah3rMnYM0HvHjd6+X/z9QCgnd8L
b21T0OnpXX3LzMxaXilQxjY=
=m0E8
-----END PGP SIGNATURE-----
--KsGdsel6WgEHnImy--