...
Code Block | ||
---|---|---|
| ||
s1$ sudo ovs-vsctl add-port br_ovs ethX<ethX-facing-h1h1> s1$ sudo ovs-vsctl add-port br_ovs ethY<ethY-facing-s2as2a> s1$ sudo ovs-vsctl add-port br_ovs ethZ<ethZ-facing-s2bs2b> |
4) Set the Datapath ID (DPID) of each switch according to the following convention:
...
Code Block | ||
---|---|---|
| ||
s1$ sudo ovs-vsctl set-controller br_ovs tcp:controller<controller-ip-herehere>:6653 |
6) Bring down the IP addresses of each network interface used as a data plane link. This, although not absolutely necessary, will prevent any packets from leaking from the data plane. Be careful and do not inadvertently take down your control interface or control plane link.
Code Block | ||
---|---|---|
| ||
s1$ sudo ifconfig ethX<ethX-facing-h1h1> 0.0.0.0 s1$ sudo ifconfig ethY<ethY-facing-s2as2a> 0.0.0.0 s1$ sudo ifconfig ethZ<ethZ-facing-s2bs2b> 0.0.0.0 |
7) Set the fail mode of each OVS bridge to secure.
...
Code Block | ||
---|---|---|
| ||
h1$ sudo ifconfig ethX<ethX-facing-s1s1> 10.0.0.1/24 h2$ sudo ifconfig ethY<ethY-facing-s3s3> 10.0.0.2/24 |
Controller Configuration
...