Static IP in Ubuntu
- edit /etc/network/interfaces (eg. mcedit /etc/network/interfaces)
- Set the parameters based on your ethernet card details (in this example we use eth0 and we also set secondary interface to eth0:0)
- restart network by: /etc/init.d/networking restart