freebsd-src/usr.sbin/arp
Lexi Winter 2356b60be7 arp(8): allow -i with -s
arp(8) usually disallows adding a static ARP entry for an IP address
which is not configured on a local interface.

Change this to allow such ARP entries to be added if '-i' is provided to
specify the interface the ARP entry relates to.

Due to limitations in the kernel lltable, this still requires that a
host route exists for the target address, but allows static ARP entries
to be configured to proxy ARP for, e.g., local jails which use an IPv4
address with a /32 route.

Reviewed by: imp, zlei
Pull Request: https://github.com/freebsd/freebsd-src/pull/1220
2024-05-23 14:02:57 -06:00
..
arp_netlink.c arp(8): fix a typo in error message for -s/-S 2024-05-04 09:02:42 -06:00
arp.4 usr.sbin: Remove ancient SCCS tags. 2023-11-26 22:23:56 -07:00
arp.8 arp.8: don't document a syntax that doesn't exist 2024-05-09 17:26:52 -06:00
arp.c arp(8): allow -i with -s 2024-05-23 14:02:57 -06:00
arp.h arp(8): fix by-interface and by-host filtering when using netlink 2023-09-14 10:14:10 +02:00
Makefile usr.sbin: Remove ancient SCCS tags. 2023-11-26 22:23:56 -07:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00