Adding additional IPv4 to Ubuntu

Edit the interfaces file,

nano /etc/network/interfaces

Add the following into it,

auto eth0:0
iface eth0:0 inet static
address IP_ADDR
netmask NETMASK

Details for IP_ADDR and NETMASK can be found from the VPS control panel located at,

Once the interfaces file is updated,

ifup eth0:0

Should activate up the interface.

Last modified: September 01 2017 23:54:04