Ubuntu second static IP, ifconfig, /etc/network/interfaces
- by Schmoove
I would like to add a second static IP to my local Ubuntu 11.10 desktop machine and have it automatically available after rebooting. So far I am successfully using ifconfig to to temporarily set up an alias for my primary network interface:
# ifconfig eth1:0 192.168.178.3 up
# ifconfig
eth1 Link encap:Ethernet HWaddr c8:60:00:ef:a3:d9
…