I was in need of a VirtualBox image having 2 IP adresses on Ubuntu server:
[code:1:42cbf3d800]auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address aaa.aaa.aaa.aaa
netmask 255.255.254.0
gateway bbb.bbb.bbb.bbb
dns-nameservers ccc.ccc.ccc.ccc ddd.ddd.ddd.ddd eee.eee.eee.eee
dns-search vps-number.com
auto eth0:0
iface eth0:0 inet static
address fff.fff.fff.fff
netmask 255.255.254.0[/code:1:42cbf3d800]
[b:42cbf3d800]Source:[/b:42cbf3d800]
https://askubuntu.com/questions/313877/how-do-i-add-an-additional-ip-address-to-etc-network-interfaces/313887#313887
Leave a Reply