Hi OVS Community.
I have 1 Physical host which had docker and ovs installed.
I want to set up 2 ovs bridges (ovsbr1 and ovsbr2), each bridge has 1
container connects to (h1 and h2), here is my set up:
#### On Physical host ####
*** Create 2 bridges ***

*# ovs-vsctl add-br ovsbr1# ovs-vsctl add-br ovsbr2*
*** Set ip for bridges ****

*# ifconfig ovsbr1 172.16.1.1 netmask 255.255.255.0 up*
*# ifconfig ovsbr2 172.16.2.1 netmask 255.255.255.0 up*
*** Connect 2 containers to 2 bridges ***

*# ovs-docker add-port ovs-br1 eth1 h1 --ipaddress=172.16.1.10/24
<http://172.16.1.10/24> # ovs-docker add-port ovs-br2 eth1 h2
--ipaddress=172.16.2.10/24 <http://172.16.2.10/24>   *
*** Create link (for LLDP SDN) between ovsbr1 - ovsbr2 ***
*# ip link add veth1 type veth peer name veth2*
*# ifconfig veth1 up*
*# ifconfig veth2 up*
*# ovs-vsctl add-port ovsbr1 veth1*
*# ovs-vsctl add-port ovsbr2 veth2*

I've connected 2 ovs bridges to Floodlight and they worked fine. But when i
removed *docker0 (default docker NIC)* on each container, the containers
cannot ping each other through *eth1*.

What is my mistake? How can the containers communicate through the NIC eth1
that ovs-docker command added on them?

Thanks in advance. I appreciate any response (sorry my my bad English btw)
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to