IP aliasing

Mike Wright xktnniuymlla at mailinator.com
Wed Dec 13 21:17:41 UTC 2006


Terry Polzin wrote:
> Does anyone still use this?
> Is it compiled into the default kernel?
> 

It is very easy to add address(es) to an interface.  From the command
line you could use the "ip" command to manipulate network devices.  You 
can also add routes and bring devices up and down, change their MAC, and 
many other fun things.

ip addr add 1.2.3.4/24 dev eth5
ip addr add 2.3.4.5/16 dev eth5
ip addr add 3.4.5.6/8 dev eth5

You would now have 3 addresses on different width subnets on one network 
device.

Its man page is very terse but gives a very good idea of its power.

:m)




More information about the fedora-list mailing list