Why ue0 do ARP on non local address when using static route?

Jin Guojun jguojun at sbcglobal.net
Thu Feb 14 01:17:18 UTC 2013


man page says that ethernet-address  (MAC) + fully-qualified-host-name (FQHN).
The issue is that host cannot resolve the address by using FQHN, thus no ARP any 
more, but no traffic either.

After adding FQDH in the /etc/hosts file then, ARP request uses FQHN instead of 
IP (10.237.148.52).

The question is why ARP occurs?
The subnet (10.227.148.0) is not matching with the local network/netmask 
(10.234.37.0/24) unless somewhere in the system is using default 255.0.0.0 
netmask for 10.0 A class network by mistake.




________________________________
From: Chuck Swiger <cswiger at mac.com>
To: Jin Guojun <jguojun at sbcglobal.net>
Cc: questions freebsd <questions at freebsd.org>
Sent: Wed, February 13, 2013 2:33:57 PM
Subject: Re: Why ue0 do ARP on non local address when using static route?

On Feb 13, 2013, at 2:17 PM, Jin Guojun wrote:
> /etc/ethers does not help because there is no way resolve the IP by QFHN in 
>ethers.

I'm not sure what "QFHN" is, but setting up an entry in /etc/ethers provides the 
IP to MAC address mapping that ARP attempts to provide dynamically.

> The correct way is to use router IP (10.234.37.1) between 10.234.37.0 and 
>10.227.148.0 instead of interface IP (10.234.37.80) for static route.

Assuming there's a router at 10.234.37.1 which knows how to get to 
10.227.148.52, yes.

Regards,
-- 
-Chuck


More information about the freebsd-questions mailing list