assigning multiple IP's to one NIC
Remco Lubbers
rpl at concepts.nl
Mon Mar 29 19:17:52 GMT 2004
Op Mon, 29 Mar 2004 17:44:59 +0200 schreef Auke Kok aan Remco Lubbers
<rpl at concepts.nl>,Lunar general discussion list <lunar at lunar-linux.org>:
> >I looked at /etc/init.d/network, but couldn't find a way to set
> >networkdevice-aliases within Lunar. have I overlooked something?
> it actually works nicely with 'lnet', our little networking setup tool
> just add interfaces named 'eth0:1' etc and you'll be able to configure
> them as usual. I've used this method quite a few times.
Ah, well, I did find that out, but I didnt' feel like doing that 254 times per
server, there must be an easier way ;-)
> unfortunately that's all manual work, but if you autogenerate the
> corresponding files that get generated by lnet in /etc/config.d/network
> you should be able to find out easily howto.
but isn't it much slower to read 254 small files than generating a range of 254
aliases out of 2 small files?
I think I'll see if I can expand the /etc/init.d/network so that if it finds a
range-file in /etc/config.d/network/ it adds those as an alias.
First I'll have to find a little time :-(
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