From owner-freebsd-hackers Wed Jul 23 09:22:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA27857 for hackers-outgoing; Wed, 23 Jul 1997 09:22:48 -0700 (PDT) Received: from main.gbdata.com (USR1-1.detnet.com [207.113.12.14]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA27852; Wed, 23 Jul 1997 09:22:41 -0700 (PDT) Received: (from gclarkii@localhost) by main.gbdata.com (8.8.5/8.8.5) id LAA00741; Wed, 23 Jul 1997 11:22:04 -0500 (CDT) From: Gary Clark II Message-Id: <199707231622.LAA00741@main.gbdata.com> Subject: Re: FreeBSD 2.2, ping to an ip alias for interface vx0 fails ... To: akl@wup.de, andreas@FreeBSD.ORG, hackers@FreeBSD.ORG Date: Wed, 23 Jul 1997 11:22:04 -0500 (CDT) In-Reply-To: <19970723120431.25710@wup.de> from Andreas Klemm at "Jul 23, 97 12:04:31 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Andreas Klemm wrote: > Hi ! > > Little trouble with our companies FreeBSD www server (2.2-STABLE > from about 2 weeks ago). > > Am about creating a virtual www server. > > For this purpose I created an IP alias for the interface vx0 > > 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 ^^^^^^^^ Set this netmask to 255.255.255.255. The config on a sub net gets the standard netmask. All ifconfigs thereafter get all 1s... > inet 149.237.31.7 netmask 0xffffff00 broadcast 149.237.31.255 > ether 00:60:97:17:3d:0e > lp0: flags=8810 mtu 1500 > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > > As you can see, three IP aliases are bound to vx0. > > And now comes a strange error. Only pings to 149.237.200.100 > fail !!! Is there a possible +-1 problem ??? > > Pings to 149.237.200.7 and 149.237.31.7 are always successfull. > > Is maybe alias[0] not initialized ??? > > Andreas /// > Gary -- Gary Clark II (N5VMF) | I speak only for myself and "maybe" my company gclarkii@GBData.COM | Member of the FreeBSD Doc Team Providing Internet and ISP startups - http://WWW.GBData.com for information FreeBSD FAQ at ftp://ftp.FreeBSD.ORG/pub/FreeBSD/docs/FAQ.latin1