Remove gateway definitions in interfaces

The interfaces templates for /etc/network/interfaces contain 2 gateway
definitions, and there is a third one configured via DHCP when the
network comes up.

Having multiple default gateways (at least configured this way) does
not work. For instance, booting into Ubuntu 12.04.4 LTS with one of
these interface definitions results in error messages ("Waiting up to
60 more seconds for network configuration", "Booting system without
full network configuration").

With the gateways removed, the network comes up without a problem and
the hosts can communicate over the API Network, the OpenStack Management
Network, and the Data Network. (And there is still a default gateway
on the NAT interfaces of each host).

Change-Id: I3ee9737c19b696d88f9897547996cddef482b7f7
This commit is contained in:
Roger Luethi 2014-04-21 17:09:23 +02:00
parent f3b1c93f1d
commit a3afdd79b1
8 changed files with 0 additions and 14 deletions

View File

@ -16,11 +16,9 @@ auto eth0
iface eth0 inet static
address 10.10.10.53
netmask 255.255.255.0
gateway 10.10.10.1
#Expose OpenStack API over internet/external network
auto eth1
iface eth1 inet static
address 10.20.20.53
netmask 255.255.255.0
gateway 10.20.20.1

View File

@ -16,11 +16,9 @@ auto eth0
iface eth0 inet static
address 10.10.10.51
netmask 255.255.255.0
gateway 10.10.10.1
# Expose OpenStack API to External Network/Internet
auto eth1
iface eth1 inet static
address 192.168.100.51
netmask 255.255.255.0
gateway 192.168.100.1

View File

@ -16,7 +16,6 @@ auto eth0
iface eth0 inet static
address 10.10.10.52
netmask 255.255.255.0
gateway 10.10.10.1
# VM Internal Communication Network
auto eth1

View File

@ -15,11 +15,9 @@ auto eth0
iface eth0 inet static
address 10.10.10.51
netmask 255.255.255.0
gateway 10.10.10.1
# Expose OpenStack API to External Network/Internet
auto eth1
iface eth1 inet static
address 192.168.100.51
netmask 255.255.255.0
gateway 192.168.100.1

View File

@ -16,11 +16,9 @@ auto eth1
iface eth1 inet static
address 10.10.10.53
netmask 255.255.255.0
gateway 10.10.10.1
#Expose OpenStack API over internet/external network
auto eth2
iface eth2 inet static
address 10.20.20.53
netmask 255.255.255.0
gateway 10.20.20.1

View File

@ -16,11 +16,9 @@ auto eth1
iface eth1 inet static
address 10.10.10.51
netmask 255.255.255.0
gateway 10.10.10.1
# Expose OpenStack API to External Network/Internet
auto eth2
iface eth2 inet static
address 192.168.100.51
netmask 255.255.255.0
gateway 192.168.100.1

View File

@ -16,7 +16,6 @@ auto eth1
iface eth1 inet static
address 10.10.10.52
netmask 255.255.255.0
gateway 10.10.10.1
# VM Internal Communication Network
auto eth2

View File

@ -15,11 +15,9 @@ auto eth1
iface eth1 inet static
address 10.10.10.51
netmask 255.255.255.0
gateway 10.10.10.1
# Expose OpenStack API to External Network/Internet
auto eth2
iface eth2 inet static
address 192.168.100.51
netmask 255.255.255.0
gateway 192.168.100.1