Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2025 05:46:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 290221] [netlink] default build of /usr/sbin/arp is broken for proxyarp
Message-ID:  <bug-290221-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290221

            Bug ID: 290221
           Summary: [netlink] default build of /usr/sbin/arp is broken for
                    proxyarp
           Product: Base System
           Version: 14.3-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: eugen@freebsd.org
                CC: ae@FreeBSD.org, glebius@FreeBSD.org
             Flags: mfc-stable15?, mfc-stable14?

Arp proxying with /usr/sbin/arp is broken since it switched to NETLINK.
Here is "how to repeat":

# ifconfig tun0 create inet 10.0.0.1 10.11.0.1 netmask 255.255.255.255
# ifconfig tun0
tun0: flags=3D1008051<UP,POINTOPOINT,RUNNING,MULTICAST,LOWER_UP> metric 0 m=
tu
1500
        options=3D4080000<LINKSTATE,MEXTPG>
        inet 10.0.0.1 --> 10.11.0.1 netmask 0xffffffff
        groups: tun
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
# route add -host 10.0.0.233 -iface tun0
add host 10.0.0.233: gateway tun0
# /usr/sbin/arp -s 10.0.0.233 60:be:b4:4:94:65 pub
arp: set: 10.0.0.233: Invalid argument (NDA_LLADDR address length (6) is
different from expected (0))

Here 60:be:b4:4:94:65 is MAC address of LAN igc0 interface having IP address
10.0.0.1/24

A workaround is to rebuild /usr/sbin/arp WITHOUT_NETLINK_SUPPORT so it uses
rtsock instead. Then it works again.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-290221-227>