debian jessie persistent static route not come up on boot

Kernels & Hardware, configuring network, installing services

debian jessie persistent static route not come up on boot

Postby daptim » 2017-03-14 15:52

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
daptim
 
Posts: 2
Joined: 2017-03-14 13:46

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

Postby arochester » 2017-03-14 18:49

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?
arochester
 
Posts: 823
Joined: 2010-12-07 19:55

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

Postby daptim » 2017-03-15 07:21

ESXI 6 is paid for not free version
daptim
 
Posts: 2
Joined: 2017-03-14 13:46


Return to System configuration

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable