Resolving MAC address

Olivier Nicole on at cs.ait.ac.th
Wed Mar 23 19:56:18 PST 2005


> > ? (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


More information about the freebsd-net mailing list