Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

debian jessie persistent static route not come up on boot

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
daptim
Posts: 2
Joined: 2017-03-14 13:46

debian jessie persistent static route not come up on boot

#1 Post by daptim »

I have Debian Jessie 8 running on ESXi 6. The guest is configured with 3 virtual interfaces and each of the interfaces is assigned 1 static IP address but unfortunately, when I configured the IPs in /etc/network/interfaces the interfaces were misbehaving and I had commented them out to reconfigured them via GUI. Also, each of the interfaces has a static route to 3 different location and static routes are configured as persistent. However, each time the Guest OS is rebooted only the eth0 automatically come up for the rest I have to manually issue /etc/init.d/networking restart before they come up. I have another guest running CentOS with the same configuration inside the ESXi and is running without any issue. I have read many articles online no seems to work for me. Is there any other ways to configure persistent static routes on Debian Jessie. Below is my current configuration.

Code: Select all

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

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

#The Ethernet 0 Network Interface

#auto eth0
#iface eth0 inet static
#address 172.24.91.137
#netmask 255.255.255.0
#gateway 172.24.91.1

up /sbin/route add -net 172.16.65.0 netmask 255.255.255.0 gw 172.24.91.1
down /sbin/route del -net 172.16.65.0 netmask 255.255.255.0

#The Ethernet 1 Network Interface

#auto eth1
#iface eth1 inet static
#address 10.227.47.13
#netmask 255.255.255.0
#gateway 10.227.47.1

up /sbin/route add -net 10.200.161.0 netmask 255.255.255.0 gw 10.227.47.1
down /sbin/route del -net 10.200.161.0 netmask 255.255.255.0

#The Ethernet 2 Network Interface

#auto eth2
#iface eth1 inet static
#address 10.227.49.19
#netmask 255.255.255.0
#gateway 10.227.49.3

up /sbin/route add -net 10.200.12.0 netmask 255.255.255.0 gw 10.227.49.3
down /sbin/route del -net 10.200.12.0 netmask 255.255.255.0

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: debian jessie persistent static route not come up on boo

#2 Post by arochester »

So you are running ESXi 6 and trying to virtualise Debian.

Is that the ESXi 6 Free version which will only stay unlocked for 60 days?

Or is it the ESXi 6 Paid Version where there should be paid support?

daptim
Posts: 2
Joined: 2017-03-14 13:46

Re: debian jessie persistent static route not come up on boo

#3 Post by daptim »

ESXI 6 is paid for not free version

Post Reply