Hi, I have configured OVS_2.5.0 on RHEL6.4 with Kernel_4.1.0.

On the switch I create a flow which defines ethertype, protocol and action as:
ovs-ofctl add-flow br0 in_port=1,dl_type=0x800,nw_proto=6,action=output:2

I send traffic to port=1 and see that when I dump the data-path it matches the 
flow:
recirc_id(0),in_port(2),eth_type(0x0800),ipv4(proto=6,frag=no), 
packets:6547628, bytes:392857800, used:0.000s, actions:3

So DATAPATH DUMP + FLOWDUMP :
Datapath dump...
recirc_id(0),in_port(2),eth_type(0x0800),ipv4(proto=6,frag=no), 
packets:6547628, bytes:392857800, used:0.000s, actions:3

---------------------------------------------------------------

ofctl dump......
NXST_FLOW reply (xid=0x4):
 cookie=0x0, duration=107.017s, table=0, n_packets=6225754, n_bytes=373545420, 
idle_age=0, tcp,in_port=1 actions=output:2
---------------------------------------------------------------


Now added the bridge to SDN controller(OpenDaylight Hydrogen):
[root@rattletrap ~]# ovs-vsctl set-controller br0 tcp:192.168.0.100:6633
[root@rattletrap ~]# ovs-vsctl show
a8f7c81f-070f-4672-8c89-45608f7328d9
    Bridge "br0"
        Controller "tcp:192.168.0.100:6633"
            is_connected: true
        Port "br0"
            Interface "br0"
                type: internal
        Port "eth2"
            Interface "eth2"
        Port "eth3"
            Interface "eth3"

Now when I set the above same flow and start traffic I see that in data-path 
the src/dst MAC address are been appended :
Datapath dump...
recirc_id(0),in_port(2),eth(src=00:07:43:28:e5:80,dst=00:07:43:28:e4:40),eth_type(0x0800),ipv4(src=2.0.0.0/2.0.0.0,dst=2.0.0.0/2.0.0.0,proto=6,frag=no),
 packets:1286751, bytes:77205060, used:0.000s, actions:3

---------------------------------------------------------------

ofctl dump......
NXST_FLOW reply (xid=0x4):
 cookie=0x0, duration=53.372s, table=0, n_packets=1059375, n_bytes=63562500, 
idle_age=0, priority=500,tcp,in_port=1 actions=output:2

Is there a way to avoid this MAC address been appended in the DATA-PATH? Or is 
something missing that is causing the MAC to be part of the data-path?

Thanks
Manu
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to