Operating System - HP-UX
1842220 Members
9461 Online
110188 Solutions
New Discussion

Re: how can i find the machine!

 
leyearn
Regular Advisor

how can i find the machine!

in my Local network
there is pc whose ip is set the ipaddress which is assigned to my hpux system
there are smome messages come from the cosole of hpux system which indicates the ip is duplicated
how can i find out the pc?

there is so many pcs in my local network!
7 REPLIES 7
Karthik S S
Honored Contributor

Re: how can i find the machine!

Well,

The simple method is,
disconnect the hp-ux box from the network. From some other machine ping the IP address to see if the machine is alive on the nework. If it is pinging then do a "arp -a" to find out the MAC address of the system. Also try to resolve the IP to the hostname to check if the IP is already regitered with a hostname by which you can determine the duplicate system. If you are still not able to determine where it is located then you can use the nmap command to determine what OS is running on the sytem to narrow down on the location. (nmap is available by default in linux or you can compile it for hp-ux)

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Norman_21
Honored Contributor

Re: how can i find the machine!

Add to your notes the following:

from a Win2K PC,

nslookup to find out the hostnames of the duplicate IP.(This command will work in UNIX or Win2K PCs).
Or
ping -a to resolve address to host name (this command will work in Win9x/Win2K PCs).



"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Tony Horton
Frequent Advisor

Re: how can i find the machine!

If windows you can also try nbtstat -a ip address This may or may not give you the userid of the person logged into the pc, depending on your network settings.

Regards,

Tony.
No man is an isthmus
Bruno Ganino
Honored Contributor

Re: how can i find the machine!

You can use command "ping".
The ping command sends Echo Request packets to the host once per second.

When using ping for fault isolation, first specify a local address for host to verify that the local network interface is working correctly. Then specify host and gateway addresses further and further away to determine the point of failure.
Ping sends one datagram per second, and it normally writes one line of output for every Echo Response that is received.
No output is produced if there are no responses.

P.S.
This command is intended for use in testing network performance. It should be used primarily to isolate network failures, because it is considered discourteous to use ping unnecessarily during normal operations or from automated scripts.
HTH
Bruno
Torino (Turin) +2H
KapilRaj
Honored Contributor

Re: how can i find the machine!

There is no need to disconnect the system. Use ifconfig to bring down that interface and do a ping to the IP from another node in the network. Use arp to find out which MAC address the interface card has.. and track it down.... if u have wins service u may use ping -a which will try to resolve the IP to hostname !

To avoid all these issues why not set up a DHCP server for these pcs u may use one of the HPUX nodes to perform the task?. Keep in mind to reserve all the fixed IP Addresses in the network

Kaps....
Nothing is impossible
Sanjay_6
Honored Contributor

Re: how can i find the machine!

Hi,

Shutdown your hp server and then do a traceroute to the ip address of the pc that has a duplicate address. The route should tell you where the pc is connected.

Hope this helps.

Regds
I.Delic
Super Advisor

Re: how can i find the machine!

Hi,

if you use dhcp server you can start eventvwr on the machine where you have your dhcp server installed.
There you can see witch pc has the same ip adres. Another tip is disconect your hp box en use this command to see the name of the pc who has the same ip adres:

ping -a ipadres ( from one pc on your network)

success