Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2013 17:17:15 -0800 (PST)
From:      Jin Guojun <jguojun@sbcglobal.net>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        questions freebsd <questions@freebsd.org>
Subject:   Re: Why ue0 do ARP on non local address when using static route?
Message-ID:  <1360804635.42599.YahooMailRC@web180901.mail.ne1.yahoo.com>
In-Reply-To: <8EFB78FF-51C4-4C69-AB6C-D2B239AF7E2B@mac.com>
References:  <1360787737.17354.YahooMailRC@web180906.mail.ne1.yahoo.com> <4A4F390A-3F42-41ED-9D19-EB4CE20DB148@mac.com> <1360793841.81458.YahooMailRC@web180902.mail.ne1.yahoo.com> <8EFB78FF-51C4-4C69-AB6C-D2B239AF7E2B@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@mac.com>
To: Jin Guojun <jguojun@sbcglobal.net>
Cc: questions freebsd <questions@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
From owner-freebsd-questions@FreeBSD.ORG  Thu Feb 14 01:34:59 2013
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: questions@freebsd.org
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
 by hub.freebsd.org (Postfix) with ESMTP id AA41FB75
 for <questions@freebsd.org>; Thu, 14 Feb 2013 01:34:59 +0000 (UTC)
 (envelope-from freebsd-questions-local@be-well.ilk.org)
Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173])
 by mx1.freebsd.org (Postfix) with ESMTP id 6088FCDB
 for <questions@freebsd.org>; Thu, 14 Feb 2013 01:34:59 +0000 (UTC)
Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41])
 by be-well.ilk.org (Postfix) with ESMTP id A9C2433C1D;
 Wed, 13 Feb 2013 20:34:47 -0500 (EST)
Received: by lowell-desk.lan (Postfix, from userid 1147)
 id E65D339843; Wed, 13 Feb 2013 20:34:46 -0500 (EST)
From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To: Jin Guojun <jguojun@sbcglobal.net>
Subject: Re: Why ue0 do ARP on non local address when using static route?
References: <1360787737.17354.YahooMailRC@web180906.mail.ne1.yahoo.com>
 <4A4F390A-3F42-41ED-9D19-EB4CE20DB148@mac.com>
 <1360793841.81458.YahooMailRC@web180902.mail.ne1.yahoo.com>
 <8EFB78FF-51C4-4C69-AB6C-D2B239AF7E2B@mac.com>
 <1360804635.42599.YahooMailRC@web180901.mail.ne1.yahoo.com>
Date: Wed, 13 Feb 2013 20:34:46 -0500
In-Reply-To: <1360804635.42599.YahooMailRC@web180901.mail.ne1.yahoo.com> (Jin
 Guojun's message of "Wed, 13 Feb 2013 17:17:15 -0800 (PST)")
Message-ID: <447gmbfzk9.fsf@lowell-desk.lan>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix)
MIME-Version: 1.0
Content-Type: text/plain
Cc: questions freebsd <questions@freebsd.org>
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: questions@freebsd.org
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Feb 2013 01:34:59 -0000

Jin Guojun <jguojun@sbcglobal.net> writes:

> 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.

Your first message showed an overriding route for the gateway address. 
Are you sure that the ARP is happening on the interface for the
gateway's network? According to the routing table you posted, it should
be hitting the loopback interface, but not leaving the box.



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