From owner-freebsd-net@FreeBSD.ORG Thu Mar 24 03:56:18 2005 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 B126216A4CE for ; Thu, 24 Mar 2005 03:56:18 +0000 (GMT) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 722D843D5C for ; Thu, 24 Mar 2005 03:56:17 +0000 (GMT) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.12.11/8.12.11) with ESMTP id j2O3tJBI021747 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 24 Mar 2005 10:55:19 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.13.1/8.12.11) id j2O3wb4I099605; Thu, 24 Mar 2005 10:58:37 +0700 (ICT) Date: Thu, 24 Mar 2005 10:58:37 +0700 (ICT) Message-Id: <200503240358.j2O3wb4I099605@banyan.cs.ait.ac.th> From: Olivier Nicole Cc: freebsd-net@freebsd.org In-reply-to: <42423976.7000608@schluting.com> (message from Charlie Schluting on Wed, 23 Mar 2005 19:52:22 -0800) References: <200503240339.j2O3dpoN099306@banyan.cs.ait.ac.th> <42423976.7000608@schluting.com> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Subject: Re: Resolving MAC address 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: Thu, 24 Mar 2005 03:56:18 -0000 > > ? (10.0.0.1) at 00:e0:29:ad:5a:aa on em0 [ethernet] > > > > will do the trick, but it is a bit too heavy for the purpose, I'd > > prefer a solution that only send an ARP request. > > > > If you just want to avoid the DNS lookup, you can use arp -an. > Its much faster :) Thanks. Off course I use arp -n to avoid DNS resolution. But what i really want to avoid is sending any IP/ICMP packet when the ARP resolution is all I need. (And some people even filter out the ICMP echo request packets (Windows XP firewall), so I have to wait for the time out). Olivier