[ovs-dev] Fwd: OVS bridge configuration issue

Hitesh Wadekar hitesh.wadekar at gmail.com
Thu Apr 10 19:53:39 UTC 2014


Hello Guys,

Currently we are working on SDN project with OVS. so we are doing some exp
on OVS. Here is our configuration.

We have created a bridge br1 and add two ports eth2 and eth3

"
ovs:~% sudo ovs-ofctl show br1
OFPT_FEATURES_REPLY (xid=0x1): dpid:0000da75f850764d
n_tables:255, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST
SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
 1(eth3): addr:02:59:c7:6c:06:45
     config:     0
     state:      0
     speed: 100 Mbps now, 100 Mbps max
 2(eth2): addr:02:c9:2a:bc:03:ca
     config:     0
     state:      0
     speed: 100 Mbps now, 100 Mbps max
 LOCAL(br1): addr:da:75:f8:50:76:4d
     config:     0
     state:      0
     current:    10MB-FD COPPER
     speed: 10 Mbps now, 100 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x3): frags=normal miss_send_len=0
"

eth2-> added host1 (10.10.1.1) (02:b1:04:09:2c:72)
eth3-> added host3 (10.10.2.3) (02:31:6a:77:b4:39)

In order to ping from host1 to host3, we added these flows in br1

host1 to host3:
sudo ovs-ofctl add-flow br1
"table=0,priority=65535,in_port=1,dl_type=0x0800,dl_src=02:31:6a:77:b4:39,dl_dst=02:b1:04:09:2c:72,nw_src=10.10.2.3,nw_dst=10.10.1.1,actions=output:2"
sudo ovs-ofctl add-flow br1
"table=0,priority=65535,in_port=2,dl_type=0x0800,dl_src=02:b1:04:09:2c:72,dl_dst=02:31:6a:77:b4:39,nw_src=10.10.1.1,nw_dst=10.10.2.3,actions=output:1"

host1 to br1:
sudo ovs-ofctl add-flow br1
"table=0,priority=65535,in_port=2,dl_type=0x0800,dl_src=02:b1:04:09:2c:72,dl_dst=02:59:c7:63:06:45,actions=LOCAL"
sudo ovs-ofctl add-flow br1
"table=0,priority=65535,in_port=LOCAL,dl_type=0x0800,dl_src=02:59:c7:63:06:45,dl_dst=02:b1:04:09:2c:72,actions=output:2"

host3 to br1:
sudo ovs-ofctl add-flow br1
"table=0,priority=65535,in_port=1,dl_type=0x0800,dl_src=02:31:6a:77:b4:39,dl_dst=02:59:c7:63:06:45,actions=LOCAL"
sudo ovs-ofctl add-flow br1
"table=0,priority=65535,in_port=LOCAL,dl_type=0x0800,dl_src=02:59:c7:63:06:45,dl_dst=02:31:6a:77:b4:39,actions=output:1"


But we are able to see arp packet traffic or of messages at br1 using
tcpdump and snoop commands, however, we are not able to ping host 1 to host
3 and vice versa.

I am not sure what we are missing, kindly let me know what we are missing.

Thanks,
Hitesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20140410/11088092/attachment-0005.html>


More information about the dev mailing list