Date: Wed, 18 Dec 1996 11:40:44 +0200 From: Nadav Eiron <nadav@barcode.co.il> To: Vincent Poy <vince@venus.GAIANET.NET> Cc: questions@freebsd.org Subject: Re: two ip's for one ne0 interface Message-ID: <32B7BC1C.769A@barcode.co.il> References: <Pine.BSF.3.95.961217103449.1381A-100000@venus.GAIANET.NET>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32B7BC1C.769A>