Adding private network ubuntu 14.04
So decided to make the leap to 14.04 for a new server im setting up and im having issues setting up the private IP.
Not sure where im going wrong but this worked for 12.04 and no longer will work on 14.04
Im using this to reconfigure the interface however it does not spit out anything useful to debug with…
sudo ifdown eth0 && sudo ifup eth0
cat /etc/network/interfaces
# The loopback interface
auto lo
iface lo inet loopback
auto eth0
allow-hotplug eth0
# Public IP
iface eth0 inet static
address xx.xx.xx.136
netmask 255.255.255.0
gateway xx.xx.xx.1
# Private IP
iface eth0:0 inet static
address 192.168.129.4/17
1 Reply
So instead of
# Private IP
iface eth0:0 inet static
address 192.168.129.4/17
Make it
# Private IP
iface eth0 inet static
address 192.168.129.4/17