Date: Mon, 19 May 1997 18:36:06 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-current@FreeBSD.ORG (FreeBSD-current users) Cc: wollman@khavrinen.lcs.mit.edu (Garrett Wollman) Subject: Re: All zeros still recognized as broadcast?? Message-ID: <19970519183606.JC27358@uriah.heep.sax.de> In-Reply-To: <199705191619.MAA20016@khavrinen.lcs.mit.edu>; from Garrett Wollman on May 19, 1997 12:19:19 -0400 References: <19970519170904.LV61260@uriah.heep.sax.de> <199705191619.MAA20016@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
As Garrett Wollman wrote: > The all-zeros address really means ``this host'' or ``I don't know'', > but for our purposes treating it as a broadcast address gives useful > enough behavior. But i thought this was only for 0.0.0.0? So the unability to use my own net number as an ethernet IP address is set in stone once and forever? > > Also, i can't get rid of this bogus cloned route. A route delete > > gives me ``Not in table''. > > ifconfig .... delete .... This was the second i tried after the `route delete' attempt, and it didn't work either. I meanwhile reconfigured the interface to 192.168.0.1, so look: uriah # netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 4 1601 lo0 192.168.0.0 0:a0:24:55:7a:c3 UHLWb 0 4 lo0 => 192.168 link#1 UC 0 0 192.168.0.1 0:a0:24:55:7a:c3 UHLW 0 101 lo0 uriah # ifconfig vx0 delete uriah # netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 4 1601 lo0 192.168.0.0 0:a0:24:55:7a:c3 UHLWb 0 4 lo0 => 192.168 link#1 UC 0 0 192.168.0.1 0:a0:24:55:7a:c3 UHLW 0 101 lo0 uriah # route delete 192.168.0.1 delete host 192.168.0.1 uriah # route delete 192.168.0.0 writing to routing socket: No such process delete net 192.168.0.0: not in table uriah # netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 4 1605 lo0 192.168.0.0 0:a0:24:55:7a:c3 UHLWb 0 4 lo0 => 192.168 link#1 UC 0 0 Interesting enough: uriah # arp -d 192.168.0.0 192.168.0.0 (192.168.0.0) deleted ...worked! The one thing i can't get rid of, even after taking all interfaces down etc. is: uriah # netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 192.168 link#1 UC 0 0 Probably related is: uriah # ifconfig vx0 vx0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 ether 00:a0:24:55:7a:c3 uriah # ifconfig vx0 192.168.0.1 ifconfig: ioctl (SIOCAIFADDR): File exists ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ uriah # ifconfig vx0 vx0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 ether 00:a0:24:55:7a:c3 So what gives? This is probably similar to an annoying but benign message i've reported here recently. Whenever i activate my SLIP interfaces after dialing out, i get the same ``File exists''. This is with the same scripts that used to work for several years now. It started to happen after i upgraded my system to a post-Lite2 version. Something must have really been changed there. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970519183606.JC27358>