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

Anton Yuzhaninov citrin at citrin.ru
Tue Mar 2 11:13:31 UTC 2010


On Mon, 1 Mar 2010 15:33:41 +0000 (UTC), Anton Yuzhaninov wrote:
AY> mdp can't add proxy arp record. From mpd logs:
AY> Mar  1 15:10:34 x0001 mpd: [B-1] IFACE: Add address 10.25.1.240/32->10.25.1.241 to ng0
AY> Mar  1 15:10:34 x0001 mpd: [B-1] exec: /usr/sbin/arp -S 10.25.1.241 0:15:17:35:1c:22 pub
AY> Mar  1 15:10:34 x0001 mpd: [B-1] system: command "/usr/sbin/arp" returned 256

This problem can be repeated without mpd:

# ifconfig vlan408
vlan408: flags=8844<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=3<RXCSUM,TXCSUM>
        ether 00:04:23:ba:2a:7a
        inet 10.25.1.244 netmask 0xffffff00 broadcast 10.25.1.255
...
# kldload ng_iface
# ngctl mkpeer . iface foobar inet
# ifconfig ng0 192.168.100.100/32 10.25.1.245
# ifconfig ng0
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1500
        inet 192.168.100.100 --> 10.25.1.245 netmask 0xffffffff
# arp -s 10.25.1.245 00:04:23:ba:2a:7a pub
cannot intuit interface index and type for 10.25.1.245

This commands work fine on RELENG_7, but don't work on RELENG_8 or
CURRENT, and it seems to be regression.

-- 
WBR,
 Anton Yuzhaninov



More information about the freebsd-net mailing list