From 68eb71d186116be75929e0d9841b36db7de29a73 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Tue, 24 Feb 2015 10:16:33 +0000 Subject: Deallocate IP address from bound interface after binding If we leave that interface with its address, then the routing table is incorrect, as it will try to send connections out from an interface that cannot handle them. --- .../openstack/openstack-neutron-network-configuration-for-one-node | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openstack/usr/share/openstack/openstack-neutron-network-configuration-for-one-node b/openstack/usr/share/openstack/openstack-neutron-network-configuration-for-one-node index 28a1c452..f40ceff5 100644 --- a/openstack/usr/share/openstack/openstack-neutron-network-configuration-for-one-node +++ b/openstack/usr/share/openstack/openstack-neutron-network-configuration-for-one-node @@ -38,6 +38,9 @@ ovs-vsctl add-br br-eth0 ovs-vsctl add-port br-eth0 $eth_dev ifconfig br-eth0 $eth_ip up ip link set br-eth0 promisc on +# Deallocate ip address for external interface so we don't try to route +# connections out of an interface that no longer works +ip addr del $eth_ip dev $eth_dev ovs-vsctl add-br br-eth1 ovs-vsctl add-br br-ex ovs-vsctl add-port br-eth1 eth1-br-proxy -- cgit v1.2.1