Date: Wed, 18 Dec 1996 11:30:13 -0800 (PST) From: Vincent Poy <vince@venus.GAIANET.NET> To: Darius Moos <moos@degnet.baynet.de> Cc: Nadav Eiron <nadav@barcode.co.il>, questions@freebsd.org Subject: Re: two ip's for one ne0 interface Message-ID: <Pine.BSF.3.95.961218112727.3152A-100000@venus.GAIANET.NET> In-Reply-To: <3.0.32.19961218130435.006b80cc@cyclone.degnet.baynet.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 18 Dec 1996, Darius Moos wrote: > In FreeBSD-2.1.5 there is a special mechanism for doing this. Never knew about that one... > Howto: > In /etc/sysconfig: > Set your network-devices but don't specify any arguments for them. > In your case: > ... > network_interfaces="ne0 lo0" > # no ifconfig_ne0- or ifconfig_lo0-options here > Then create files /etc/start_if.ne0 and /etc/start_if.lo0 > In /etc/start_if.ne0: > /sbin/ifconfig ne0 inet 206.171.98.29 netmask 0xffffff00 > /sbin/ifconfig ne0 inet 206.171.98.1 netmask 0xffffffff alias > # more aliases if desired. > In /etc/start_if.lo0: > /sbin/ifconfig lo0 inet 127.0.0.1 > > Reboot. > That's it Sounds simple enough. Does ifconfig automatically do routing for 206.171.98.x to all use the ne0 interface? Vince GaiaNet Corporation - Unix Networking Operations vince@GAIANET.NET - http://www.GAIANET.NET Beverly Hills, California USA 90210
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.961218112727.3152A-100000>