controller1   eth2    ---     eth2     
controller2
                                              |                                 
                  |
                                              |                                 
                  |
   10.1.1.2  eth0  ----  eth1 | ovs1 | eth0  --------------  eth1 | ovs2 |eth0  
-----eth0- Host1(10.1.1.1)
     pc1                                 pc2                            pc3     
                          pc4   

I create the topology as follow :

 pc2 :
ovs-vsctl add-br ovs0
ovs-vsctl add-port ovs0 eth0
ovs-vsctl add-port ovs0 eth1
ovs-vsctl set-controller ovs0 tcp:127.0.0.1:6653

pc3
ovs-vsctl add-br ovs0
ovs-vsctl add-port ovs0 eth0
ovs-vsctl add-port ovs0 eth1
ovs-vsctl set-controller ovs0 tcp:127.0.0.1:6653

controller1 connect to  contorller2  with eth2

now  the ping  from pc1 to  pc4  disconnect.  the flow rule of pc2 is write 
correctly. 

cookie=0x20000000000000, duration=4456.775s, table=0, n_packets=4456, 
n_bytes=436688, idle_timeout=5, idle_age=0, 
priority=1,ip,in_port=3,dl_src=2c:53:4a:01:8f:bb,dl_dst=00:50:11:e0:13:a6,nw_src=10.1.1.1,nw_dst=10.1.1.2
 actions=output:7

capture packet with tcpdump  at the pc2 eth0 ,  icmp send from  eth0  correctly
capture packet with tcpdump  at the pc3 eth1,   icmp from eth2 is received 
correctly
capture packet with tcpdump  at the pc3 lo,  packet in is send, but the 
controller cannot receive packet in.

what I have tried : 
1.  if I set the ovs0 at pc2 and ovs0 at pc3 with same controller(controller1 
or contoller2) , the ping  will be ok.
2.  set eth0  at pc2 and eth1 at pc3 with type patch port. It still cannot work.

any help  will be much appreciated.

Thinks.

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to