LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] 3 IP's one machine?

[ILUG] 3 IP's one machine?

Thomas Bridge thomas.bridge at via-net-works.ie
Tue Jun 20 12:47:42 IST 2000


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





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell