Bug 233015 - arp -s weird error with non-local IPs
Summary: arp -s weird error with non-local IPs
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: arm64 Any
: --- Affects Only Me
Assignee: freebsd-net (Nobody)
URL:
Keywords:
: 233016 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-11-06 07:29 UTC by vince@macports.org
Modified: 2018-11-09 01:57 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vince@macports.org 2018-11-06 07:29:10 UTC
arp -s reports a weird error “cannot allocate memory” when instructed to masquerade an ARP - IP entry whose IP is out of the local network window (e.g. 172.31.1.0 on a 172.31.0.0/24 network).

It would be more informative for the user to have the error reported as an “out of range IP” or something of the same ilk, since “cannot allocate memory” gives the false impression something is broken within the kernel.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2018-11-08 23:40:03 UTC
*** Bug 233016 has been marked as a duplicate of this bug. ***