Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 1999 18:07:47 -0500 (EST)
From:      "Chris D. Faulhaber" <jedgar@fxp.org>
To:        eddy@isi.edu
Cc:        Randy Bush <randy@psg.com>, FreeBSD Stable <freebsd-stable@FreeBSD.ORG>
Subject:   Re: alias ip addresses not pingable
Message-ID:  <Pine.BSF.4.10.9912201804230.78358-100000@pawn.primelocation.net>
In-Reply-To: <14430.46214.317449.778405@kit.isi.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <half-duplex>
>         supported media: autoselect 100baseTX <full-duplex> 100baseTX <half-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP <half-duplex> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9912201804230.78358-100000>