From owner-freebsd-stable Mon Dec 20 15: 7:53 1999 Delivered-To: freebsd-stable@freebsd.org Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with ESMTP id 49CED14DEC for ; Mon, 20 Dec 1999 15:07:51 -0800 (PST) (envelope-from jedgar@fxp.org) Received: by pawn.primelocation.net (Postfix, from userid 1003) id 58C529B4D; Mon, 20 Dec 1999 18:07:47 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by pawn.primelocation.net (Postfix) with ESMTP id 4DD17BA0C; Mon, 20 Dec 1999 18:07:47 -0500 (EST) Date: Mon, 20 Dec 1999 18:07:47 -0500 (EST) From: "Chris D. Faulhaber" X-Sender: jedgar@pawn.primelocation.net To: eddy@isi.edu Cc: Randy Bush , FreeBSD Stable Subject: Re: alias ip addresses not pingable In-Reply-To: <14430.46214.317449.778405@kit.isi.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 20 Dec 1999 eddy@isi.edu wrote: > > Chris D. Faulhaber states: > > On Mon, 20 Dec 1999, Randy Bush wrote: > > > > > 3.4.-stable-9912201156 > > > > > > this is new and exciting. it used to work, and still does over on a 3.3-RC > > > system. i imagine i have fumbled something, but don't know what. > > > > > > in /etc/rc.conf > > > network_interfaces="fxp0 lo0" # List of network interfaces (lo0 is loopback). > > > ifconfig_fxp0="inet 147.28.0.39 netmask 255.255.255.0" > > > ifconfig_fxp0_alias0="inet 147.28.0.3 netmask 255.255.255.0" > > > ifconfig_fxp0_alias1="inet 147.28.0.4 netmask 255.255.255.0" > > > > > > > aliases should have a netmask of 255.255.255.255, as seen in ifconfig(8) > > > > why? i regularly use aliases with masks smaller than /32, on a 3.1 > system e.g: > > [183] FreeBSD tik:eddy > ifconfig -a > xl0: flags=8843 mtu 1500 > inet 128.9.160.70 netmask 0xfffff000 broadcast 128.9.175.255 > inet 10.3.2.1 netmask 0xffffff00 broadcast 10.3.2.255 > ether 00:c0:4f:68:43:c1 > media: 10baseT/UTP > supported media: autoselect 100baseTX 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP 10baseT/UTP > In this case, it would be correct since they are on different subnets. The original question shows the aliases on the same subnet, so I would expect a 'correct' configuration to be shown if he is having a problem and would like help (and, yes, I did see the /32 at the bottom, but would like to see those results instead of the results from an incorrect config). ----- Chris D. Faulhaber - jedgar@fxp.org - jedgar@freebsd.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message