[ILUG] IP aliases...

Jerry Walsh jerry at aardvark.ie
Tue May 22 10:34:21 IST 2001


On BSD you'd your `ifconfig` or set it in your /etc/rc.conf which would use 
ifconfig anyway.

The syntax is:

ifconfig xl0 192.168.0.2 netmask 255.255.255.255 alias
ifconfig xl0 192.168.0.3 netmask 255.255.255.255 alias
ifconfig xl0 192.168.0.4 netmask 255.255.255.255 alias

Regards,

Jerry.


At 10:28 22/05/01 +0100, you wrote:
>  Could people that have used a few distributions help me out here...I'm
>wondering how different OSes handle the addition of virtual IP addresses.
>RedHat has a nice simple way of doing it (for the user) - but the
>implementation is quite complex. You have an ifcfg-eth0-rangeN file,
>which contains something like;
>
>NO_ALIASROUTING=yes
>IPADDR_START=172.24.50.1
>IPADDR_END=172.24.50.16
>CLONENUM_START=10
>
>  Where N is a range number. This would give sixteen IP aliases in the
>172.24.50.16/28 network. How do BSD/Debian etc. do it ?
>
>Kate
>
>--
>  When I say 'free', I mean 'free': free from bond, of chain or command:
>to go where you will, even to Mordor, Saruman, if you desire. "
>     -- Gandalf, paraphrasing the choice between Free and Non-free software
>
>--
>Irish Linux Users' Group: ilug at linux.ie
>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
>List maintainer: listmaster at linux.ie





More information about the ILUG mailing list