From owner-freebsd-current Mon May 19 09:51:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA02669 for current-outgoing; Mon, 19 May 1997 09:51:01 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id JAA02662 for ; Mon, 19 May 1997 09:50:57 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id SAA19504; Mon, 19 May 1997 18:50:49 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id SAA01307; Mon, 19 May 1997 18:36:06 +0200 (MET DST) Message-ID: <19970519183606.JC27358@uriah.heep.sax.de> 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?? References: <19970519170904.LV61260@uriah.heep.sax.de> <199705191619.MAA20016@khavrinen.lcs.mit.edu> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199705191619.MAA20016@khavrinen.lcs.mit.edu>; from Garrett Wollman on May 19, 1997 12:19:19 -0400 Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 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 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. ;-)