[Gllug] Two IPs and one NIC

Walter Stanish walter.stanish at saffrondigital.com
Tue Mar 22 22:31:34 UTC 2011


> Dumb question of the day. Is it possible for a box two have two ip addy's one one NIC?

Yes, IIRC this is referred to as aliasing.

Generally you can implement this old-style by going 'ifconfig eth0:1
192.168.0.3'

'ifconfig -a' will then list a new interface called 'eth0:1'.

Each distro will have its own preferred way to store such a config, though.

It's also possible to rename interfaces, though generally it's not
worth bothering.

- Walter
--
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list