Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 1995 08:37:11 -0400 (EDT)
From:      "Michael C. Newell" <mnewell@lupine.nsi.nasa.gov>
To:        Bill Fenner <fenner@parc.xerox.com>
Cc:        hackers@freebsd.org
Subject:   Re: Multicast on PPP devices 
Message-ID:  <Pine.SUN.3.91.950823083203.14011A-100000@lupine.nsi.nasa.gov>
In-Reply-To: <95Aug21.104401pdt.177475@crevenia.parc.xerox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 21 Aug 1995, Bill Fenner wrote:

> Well, you appear to have numbered your PPP interfaces the same as your
> ethernet interface.  The BSD multicast routing code requires each
> interface to be in a different subnet.  (There's some chance that the
> restriction can be relaxed to "have a different IP address", meaning
> that you could use several addresses out of the same subnet, but each
> interface definitely needs its own source address.)

Actually ppp0 is 198.116.75.49 netmask 0xfffffff0, and the ethernet 
interface is 198.116.2.4 netmask 0xffffff00.  Likewise the other end has 
ppp0 and ed0 in different subnets of 198.116.75.0.

> Barring that, someone seems to have changed the INADDR_TO_IFP macro in
> netinet/in_var.h to only search destination addresses, rather than local
> addresses, on point-to-point interfaces.  This will cause mrouted no end
> of grief.

Hmmmmm...  I guess that was done so that ppp links can share IP addresses 
with Ethernet links?  That may be the general case, but there are many 
cases (such as mine :-) were that is NOT desired.

> I will check out the problem with disabling the phyint when it's down;
> I would have thought that should work.  Unfortunately, unless you want
> to renumber your ppp interfaces and change netinet/in_var.h, you won't
> be able to use native multicast over your point-to-point interfaces.

Per your advice I added the line

	phyint ppp0 disable

to the mrouted startup.  Mrouted still failed, this time with an "invalid 
interface ppp0" error.  Bummer...

Thanks,

Mike

+--------------------------------------+------------------------------------+
|Mike Newell                           | The opinions expressed herein are  |
|NASA Science Internet Network Systems | my own, and do not necessarily     |
|Sterling Software, Inc.               | reflect those of the NSI program,  |
|MNewell@nsipo.nasa.gov                | Sterling Software, NASA, or anyone |
|+1-202-434-8954                       | else.                              |
+--------------------------------------+------------------------------------+
|                  work: http://www.eco.nsi.nasa.gov/~mnewell               |
|                    home: http://www.newell.arlington.va.us                |
+---------------------------------------------------------------------------+




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.950823083203.14011A-100000>