Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 1996 12:05:05 -0800
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        multimedia@freebsd.org
Subject:   OK, I think I *finally* got my multicast setup done properly!
Message-ID:  <10779.827352305@time.cdrom.com>

next in thread | raw e-mail | index | archive | help
Except of course that it doesn't work, but hey - it's a lot neater! :-)

OK, here's what I've done - any and all tips greatly appreciated!

First, some background information:

We've recently switched service providers from BARRNET to CRL, so the
old BARRNET tunnel I had collapsed.  Today I got my configuration info
from CRL on what to do to talk to their multicast source (evidently
E0-CRL-SFO-02-E0/0.US.CRL.NET).

On the Cisco 2500 which handles our T1 connection to CRL, that being
gatekeeper.cdrom.com, I first did:

gw-walnut-creek(config)#ip multicast-routing
gw-walnut-creek(config)#ip pim rp-address 165.113.55.2
gw-walnut-creek(config)#interface serial0
gw-walnut-creek(config-if)#ip pim sparse-mode
gw-walnut-creek(config-if)# ^Z
[write out configuration and reload router]

Now the cisco shares an ethernet with freefall, which is my ISDN
gateway, and I'm now burning a subnet in order to get everything
working just right with my local network here so I'd suspect that I
just need to run mrouted on freefall and on whisker and all would be
hunky-dory, right?  Hmmm.  Clearly not.

First, freefall's configuration:

[ The interfaces, showing ed0 for freefall's internet connection to the
  cisco and sl0, the connection to my gateway machine, whisker.cdrom.com ]

root@freefall-> ifconfig -a
ed0: flags=8a63<UP,BROADCAST,NOTRAILERS,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
        inet 204.216.27.4 netmask 0xfffffff0 broadcast 204.216.27.15
        ether 00:00:c0:bc:55:7d 
sl0: flags=d011<UP,POINTOPOINT,LINK0,LINK2,MULTICAST> mtu 552
        inet 204.216.27.193 --> 204.216.27.194 netmask 0xfffffff0 

[ And the output of mrouted -d ]

mroot@freefall-> mrouted -d
debug level 2
11:46:16.535 mrouted version 3.8
11:46:16.721 Getting vifs from kernel interfaces
11:46:16.722 installing ed0 (204.216.27.4 on subnet 204.216.27.0/28) as vif #0 - rate=0
11:46:16.723 installing sl0 (204.216.27.193 on subnet 204.216.27.192/28) as vif #1 - rate=0
11:46:16.724 Getting vifs from /etc/mrouted.conf
11:46:16.793 Installing vifs in mrouted...
11:46:16.800 vif #0, phyint 204.216.27.4
11:46:16.802 vif #1, phyint 204.216.27.193
pruning on
11:46:16.884 Installing vifs in kernel...
11:46:16.884 vif #0, phyint 204.216.27.4
11:46:16.885 vif #1, phyint 204.216.27.193
vifs_with_neighbors = 0

Virtual Interface Table
Vif  Name  Local-Address                               M  Thr  Rate   Flags
 0    ed0  204.216.27.4    subnet: 204.216.27.0/28     1   1      0   querier
                         pkts in : 0
                         pkts out: 0

 1    sl0  204.216.27.193  subnet: 204.216.27.192/28   1   1      0   querier
                         pkts in : 0
                         pkts out: 0


Multicast Routing Table (2 entries)
 Origin-Subnet      From-Gateway    Metric Tmr In-Vif  Out-Vifs
 204.216.27.192/28                     1     0   1    0*
 204.216.27.0/28                       1     0   0    1*

11:46:37.093 update 3 starting at 3 of 3


OK, that seems to be working in theory, at least, so we go on to
whisker, the machine at the other end of the ISDN line and also on my
local ethernet at home:

[ the interfaces ]

root@whisker-> ifconfig -a
ed0: flags=8a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
        inet 204.216.27.228 netmask 0xfffffff0 broadcast 204.216.27.239
        ether 00:00:c0:13:92:72 
sl0: flags=9011<UP,POINTOPOINT,LINK0,MULTICAST> mtu 552
        inet 204.216.27.194 --> 204.216.27.193 netmask 0xfffffff0 


[ And mrouted -d's output ]

root@whisker-> mrouted -d
debug level 2
11:47:45.698 mrouted version 3.8
11:47:45.759 Getting vifs from kernel interfaces
11:47:45.761 installing ed0 (204.216.27.228 on subnet 204.216.27.224/28) as vif #0 - rate=0
11:47:45.762 installing sl0 (204.216.27.194 on subnet 204.216.27.192/28) as vif #1 - rate=0
11:47:45.763 Getting vifs from /etc/mrouted.conf
11:47:45.783 Installing vifs in mrouted...
11:47:45.784 vif #0, phyint 204.216.27.228
11:47:45.788 vif #1, phyint 204.216.27.194
pruning on
11:47:45.847 Installing vifs in kernel...
11:47:45.848 vif #0, phyint 204.216.27.228
11:47:45.850 vif #1, phyint 204.216.27.194
vifs_with_neighbors = 0

Virtual Interface Table
Vif  Name  Local-Address                               M  Thr  Rate   Flags
 0    ed0  204.216.27.228  subnet: 204.216.27.224/28   1   1      0   querier
                         pkts in : 0
                         pkts out: 0

 1    sl0  204.216.27.194  subnet: 204.216.27.192/28   1   1      0   querier
                         pkts in : 0
                         pkts out: 0


Multicast Routing Table (2 entries)
 Origin-Subnet      From-Gateway    Metric Tmr In-Vif  Out-Vifs
 204.216.27.224/28                     1     0   0    1*
 204.216.27.192/28                     1     0   1    0*

11:48:06.061 update 3 starting at 3 of 3


OK, still with me?  Sorry, I know reading all that dreck is a drag,
but I didn't want to hide any of the important details from the
multicast experts here.

Now, the deal is that I start up an sd on time.cdrom.com, a machine on
my local LAN.  I see that some sort of multicast traffic is flowing on
the ethernet, but I get nothing on any of the MBONE channels - I'm all
alone on the groups which are generally full of people.

mtrace shows me the following interesting things:

jkh@time-> mtrace gatekeeper
Mtrace from 204.216.27.1 to 204.216.27.226 via group 224.2.0.1
Querying full reverse path... 
  0  time.cdrom.com (204.216.27.226)
 -1  whisker.cdrom.com (204.216.27.228)  DVMRP  thresh^ 1  
 -2  jkh-sl0-f.cdrom.com (204.216.27.193)  DVMRP  thresh^ 1  
 -3  gatekeeper.cdrom.com (204.216.27.1)
Round trip time 121 ms

Waiting to accumulate statistics... Results after 10 seconds:

  Source        Response Dest    Packet Statistics For     Only For Traffic
204.216.27.1    204.216.27.226   All Multicast Traffic     From 204.216.27.1
     v       __/  rtt  120 ms    Lost/Sent = Pct  Rate       To 224.2.0.1
204.216.27.4   
204.216.27.193  jkh-sl0-f.cdrom.com 
     v     ^      ttl    1   
204.216.27.194 
204.216.27.228  whisker.cdrom.com 
     v      \__   ttl    2   
204.216.27.226  204.216.27.226
  Receiver      Query Source


jkh@time-> mtrace 165.113.55.2
Mtrace from 165.113.55.2 to 204.216.27.226 via group 224.2.0.1
Querying full reverse path... * switching to hop-by-hop:
  0  time.cdrom.com (204.216.27.226)
 -1  * * 

Fails!

Could this be CRL's problem?  I hesitate to drag it up with them
until I'm sure.

Any comments?

						Jordan




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10779.827352305>