Linode Forum
https://forum.linode.com/

Adding private network ubuntu 14.04
https://forum.linode.com/viewtopic.php?f=19&t=11763
Page 1 of 1

Author:  tkensiski [ Wed Apr 22, 2015 12:35 am ]
Post subject:  Adding private network ubuntu 14.04

Hey everyone,

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...
Code:
sudo ifdown eth0 && sudo ifup eth0


Code:
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

Author:  levlaz [ Fri May 01, 2015 4:43 pm ]
Post subject:  Re: Adding private network ubuntu 14.04

Can you try to remove the ":0"

So instead of

Code:
# Private IP
iface eth0:0 inet static
    address 192.168.129.4/17


Make it
Code:
# Private IP
iface eth0 inet static
    address 192.168.129.4/17

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/