Date: Tue, 17 Dec 1996 10:37:24 -0800 (PST) From: Vincent Poy <vince@venus.GAIANET.NET> To: Nadav Eiron <nadav@barcode.co.il> Cc: questions@freebsd.org Subject: Re: two ip's for one ne0 interface Message-ID: <Pine.BSF.3.95.961217103449.1381A-100000@venus.GAIANET.NET> In-Reply-To: <32B66C24.AA@barcode.co.il>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.961217103449.1381A-100000>