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

This is a discussion on what does the "?" means - When I issue "arp -a " , I can see as followings. within the Linux Networking forums, part of the Linux Forums category; Hi, When I issue "arp -a " , I can see as followings. ? (192.168.3.222) at 00:01:...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-05-2005
somez72
 
Posts: n/a
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 00:D0: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.



Reply With Quote
  #2 (permalink)  
Old 12-05-2005
Lew Pitcher
 
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 00:D0: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 (permalink)  
Old 12-05-2005
Bill Marcum
 
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
<rambo@lsdata.co.kr> 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 00:D0: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 (permalink)  
Old 12-06-2005
somez72
 
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 00:D0: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 (permalink)  
Old 12-06-2005
Bit Twister
 
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 (permalink)  
Old 12-06-2005
Joe Pfeiffer
 
Posts: n/a
Default Re: then, How can we get hostname in first column?

"somez72" <rambo@lsdata.co.kr> 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:50:DA: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 (permalink)  
Old 12-06-2005
Joe Beanfish
 
Posts: n/a
Default Re: then, How can we get hostname in first column?

On Mon, 05 Dec 2005 21:05:43 -0500, somez72 <rambo@lsdata.co.kr> 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 00:D0: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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:01 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0