Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

what does the "?" means - When I issue "arp -a " , I can see as followings.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-05-2005, 12:41 AM
Default what does the "?" means - When I issue "arp -a " , I can see as followings.



Hi,

When I issue "arp -a " , I can see as followings.

? (192.168.3.222) at 00:01:02:8D:93:80 [ether] on eth0
? (222.112.196.68) at 000:B7:B6:C0:31 [ether] on eth1
? (222.112.196.69) at 00:02:55:AA:95:5E [ether] on eth1

I'd like to know what does the "?" means at first column?

Have a day.





somez72
Reply With Quote
  #2  
Old 12-05-2005, 01:36 AM
Lew Pitcher
Guest
 
Posts: n/a
Default Re: what does the "?" means - When I issue "arp -a " , I can seeas followings.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

somez72 wrote:
> Hi,
>
> When I issue "arp -a " , I can see as followings.
>
> ? (192.168.3.222) at 00:01:02:8D:93:80 [ether] on eth0
> ? (222.112.196.68) at 000:B7:B6:C0:31 [ether] on eth1
> ? (222.112.196.69) at 00:02:55:AA:95:5E [ether] on eth1
>
> I'd like to know what does the "?" means at first column?


The first column is the hostname. If you specified the -n option to arp, or
the hostname can't be resolved, you get a questionmark in that column.


- --
Lew Pitcher

Master Codewright & JOAT-in-training | GPG public key available on request
Registered Linux User #112576 (http://counter.li.org/)
Slackware - Because I know what I'm doing.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)

iD8DBQFDk5mhagVFX4UWr64RAu5MAJoDlP5sdQJ19UE1RV1ApB QeDYuZrACgwnJc
Qja3KSmZgdmnghxTa8FajnY=
=XT4K
-----END PGP SIGNATURE-----
Reply With Quote
  #3  
Old 12-05-2005, 05:42 AM
Bill Marcum
Guest
 
Posts: n/a
Default Re: what does the "?" means - When I issue "arp -a " , I can see as followings.

On Mon, 5 Dec 2005 09:41:00 +0900, somez72
<(E-Mail Removed)> wrote:
> Hi,
>
> When I issue "arp -a " , I can see as followings.
>
> ? (192.168.3.222) at 00:01:02:8D:93:80 [ether] on eth0
> ? (222.112.196.68) at 000:B7:B6:C0:31 [ether] on eth1
> ? (222.112.196.69) at 00:02:55:AA:95:5E [ether] on eth1
>
> I'd like to know what does the "?" means at first column?
>

It means the IP addresses have no known hostname, or arp uses the -n
option by default.

--
Fine's Corollary:
Functionality breeds Contempt.
Reply With Quote
  #4  
Old 12-06-2005, 02:05 AM
somez72
Guest
 
Posts: n/a
Default then, How can we get hostname in first column?

then, How can we get hostname in first column?
I think, I nerver seen that host name in first colume?

Have a day.


> > Hi,
> >
> > When I issue "arp -a " , I can see as followings.
> >
> > ? (192.168.3.222) at 00:01:02:8D:93:80 [ether] on eth0
> > ? (222.112.196.68) at 000:B7:B6:C0:31 [ether] on eth1
> > ? (222.112.196.69) at 00:02:55:AA:95:5E [ether] on eth1
> >
> > I'd like to know what does the "?" means at first column?
> >

> It means the IP addresses have no known hostname, or arp uses the -n
> option by default.
>
> --
> Fine's Corollary:
> Functionality breeds Contempt.



Reply With Quote
  #5  
Old 12-06-2005, 02:07 AM
Bit Twister
Guest
 
Posts: n/a
Default Re: then, How can we get hostname in first column?

On Tue, 6 Dec 2005 11:05:43 +0900, somez72 wrote:
> then, How can we get hostname in first column?
> I think, I nerver seen that host name in first colume?


$ arp -a
fw.home.invalid (192.168.2.1) at 00:A0:CC:26:06:34 [ether] on eth0

$ head /etc/hosts
127.0.0.1 localhost
192.168.2.1 fw.home.invalid fw
192.168.2.10 wb.home.invalid wb
192.168.2.12 wb1.home.invalid wb1
Reply With Quote
  #6  
Old 12-06-2005, 03:25 AM
Joe Pfeiffer
Guest
 
Posts: n/a
Default Re: then, How can we get hostname in first column?

"somez72" <(E-Mail Removed)> writes:

> then, How can we get hostname in first column?
> I think, I nerver seen that host name in first colume?


Works for me...

snowball:548$ /usr/sbin/arp -a
elmyra.wb.comcast.net (192.168.0.15) at 00:60:97:C2:C2:95 [ether] on eth0
babs.wb.comcast.net (192.168.0.14) at 00:C0:F0:3E:49:F7 [ether] on eth0
zoya.wb.comcast.net (192.168.0.13) at 00:20:A6:57:75:84 [ether] on eth0
noodlenoggin.wb.comcast.net (192.168.0.11) at 00:50A:80:46:11 [ether] on eth0
pinky.wb.comcast.net (192.168.0.1) at 00:13:10:92:FE:52 [ether] on eth0
--
Joseph J. Pfeiffer, Jr., Ph.D. Phone -- (505) 646-1605
Department of Computer Science FAX -- (505) 646-1002
New Mexico State University http://www.cs.nmsu.edu/~pfeiffer
skype: jjpfeifferjr
Reply With Quote
  #7  
Old 12-06-2005, 06:48 PM
Joe Beanfish
Guest
 
Posts: n/a
Default Re: then, How can we get hostname in first column?

On Mon, 05 Dec 2005 21:05:43 -0500, somez72 <(E-Mail Removed)> wrote:


>> > Hi,
>> >
>> > When I issue "arp -a " , I can see as followings.
>> >
>> > ? (192.168.3.222) at 00:01:02:8D:93:80 [ether] on eth0
>> > ? (222.112.196.68) at 000:B7:B6:C0:31 [ether] on eth1
>> > ? (222.112.196.69) at 00:02:55:AA:95:5E [ether] on eth1
>> >
>> > I'd like to know what does the "?" means at first column?
>> >

>> It means the IP addresses have no known hostname, or arp uses the -n
>> option by default.

>then, How can we get hostname in first column?
> I think, I nerver seen that host name in first colume?


There's no hostname to get. It tries to find one in DNS. If that's
your network, configure your DNS server to provide a name.
Reply With Quote
Reply

Tags
arp a, followings, issue, means

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 07:54 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.