Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Oct 12, 2014 5:34 pm 
Offline

Joined: Sun Oct 12, 2014 5:27 pm
Posts: 1
Hi,

The following configuration works on ubuntu 12.04, I was able to setup static and a private ip addresses, however when I try the same thing on ubuntu 14.04, I get the following error:

RTNETLINK answers: File exists
Failed to bring up eth0.
RTNETLINK answers: File exists
Failed to bring up eth0:1.

Could you please give me a hint about this? I could not find anything about this on the web.

/etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
# auto eth0
# iface eth0 inet dhcp
auto eth0 eth0:1

# The address and gateway are necessary.
# The netmask is taken automatically from the block.
# Example: /24 is considered to be a public IP address: netmask 255.255.255.0
iface eth0 inet static
address 212.71.233.178/24
gateway 212.71.233.1

# This is a private IP address. Private IPs do not have a gateway (they are not$
# All you need to specify is the address and the block. The netmask is taken fr$
# Example: /17 is considered to be a private IP address: netmask 255.255.128.0
iface eth0:1 inet static
address 192.168.132.42/17

Thanks in advance


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group