net/mpd5: proxy arp don't work on FreeBSD 8

Anton Yuzhaninov citrin at citrin.ru
Wed Mar 3 13:16:16 UTC 2010


On Tue, 2 Mar 2010 11:13:16 +0000 (UTC), Anton Yuzhaninov wrote:
AY> This problem can be repeated without mpd:
AY> 
AY> # ifconfig vlan408
AY> vlan408: flags=8844<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
AY>         options=3<RXCSUM,TXCSUM>
AY>         ether 00:04:23:ba:2a:7a
AY>         inet 10.25.1.244 netmask 0xffffff00 broadcast 10.25.1.255
AY> ...
AY> # kldload ng_iface
AY> # ngctl mkpeer . iface foobar inet
AY> # ifconfig ng0 192.168.100.100/32 10.25.1.245
AY> # ifconfig ng0
AY> ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1500
AY>         inet 192.168.100.100 --> 10.25.1.245 netmask 0xffffffff
AY> # arp -s 10.25.1.245 00:04:23:ba:2a:7a pub
AY> cannot intuit interface index and type for 10.25.1.245
AY> 
AY> This commands work fine on RELENG_7, but don't work on RELENG_8 or
AY> CURRENT, and it seems to be regression.

Another example:

# arp -s 10.25.1.245 auto pub
using interface vlan408 for proxy with address 00:04:23:ba:2a:7a
cannot intuit interface index and type for 10.25.1.245

arp(8) can find proper intrfeace - vlan408, but this interface is not
used (because of strange code in crenel from r201282).

-- 
WBR,
 Anton Yuzhaninov



More information about the freebsd-net mailing list