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…

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

Can you try to remove the ":0"

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

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct