Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-21-2003, 02:12 AM
|
#1
|
Member
Registered: Jan 2003
Posts: 42
Rep:
|
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
|
|
|
02-21-2003, 04:13 AM
|
#2
|
Member
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891
Rep: 
|
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?
|
|
|
02-21-2003, 04:28 AM
|
#3
|
Member
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891
Rep: 
|
Just spotted nmap, looks like a good option as a subnet scanner.
something called arpwatch might also help as it logs arps
|
|
|
All times are GMT -5. The time now is 05:52 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|