Date: Thu, 18 May 1995 14:10:55 -0400 (EDT) From: "Michael C. Newell" <mnewell@lupine.nsi.nasa.gov> To: Peter Wemm <peter@haywire.dialix.com> Cc: Chris Shenton <cshenton@wirehead.hq.nasa.gov>, hackers@FreeBSD.org Subject: Re: Hmm. Strange... Message-ID: <Pine.SUN.3.91.950518083020.19045A-100000@lupine.nsi.nasa.gov> In-Reply-To: <Pine.SV4.3.91.950518175100.28579D-100000@haywire.DIALix.COM>
next in thread | previous in thread | raw e-mail | index | archive | help
(Quick note - one thing you might want to check is that your routedflags variable needs to be set to "-s" in the sysconfig file, or you need to run gated. The default for routedflags is "-q", which explicitly prohibits transmitting routing data. Now on to the rest of the message...) I have a similar problem that I've been working on off and on for a while. I sent mail to the questions list and got a couple of suggestions, but none worked. Reading the routed code (output.c) there's one place where it specifically says it won't broadcast subnet routes, but I've not had time to go further into it (the code isn't very pretty!!). However, we *DID* manage to get it to work, albeit shabbily... What we're doing is shown on my web page, http://www-dc.nsi.nasa.gov:80/~mnewell/mcnet.html Basically we want to connect a couple of subnets across a couple of PPP links via a FreeBSD router. I tried a HUGE number of combinations of things, and the only thing I got to work was: - boot the system Sisyphus - log in, kill routed/gated (or don't bother to start it in the startup process) - after Sisyphus is up, log in and add an alias for the subnetted network group to ed0; e.g. ifconfig ed0 alias 198.116.75.1 - the above changes the broadcast address, so do another ifconfig to fix that ifconfig ed0 broadcast 198.116.2.255 - run gated with RIP routing and an explicit announce for network 198.116.75.0 I even tried having it do all this automatically during boot, but it doesn't seem to work; there appear to be timing problems. This is the ONLY way I could get routed or gated to announce out the routes and I tried a HUGE number of alternatives. I'd sure appreciate any input on what I might be missing here... Thanks, Mike On Thu, 18 May 1995, Peter Wemm wrote: > Date: Thu, 18 May 1995 17:55:23 +0800 (WST) > From: Peter Wemm <peter@haywire.dialix.com> > To: hackers@FreeBSD.org > Subject: Hmm. Strange... > > Err.. I'm having a spot of bother.. Nothing seems to be able to broadcast > on a subnetted c-class network.. The networking code does not seem to be > recognising the broadcast address, and is trying to arp it instead.. > > Is this supported? We have a stack of other machines running in this > config... > > jhome # ifconfig -a > ed0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > inet 192.203.228.69 netmask 0xfffffff0 broadcast 192.203.228.79 > ether 00:80:48:98:75:56 > lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > ppp0: flags=10<POINTOPOINT> mtu 1500 > ppp1: flags=10<POINTOPOINT> mtu 1500 > sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552 > sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552 > tun0: flags=10<POINTOPOINT> mtu 1500 > tun1: flags=10<POINTOPOINT> mtu 1500 > > > jhome # arp -na > ? (192.203.228.65) at (incomplete) > ? (192.203.228.69) at 0:80:48:98:75:56 permanent > ? (192.203.228.79) at (incomplete) > > > jhome # netstat -rn > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 192.203.228.65 UGc 0 0 ed0 > 127.0.0.1 127.0.0.1 UH 0 0 lo0 > 192.203.228 192.203.228.65 UGc 2 0 ed0 > 192.203.228.16 192.203.228.65 UGc 0 0 ed0 > 192.203.228.32 192.203.228.65 UGc 0 0 ed0 > 192.203.228.48 192.203.228.65 UGc 0 0 ed0 > 192.203.228.64 link#1 UC 0 0 > 192.203.228.65 link#1 UHLW 15 175 > 192.203.228.69 0:80:48:98:75:56 UHLW 1 145 lo0 > 192.203.228.79 link#1 UHLW 1 39 > 192.203.228.80 192.203.228.65 UGc 0 0 ed0 > 192.203.228.96 192.203.228.65 UGc 0 0 ed0 > 192.203.228.112 192.203.228.65 UGc 0 0 ed0 > 192.203.228.192 192.203.228.65 UGc 0 0 ed0 > 192.203.228.241 192.203.228.65 UGH 0 0 ed0 > 192.203.228.242 192.203.228.65 UGH 0 0 ed0 > 202.12.86.1 192.203.228.65 UGH 0 0 ed0 > 224 link#1 UCS 0 0 > > Cheers, > -Peter > > 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. | +--------------------------------------+------------------------------------+
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.950518083020.19045A-100000>
