*BSD News Article 94292


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!news.radio.cz!newsbastard.radio.cz!news.radio.cz!CESspool!news-feed.inet.tele.dk!newsfeed.nacamar.de!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Problem : arp
Date: 23 Apr 1997 22:08:00 GMT
Organization: Private BSD site, Dresden
Lines: 29
Message-ID: <5jm180$4bf@uriah.heep.sax.de>
References: <5iv9t3$dn8$1@gwdu19.gwdg.de>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39626

switzel@uni-goettingen.de (Stefan Witzel) wrote:

> When I call arp -a I get no answer (no prompt, _arp didn't finish_). At this 
> time the ARP table is _empty_, I think.

arp tried to DNS reverse lookup the addresses, maybe its own address,
or maybe the broadcast address.

There should be a -n option to arp preventing the reverse lookup.
Somebody told about this, but apparently, still nobody implemented it
yet.

> Is the ARP table not initialised after boot?

You'll be surprised that there's no arp table at all. :)

The supposed-to-be `arp -an' is basically nothing else than:

j@uriah 940% netstat -rn | perl -ane 'print "$F[0] at $F[1]\n" if $F[2] =~ "L"'
192.168.0.1 at 0:a0:24:55:7a:c3

The entire arp information is part of the normal routing table.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)