From owner-freebsd-questions Tue Dec 17 01:49:15 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id BAA11699 for questions-outgoing; Tue, 17 Dec 1996 01:49:15 -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 BAA11694 for ; Tue, 17 Dec 1996 01:49:09 -0800 (PST) Received: (from smap@localhost) by gatekeeper.barcode.co.il (8.7.5/8.6.12) id LAA06147; Tue, 17 Dec 1996 11:49:22 +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 sma006145; Tue Dec 17 11:48:55 1996 Message-ID: <32B66C24.AA@barcode.co.il> Date: Tue, 17 Dec 1996 11:47:16 +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 Mon, 16 Dec 1996, Nadav Eiron wrote: > > > Vincent Poy wrote: > > > > > > Hi everyone, > > > > > > 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. > > > > It's all in the IP Aliasing Tutorial. Look at: > > http://www.cypher.net/~black/ipalias.html > > I tried to look at that but somehow can't connect to that machine. > What would the lines in /etc/sysconfig look like for something like this? > > Cheers, > Vince > GaiaNet Corporation - Unix Networking Operations - GUS Mailing Lists Admin 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. Nadav