IP Aliasing

Derrik Pates dpates@dsdk12.net
Wed, 1 Aug 2001 07:19:03 -0600 (MDT)


On Wed, 1 Aug 2001, Florent wrote:

> I have read that IP Aliasing is deprecated in kernels 2.4.x, could someone give me some more informations about what is done te replace it?

IP aliasing isn't deprecated, but the ethX:Y aliasing mechanism is. Get
and use iproute2 (search freshmeat.net for it) for adding addresses. The
syntax for adding an alias to an interface with it is:

    ip addr add 192.168.0.53/24 dev eth0

for an address of 192.168.9.53 with a netmask of 255.255.255.0 (24 bits),
on eth0.

Derrik Pates      |   Sysadmin, Douglas School   |    #linuxOS on EFnet
dpates@dsdk12.net |     District (dsdk12.net)    |    #linuxOS on OPN