At 12:37 20/06/00 +0100, Colm Buckley wrote:
>Of course.
>>ifconfig eth0 192.168.1.1 netmask 255.255.255.0 # Main IP address on card 1
>ifconfig eth0:0 192.168.2.1 netmask 255.255.255.0 # Second IP address on
>card 1
>ifconfig eth0:1 200.199.198.197 netmask 255.255.0.0 # Third
>>ifconfig eth1 172.16.12.2 netmask 255.240.0.0 # Main address on card 2
>ifconfig eth1:0 192.168.100.1 netmask 255.255.255.0 # Card 2, address 2
>>... and so on.
One thing you need to do as well is ensure IP Aliasing is compiled into the
kernel - this seems to be usual with default distribution kernels but if
you've done up your kernel.
T.
Thomas Bridge 26 Upper Fitzwilliam St.,
Senior Hostmaster/Sysadmin, Dublin 2,
VIA NET.WORKS Ireland. Ph: +353 1 6763600
thomas.bridge at via-net-works.ie Fax: +353 1 6627674
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!