Date: 05 Apr 2001 14:15:36 +0200 From: Knut.Syed@nhh.no (Knut A. Syed) To: "Gimbert Mario" <mgimbert@sbsd.de> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: ifconfig aliases Message-ID: <s3iofubmtjr.fsf@kas.nhh.no> In-Reply-To: <014701c0bdbb$203608c0$1200a8c0@gsicomp.on.ca> References: <Pine.GSO.4.21.0104051204330.29358-100000@kom25> <014701c0bdbb$203608c0$1200a8c0@gsicomp.on.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
"Matthew Emmerton" <matt@gsicomp.on.ca> writes: > > > can somebody tell me why that doesn=B4t work in /etc/rc.conf ?? > > > after a reboot only the 1. ip (192.168.1.23) is working. > > > -----------------------schnipp-------------------------------------- > > > ifconfig_fxp0=3D"inet 192.168.1.23 netmask 255.255.255.0" > > > ifconfig_fpx0_alias0=3D"inet 192.168.1.216 netmask 255.255.255.0" > > > ifconfig_fpx0_alias1=3D"inet 192.168.2.157 netmask 255.255.255.0" >=20 > The last two should say fxp, not fpx, right? :-) And the mask should be 0xffffffff (255.255.255.255). From ifconfig(8): alias [...] If the address is on the same subnet as the first network address for this interface, a netmask of 0xffffffff has to be specified. ~kas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?s3iofubmtjr.fsf>