  | |  | IP aliasing | IP aliasing 2003-07-01 - By Jason Dale
Back Hi,
Does anyone know how to add an alias to a network interface? for example, get 'eth0' to respond to more than 1 IP address? do I need to compile this option into the kernel?
I assume the system would reflect this as eth0:1, eth0:2 etc for as many aliases that you have on the same physical card.
If I reboot the machine, will the system keep these aliases?
Lastly, in a machine with multiple network cards, how does the system handle the 'ordering' of the network card names, such as 'eth0' 'eth1' etc? does it select this name according to which PCI slot you use , or according to whichever card was added first, irrespective of the PCI slot?
Jason
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=iso-8859-1" http-equiv=Content-Type> <META content="MSHTML 5.00.3315.2870" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial>Hi, </FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial>Does anyone know how to add an alias to a</FONT></DIV> <DIV><FONT face=Arial>network interface? for example, get 'eth0' to </FONT></DIV> <DIV><FONT face=Arial>respond to more than 1 IP address? do</FONT></DIV> <DIV><FONT face=Arial>I need to compile this option into the </FONT></DIV> <DIV><FONT face=Arial>kernel?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial>I assume the system would reflect this as</FONT></DIV> <DIV><FONT face=Arial>eth0:1, eth0:2 etc for as many aliases that</FONT></DIV> <DIV><FONT face=Arial>you have on the same physical card.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial>If I reboot the machine, will the system keep these aliases?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial>Lastly, in a machine with multiple network cards, how does the system handle the 'ordering' of the network card names, such as</FONT></DIV> <DIV><FONT face=Arial>'eth0' 'eth1' etc? does it select this name according to which PCI slot you use, or </FONT></DIV> <DIV><FONT face=Arial>according to whichever card was added first, </FONT></DIV> <DIV><FONT face=Arial>irrespective of the PCI slot?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial>Jason</FONT></DIV></BODY></HTML>
Earn $52 per hosting referral at Lunarpages.
|
|
 |