Table of Contents

Ubuntu - Networking - Configuration - Virtual Network Interfaces - Configure Permanent Virtual Network Interface

For a Static IP

Edit /etc/network/interfaces:

/etc/network/interfaces
iface eth0:0 inet static
address 123.123.123.123
netmask 255.0.0.0
broadcast 123.255.255.255

For a Dynamic IP

Edit /etc/network/interfaces:

/etc/network/interfaces
iface eth0:0 inet dhcp