Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

arp output on ubuntu and ip issue

Status
Not open for further replies.

whn

Programmer
Oct 14, 2007
265
0
0
US
Code:
[b]% hostname[/b]
orion

[b][COLOR=blue]% arp -a orion[/color][/b]
[b]? ([COLOR=red]192.168.5.41[/color]) at <incomplete> on eth0[/b]

[b]% ifconfig eth0[/b]
eth0      Link encap:Ethernet  HWaddr 00:19:bb:df:4d:bd
          inet addr:[COLOR=red]192.168.4.114[/color]  Bcast:192.168.255.255  Mask:255.255.0.0
          inet6 addr: fe80::219:bbff:fedf:4dbd/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7722 errors:0 dropped:0 overruns:0 frame:0
          TX packets:372 errors:0 dropped:0 overruns:0 carrier:0
          collisions:1 txqueuelen:1000
          RX bytes:831353 (831.3 KB)  TX bytes:45292 (45.2 KB)
          Interrupt:17

[b]% sudo dhclient[/b]
RTNETLINK answers: File exists

Questions:

* How to solve these two errors:
1) ? (192.168.5.41) at <incomplete> on eth0
2) RTNETLINK answers: File exists

* Please note that the IP are different. The one from arp cmd is 192.168.5.41. This is the OLD IP my machine had till last week. My company moved to a new location this past weekend. The ip from ifconfig is 192.168.4.114. Why aren't they the same? How to fix it?

BTW, the OS is ubuntu 11.10.

many thanks for your help

 
You typically would not have your own address entry in the arp table. Your (orion) IP address is, as ifconfig says, 192.168.4.114/16. The most likely reasons are a stale ARP entry ("incomplete" is a giveaway) and a name resolution error. Check the all DNS and the local /etc/hosts for entries for orion.
 
Thank you, iggsterman, for the reply!!

I have made sure that no entries for orion in /etc/hosts.

But how do I check it in DNS?

thanks again,
 
use either nslookup or the dig utility

[norm@internet ~]$ nslookup
> orion


dig orion ALL


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top