Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 2010 11:13:16 +0000 (UTC)
From:      Anton Yuzhaninov <citrin@citrin.ru>
To:        freebsd-net@freebsd.org
Subject:   Re: net/mpd5: proxy arp don't work on FreeBSD 8
Message-ID:  <hmirsc$3ul$1@dough.gmane.org>
References:  <hmgmol$alh$1@dough.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?hmirsc$3ul$1>