[ovs-discuss] ARP Proxy

Tim Epkes tim.epkes at gmail.com
Sun Aug 24 23:24:31 UTC 2014


I was following a website
http://dtucker.co.uk/hack/building-a-router-with-openvswitch.html on how to
make OpenVswitch reply to ARPs for Gateway addresses.  When I put the in
the following:

# ovs-ofctl add-flow -OOpenFlow13 bridge50
"table=105,dl_type=0x0806,nw_dst=10.1.1.1,actions=move:NXM_OF_ETH_SRC[]->NXM_OF_ETH_DST[],mod_dl_src:00:00:5E:00:02:01,load:0x2->NXM_OF_ARP_OP[],move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],load:0x00005e000201->NXM_NX_ARP_SHA[],load:0x0a010101->NXM_OF_ARP_SPA[],in_port"

I received the following:

OFPT_ERROR (OF1.3) (xid=0x2): OFPBAC_BAD_ARGUMENT
OFPT_FLOW_MOD (OF1.3) (xid=0x2):
(***truncated to 64 bytes from 256***)
00000000  04 0e 01 00 00 00 00 02-00 00 00 00 00 00 00 00 |................|
00000010  00 00 00 00 00 00 00 00-69 00 00 00 00 00 80 00 |........i.......|
00000020  ff ff ff ff ff ff ff ff-ff ff ff ff 00 00 00 00 |................|
00000030  00 01 00 12 80 00 0a 02-08 06 80 00 2e 04 0a 01 |................|

Any Idea what is wrong here.  It looks correct.  I am running ovs 1.10.2

# ovs-vsctl -V
ovs-vsctl (Open vSwitch) 1.10.2
Compiled Sep 23 2013 14:53:13

I set it to OpenFlow13 mode.

# ovs-ofctl show bridge50 -OOpenFlow13
OFPT_FEATURES_REPLY (OF1.3) (xid=0x2): dpid:0000ae2488311349
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS
OFPT_GET_CONFIG_REPLY (OF1.3) (xid=0x4): frags=normal miss_send_len=0

Any help would be appreciated.  Thanks

Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140824/454638dc/attachment-0002.html>


More information about the discuss mailing list