Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Jul 13, 2015 2:57 pm 
Offline

Joined: Mon Jul 13, 2015 2:38 pm
Posts: 1
I have problem to bring up virtual interface for private backend network.

My etc/network/interfaces file look like this:

Code:
#loopback network interface
auto lo
iface lo inet loopback

#The primary network interface
auto eth0
allow-hotplug eth0
#iface eth0 inet dhcp

#static public
iface eth0 inet static
address X.X.X.X/24
gateway X.X.X.1

#static private
iface eth0 inet static
address 192.168.197.169/17



I'm using Remote Access on linode manager for IP's info.

I also tried many other configuration,like setting static private to eth1.eth0:0 or eth0:1

Also tried something like this:

Code:
auto lo
iface lo inet loopback

auto eth0 eth0:1
allow-hotplug etho eth0:1

iface eth0 inet static
address X.X.X.X/24
gateway X.X.X.1

iface eth0:1 inet static
address X.X.X.X/17


Also tried to replace eth0:1 to eth1 or eth0:0 in config above

I would greatly appreciate it if someone can give me some advise


Top
   
PostPosted: Fri Jul 24, 2015 4:22 pm 
Offline
Linode Staff

Joined: Mon Sep 29, 2014 4:47 pm
Posts: 90
Twitter: FelicianoTech
Try this:

Code:
auto lo
iface lo inet loopback

auto eth0 eth0:1
allow-hotplug eth0 eth0:1

iface eth0 inet static
address X.X.X.X/24
gateway X.X.X.1

iface eth0:1 inet static
address X.X.X.X/17


Notice the change in line 5. Then run:

`sudo ifdown -a && sudo ifup -a`.

You can also just turn on Network Helper for your Linode to have Linode Manager configure networking for you.


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