> From: discuss [mailto:[email protected]] On Behalf Of jaafar > BENDRISS > Sent: 18 August 2016 10:28 > To: [email protected] > Subject: [ovs-discuss] OVS Configuration problem > > I have a VM spawned in Openstack. I want in this VM to reach Internet via an > OVS switch. > The problem seems easy, many tutorials have talked about it, but I am stucked > in some uncanny problems. > My VM has 2 eth interfaces: eth0 (used for ssh) and eth1 (this is where I > want to plug the OVS bridge)
Here are the steps I use. It is important to use the IP and MAC on the bridge that Neutron allocated for the port, as it applies antispoofing filters. ip address del 172.16.34.5/24 dev eth1 ovs-vsctl add-br br-eth1 ovs-vsctl add-port br-eth1 eth1 cat /sys/class/net/eth1/address fa:16:3e:ba:ec:b8 ip link set dev br-eth1 address fa:16:3e:ba:ec:b8 ip link set dev eth1 up ip link set dev br-eth1 up ip address add 172.16.34.5/24 dev br-eth1 _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
