From owner-freebsd-hackers Wed Jul 23 04:18:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA10718 for hackers-outgoing; Wed, 23 Jul 1997 04:18:56 -0700 (PDT) Received: from sunny.wup.de (mail2.wup.de [149.237.200.4]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA10701 for ; Wed, 23 Jul 1997 04:18:44 -0700 (PDT) Received: (from andreas@localhost) by sunny.wup.de (8.8.6/8.8.6) id NAA01766; Wed, 23 Jul 1997 13:14:21 +0200 (MET DST) Message-ID: <19970723131420.57273@sunny.wup.de> Date: Wed, 23 Jul 1997 13:14:20 +0200 From: Andreas Klemm To: Michael Smith Cc: hackers@FreeBSD.ORG Subject: Re: FreeBSD 2.2, ping to an ip alias for interface vx0 fails ... References: <19970723120431.25710@wup.de> <199707231025.TAA08506@genesis.atrad.adelaide.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.74 In-Reply-To: <199707231025.TAA08506@genesis.atrad.adelaide.edu.au>; from Michael Smith on Wed, Jul 23, 1997 at 07:55:48PM +0930 X-phone: Wiechers & Partner +49 2173 3964 161 X-fax: Wiechers & Partner +49 2173 3964 222 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, Jul 23, 1997 at 07:55:48PM +0930, Michael Smith wrote: > Andreas Klemm stands accused of saying: > > > > vx0: flags=8843 mtu 1500 > > inet 149.237.200.7 netmask 0xffffff00 broadcast 149.237.200.255 > > inet 149.237.200.100 netmask 0xffffff00 broadcast 149.237.200.255 > > Read the handbook, or look at the example in /etc/rc.conf; the second > address overlaps the netmask for the first, and as such should be > added with a netmask of all ones (255.255.255.255). Hmm, I just noticed, that the broadcast address then looks a bit strange: inet 149.237.200.100 netmask 0xffffffff broadcast 149.237.31.100 Should I then use the following command ifconfig vx0 149.237.200.100 netmask 0xffffffff broadcast 149.237.200.255 alias Or should alias IP adresses not broadcast at all ? Thanks for further information. I hope this is not a RTFM question ;) Andreas /// -- aklemm@wup.de /\/\___ Wiechers & Partner Datentechnik GmbH Andreas Klemm ___/\/\/ - Support Unix -