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