Date: Mon, 20 Dec 1999 15:02:14 -0800 (PST) From: eddy@isi.edu To: "Chris D. Faulhaber" <jedgar@fxp.org> Cc: Randy Bush <randy@psg.com>, FreeBSD Stable <freebsd-stable@FreeBSD.ORG> Subject: Re: alias ip addresses not pingable Message-ID: <14430.46214.317449.778405@kit.isi.edu> In-Reply-To: <Pine.BSF.4.10.9912201750320.78241-100000@pawn.primelocation.net> References: <E120BZ8-0000Yi-00@rip.psg.com> <Pine.BSF.4.10.9912201750320.78241-100000@pawn.primelocation.net>
index | next in thread | previous in thread | raw e-mail
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
[184] FreeBSD tik:eddy > ping 10.3.2.1
PING 10.3.2.1 (10.3.2.1): 56 data bytes
64 bytes from 10.3.2.1: icmp_seq=0 ttl=255 time=0.066 ms
^C
- rusty
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14430.46214.317449.778405>
