[ovs-dev] OVS bridge Configuration

Sgh snhz sghsnhz at gmail.com
Tue Aug 22 13:43:04 UTC 2017


Hello everyone,

I have a question about OVS configuration for the following topology. We
have three OVSs connected via wired connections.

OVS
(1)--------------------------------OVS(2)---------------------------------OVS(3)
10.0.0.1/24               10.0.0.2/24            10.0.1.1/24
10.0.1.2/24


Based on the OVS documentation, after creating a bridge and adding ports to
a bridge in the OVS, we have to remove the IP addresses of the ports and
set the IP address for the bridge.
For OVS (1) and (3), this process is straightforward since they only have
one interface. So for example for OVS(1) and its bridge (br1), I can use
the following commands:

$ ip addr flush dev eth0
$ ip addr add 10.0.0.1/24 dev br1
$ ip link set br0 up


However, for OVS (2) I do not know how to set the IP address of the bridge
(br2) since it has two interfaces with IP addresses from two different
subnets.

Do you have any suggestion?

Thanks


More information about the dev mailing list