Add additional IP to nic (Debian/Ubuntu)

Edit /etc/network/interfaces

auto eth0:1
iface eth0:1 inet static
address 192.168.1.7
netmask 255.255.255.0
broadcast 192.168.1.255
network 192.168.1.0


The issue an /etc/init.d/networking restart

Please Register.


If you wish to add comments.
Cheers
Adam