From owner-freebsd-questions Thu Apr 5 5:15:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from kas.nhh.no (kas.nhh.no [158.37.97.7]) by hub.freebsd.org (Postfix) with ESMTP id 8A53337B424 for ; Thu, 5 Apr 2001 05:15:45 -0700 (PDT) (envelope-from Knut.Syed@nhh.no) Received: (from itkas@localhost) by kas.nhh.no (8.11.1/8.11.1) id f35CFa306071; Thu, 5 Apr 2001 14:15:36 +0200 (CEST) X-Authentication-Warning: kas.nhh.no: itkas set sender to Knut.Syed@nhh.no using -f To: "Gimbert Mario" Cc: Subject: Re: ifconfig aliases References: <014701c0bdbb$203608c0$1200a8c0@gsicomp.on.ca> Organization: Norwegian School of Economics and Business Administration From: Knut.Syed@nhh.no (Knut A. Syed) Date: 05 Apr 2001 14:15:36 +0200 In-Reply-To: <014701c0bdbb$203608c0$1200a8c0@gsicomp.on.ca> Message-ID: Lines: 21 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Matthew Emmerton" 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