assigning multiple IP's to one NIC

Remco Lubbers rpl at concepts.nl
Mon Mar 29 17:38:20 GMT 2004


We useally assign a full c-class to one server, depending on the machine,
devided over 1 to 3 NIC's.
In RedHat and derivates one can simply assing one or more ranges of
IP-addresses to one NIC by using /etc/sysconfig/ifcfg-ethX-rangeX.
With another distro I use something like
[code]
for i in `seq 1 254`; 
	do echo "ifconfig eth0:$i xx.yy.zz.$i netmask 255.255.255.0 up" ; 
done
[/code]
I looked at /etc/init.d/network, but couldn't find a way to set
networkdevice-aliases within Lunar. have I overlooked something?

Cheers!

Remco

-- 
Remco P. Lubbers (rpl at concepts.nl)
| Linux kernel 2.4.25 | Lunar 1.4.0 | XFce 4.0.4 | Pronto! 2.4.0 |



More information about the Lunar mailing list