Revision history [back]

click to hide/show revision 1
initial version

On the network node there also needs to be an external bridge - usually configured with the name br-ex. Have you added this external bridge using command ovs-vsctl add-br br-ex ?

The connectivity on the network node is as follows: An external bridge is to be created (br-ex) using above mentioned command. This external bridge should be used to bridge your integration bridge (br-int) and external interface (in your case eth0 as I understand). Thus you need to add the eth0 interface to your br-ex bridge using command ovs-vsctl add-port br-ex eth0

Once this is done, you need to update your /etc/network/interfaces file with the following two set of entries - for eth0 and for br-ex [I guess you must be missing the br-ex entry - where you have assign the IP address in the range of your external network and gateway to this br-ex. Also you should configure your eth0 interface in promiscuous mode]

auto eth0 iface eth0 inet manual up ifconfig \$IFACE 0.0.0.0 up up ip link set \$IFACE promisc on down ip link set \$IFACE promisc off down ifconfig \$IFACE down

auto br-ex iface br-ex inet static address 202.112.113.213 netmask 255.255.255.0 gateway 202.112.113.1 dns_nameservers your_dns_servers

Once you do this, just reboot your server once so any existing IP set on eth0 or any configurations you might have tried will not have effect and the configurations will be set afresh.

If this does not work for you, please share the output of ifconfig -a ovs-vsctl show cat /etc/network/interfaces

HTH.

On the network node there also needs to be an external bridge - usually configured with the name br-ex. Have you added this external bridge using command ovs-vsctl add-br br-ex ?

The connectivity on the network node is as follows: An external bridge is to be created (br-ex) using above mentioned command. This external bridge should be used to bridge your integration bridge (br-int) and external interface (in your case eth0 as I understand). Thus you need to add the eth0 interface to your br-ex bridge using command ovs-vsctl add-port br-ex eth0

Once this is done, you need to update your /etc/network/interfaces file with the following two set of entries - for eth0 and for br-ex [I guess you must be missing the br-ex entry - where you have assign the IP address in the range of your external network and gateway to this br-ex. Also you should configure your eth0 interface in promiscuous mode]

auto eth0 eth0

iface eth0 inet manual manual

up ifconfig \$IFACE 0.0.0.0 up
  up ip link set \$IFACE promisc on
  down ip link set \$IFACE promisc off
  down ifconfig \$IFACE down

down

auto br-ex br-ex

iface br-ex inet static static

address 202.112.113.213 202.112.113.213

netmask 255.255.255.0 255.255.255.0

gateway 202.112.113.1 202.112.113.1

dns_nameservers your_dns_servers

Exclude the extra line feeds in the post - I had to add, other wise it was appearing as a single line. Once you do this, just reboot your server once so any existing IP set on eth0 or any configurations you might have tried will not have effect and the configurations will be set afresh.

If this does not work for you, please share the output of ifconfig -a ovs-vsctl show cat /etc/network/interfaces

HTH.