[ovs-discuss] OVS and VM linear topology

AMER amer7777 at hotmail.com
Sun Mar 15 10:38:46 UTC 2015


Hi Lucas

I saw your comments in this email:
http://openvswitch.org/pipermail/discuss/2013-October/011742.html


However, I have the following topology
h1 --->vm1---->vm2---> h2

all of the nodes and switches are Virtualbox and I tested the connectivity before implementing the OVS, it was OK.

h1 ip 192.168.56.3
h2 ip 192.168.57.7
br0 192.168.56.4
br1 192.168.57.4

I have added the following rules to br0(vm1)
ovs-ofctl add-flows br0 table=0, priority=99, dl_type=0x800, nw_dst=192.168.56.3, actions=output:1
ovs-ofctl add-flows br0 table=0, priority=99, dl_type=0x800, nw_dst=192.168.57.7, actions=output:2
ovs-ofctl add-flows br0 table=0, priority=99, dl_type=0x800, nw_dst=192.168.54.4, actions=LOCAL # to make the ping pass through to local port

note the following:
h1 needs a gateway to communicate with 192.168.57.7, because they are in different subnets
when i add the above rules to the bridge h1 can not ping br0(192.168.56.4)

I do not know how to solve this issue?

I do not add the bridges to /etc/network/interfaces, I do not know what is the appropriate config i did not enable ip forwarding, should i enable it in hosts and bridges 
best regards,
amer


Eng Amer Alghadhban

COE

SANS-GCFW

CEH, SCNP, CCNA
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150315/ac6d9eff/attachment-0002.html>


More information about the discuss mailing list