From owner-freebsd-net@FreeBSD.ORG Wed Apr 7 11:40:13 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1374E16A4CE; Wed, 7 Apr 2004 11:40:13 -0700 (PDT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1350343D39; Wed, 7 Apr 2004 11:40:12 -0700 (PDT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i37IgxnA074516 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Apr 2004 21:43:01 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i37IchL7001057; Wed, 7 Apr 2004 21:38:43 +0300 (EEST) (envelope-from ru) Date: Wed, 7 Apr 2004 21:38:43 +0300 From: Ruslan Ermilov To: Luigi Rizzo Message-ID: <20040407183843.GA960@ip.net.ua> References: <20040407105748.C13115@xorpc.icir.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline In-Reply-To: <20040407105748.C13115@xorpc.icir.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: net@FreeBSD.org Subject: Re: arp entries for local interfaces disappearing ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Apr 2004 18:40:13 -0000 --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 07, 2004 at 10:57:48AM -0700, Luigi Rizzo wrote: > Can someone explain why, in my arp table, i don't have an > entry for my local machine ? I just noticed this by chance, > on my 4.9 box at the office, and now again at home: >=20 > > ifconfig > rl0: flags=3D8843 mtu 1500 > inet 10.0.1.55 netmask 0xffffff00 broadcast 10.0.1.255 > inet 10.1.1.236 netmask 0xffffff00 broadcast 10.1.1.255 > ether 00:40:f4:34:b1:4b > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=3D8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000=20 > > arp -na > ? (10.0.1.52) at 00:02:2d:08:a3:3b on rl0 [ethernet] > ? (10.0.1.64) at 52:54:05:de:99:7c on rl0 [ethernet] > >=20 >=20 > the interface is actually up and moving traffic -- the box is talking > to 10.0.1.52. > The route magically reappears if i try to open a session to the > local box using the interface's address: >=20 > > ssh 10.0.1.55 > ... bla bla bla ... > > arp -na > ? (10.0.1.52) at 00:02:2d:08:a3:3b on rl0 [ethernet] > ? (10.0.1.55) at 00:40:f4:34:b1:4b on rl0 permanent [ethernet] > ? (10.0.1.64) at 52:54:05:de:99:7c on rl0 [ethernet] >=20 > and it's marked permanent, so it should not expire! Yet it > looks like they do anyways... >=20 Here it doesn't disappear. Perhaps, you have some routing daemons running? Or when it's parent route gets removed, it's deleted too, for example, if you re-run ifconfig(8) on the interface. Please also note that if net.link.ether.inet.useloopback=3D1, the route is actually through lo0 (route -vn get -host 10.0.1.55). Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD4DBQFAdEqzUkv4P6juNwoRAtIzAJ9QEjPW13BkY0CxTm/6ivps03QeWQCUC+v4 S17x3bwsVjvpMiD69R92uw== =GQ7O -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X--