[ovs-discuss] match arp requests from local
Marian Mihailescu
marian.mihailescu at adelaide.edu.au
Wed Sep 2 23:16:06 UTC 2015
I am trying to do some level 3 routing rules, that include setting the
source ip address. For this to works, arp requests need to be
forwarded first.
the following flow works as expected:
arp, in_port=1, actions=set_field:EXTERNAL_IP->arp_spa,output:4
and arp requests received from port 1 are forwarded to port 4, and
replies are expected on EXTERNAL_IP.
my ovs switch has no IP, and interface on port 4 has EXTERNAL_IP.
how can i do the same for requests from localhost?
arp, in_port=LOCAL, actions=set_field:EXTERNAL_IP->arp_spa,output:4
is not working, no packet is matched, and the arp requests are
generated using another interface IP (not 4). in fact, i cannot match
any arp from localhost. i can forward traffic coming in, but not my
own.
fyi, there is only 1 routing rule, default, that goes to my ovs bridge
interface, so ovs should be in charge of everything.
thanks!
More information about the discuss
mailing list