Proxy arp should only replay on specified interface.
glebius at FreeBSD.org
Mon Oct 10 03:32:21 PDT 2005
On Fri, Oct 07, 2005 at 05:58:55PM +0300, Iasen Kostov wrote:
I> IMHO proxy arp should only replay on specified interface not on every
I> arp capable interface which recieved request for the proxied address.
I> If lets say host A have arp capable if0 and if1 interfaces and U set:
I> route add -host 184.108.40.206 -iface if1 -proxy
I> and then a request is recieved on if0 for 220.127.116.11, host A will replay
I> that it has it (which IMHO is wrong as the proxy route is set for if1).
I> This sometimes is a big problem for our PPPoE/VPN server when the
I> client uses linux or some small routers (e.g Linksys or something)
I> probably linux based. It happen that sometimes (when the link is down or
I> god knows why) it broadcasts arp "who-has" and the gateway replays. Then
I> this host try to use ethernet path and not the (right) tunnel path until
I> arp cache expires (which is not real fun as there is firewall rules
I> blocking ethernet path :)).
I> And even worse :) - I can think of ways to bypass routing protocols
I> using proxy-arp routes like the one mentioned above. But it will not
I> work if proxy-arp behaves the way it does now.
I> And 1 thing more - there could be a switch which restores (or turns on)
I> old behavior.
I> (patch agains 5.4-STABLE is attached)
Isn't this what you need?
Totus tuus, Glebius.
More information about the freebsd-net