From owner-freebsd-questions Tue Dec 17 10:41:01 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA11344 for questions-outgoing; Tue, 17 Dec 1996 10:41:01 -0800 (PST) Received: from venus.GAIANET.NET (vince@venus.GAIANET.NET [206.171.98.27]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id KAA11237 for ; Tue, 17 Dec 1996 10:39:39 -0800 (PST) Received: from localhost (vince@localhost) by venus.GAIANET.NET (8.8.3/8.8.3) with SMTP id KAA01430; Tue, 17 Dec 1996 10:37:26 -0800 (PST) Date: Tue, 17 Dec 1996 10:37:24 -0800 (PST) From: Vincent Poy To: Nadav Eiron cc: questions@freebsd.org Subject: Re: two ip's for one ne0 interface In-Reply-To: <32B66C24.AA@barcode.co.il> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. > > > > > > 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. 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 Vince GaiaNet Corporation - Unix Networking Operations - Beverly Hills, CA