From owner-freebsd-questions Wed Dec 18 01:42:50 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id BAA26313 for questions-outgoing; Wed, 18 Dec 1996 01:42:50 -0800 (PST) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id BAA26305 for ; Wed, 18 Dec 1996 01:42:44 -0800 (PST) Received: (from smap@localhost) by gatekeeper.barcode.co.il (8.7.5/8.6.12) id LAA08827; Wed, 18 Dec 1996 11:42:51 +0200 (IST) X-Authentication-Warning: gatekeeper.barcode.co.il: smap set sender to using -f Received: from localhost.barcode.co.il(127.0.0.1) by gatekeeper.barcode.co.il via smap (V1.3) id sma008824; Wed Dec 18 11:42:21 1996 Message-ID: <32B7BC1C.769A@barcode.co.il> Date: Wed, 18 Dec 1996 11:40:44 +0200 From: Nadav Eiron X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m) MIME-Version: 1.0 To: Vincent Poy CC: questions@freebsd.org Subject: Re: two ip's for one ne0 interface References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Vincent Poy wrote: > > On Tue, 17 Dec 1996, Nadav Eiron wrote: > > > > > > What do I need to do in /etc/sysconfig to make the ne0 also known > > > > > as 206.171.98.1 as well as the current ip of 206.171.98.29 for the > > > > > ifconfig line? Thanks. > > > > [snip] > > > > If they are on the same subnet, all that is required is the command: > > ifconfig inet ne0 206.171.98.29 netmask 255.255.255.255 alias > > > > Note the netmask of all 1s. Put this command someplace in netstart, or > > modify it to look for the required info in sysconfig. > > Hmmm, if /etc/sysconfig defines ne0 already with 206.171.98.29, > where in netstart do I put the line so it'll be known as 206.171.98.1 as > well? and shouldn't the line be: > > ifconfig inet ne0 206.171.98.1 netmask 255.255.255.255 alias Yeah. And you can have as many more as you like... (almost... I think at around 50 aliases named starts getting confused). > > Vince > GaiaNet Corporation - Unix Networking Operations - Beverly Hills, CA Nadav