LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-21-2003, 02:12 AM   #1
gsbarry
Member
 
Registered: Jan 2003
Posts: 42

Rep: Reputation: 15
how to detect duplicate IP


Dear all,

I have a network that contains a lot of computers.
They are using fixed IP.

I want to know if two computers are set to the same IP address, what will be happened?

And, how could I detect whether two computers(or more computers) are using the same IP address?

Thanks,
Barry
 
Old 02-21-2003, 04:13 AM   #2
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
You will know if two devices have the same IP address because one of them will not work. Linux doesn't seem to notice duplicate IPs, but Windows and Mac will both complain if you configure duplicates.

You should have an IP database documenting who has what and it should be controlled by an individual or at least by one department. If you don't have such a thing then you will need to produce one.

You can check every machine manually. You could pull the arp table off a router if there is one on your subnet. You could use a subnet scanner to ping all available addresses on your subnet and collect what responds. There are lots of windows programs that do this, and I'm sure someone here can suggest Linux programs to match.

Alternatively if you leave a traffic analyser running on your subnet it should spot any IP addresses that appear to change their mac addresss (any IP who's mac address flips from one to another and back has obviously been duplicated). This might be the easiest approach as it should collect all of your IP and mac address bindings. Don't forget that the first 3 bytes of the mac address is an OID which you can lookup on the internet, should give you an idea as to what mac addresses are. Some analysers can reverse DNS lookup the IPs thay find so giving you IP-MAC-NAME lists which should come in handy for the future.

Whats the best Linux traffic analyser anyone?
 
Old 02-21-2003, 04:28 AM   #3
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
Just spotted nmap, looks like a good option as a subnet scanner.
something called arpwatch might also help as it logs arps
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicate ACKs arunachalam Linux - Networking 3 11-07-2005 11:28 AM
Mount Duplicate TuxFreak Fedora 13 12-20-2004 07:27 AM
DiskonModule duplicate samnjengah Linux - General 0 01-06-2004 04:41 AM
I have one system, can I duplicate it? ForumKid Linux - General 3 10-13-2002 08:20 AM
How to duplicate a floppy? Rex_chaos General 2 12-07-2001 03:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration