?
Solved

Linux, 2 machines using same IP

Posted on 2013-12-17
4
Medium Priority
?
288 Views
Last Modified: 2013-12-18
I am using RHEL 6.4

I have gotten 15 client machines to work, but the 16th will not work

What I suspect is taht Another client or server is actually using th eIP of the machine, or some other strage IP issue

Sometimes I do an init 0 and another VM goes down, sometimes not

It can ping itself and other machines can ping it as well, but I see lots of strange behavior

How can I investigate >

Thanks
0
Comment
Question by:Los Angeles1
  • 2
4 Comments
 
LVL 21

Accepted Solution

by:
Mazdajai earned 500 total points
ID: 39725487
You can use nmap to swap the subnet. After you get the list of hostnames, you can use their mac address to determine where the duplicate machines are.

For example, VMware will have beginning mac of 00:50:56:00:00:00 - 00:50:56:3F:FF:FF. If they are physical machiness, use tracert to determine which switch it connects to.
0
 
LVL 81

Assisted Solution

by:arnold
arnold earned 1000 total points
ID: 39725569
Look in /var/log/messages there you should see an network event pointing to another system's MAC address as using the same IP.

If you have a managed switch look there.

Did you clone a VM such that you have two VMs with the same MAC address and you are using DHCP based IP reservation (mimic static IP behavior)?
With identical MAC addresses the DHCP receives a request from each and allocates sends both the same IP.
0
 
LVL 14

Assisted Solution

by:ThomasMcA2
ThomasMcA2 earned 500 total points
ID: 39725728
Are all VMs pointing to the same DNS server? I have seen duplicated IPs when a 2nd DNS server was handing out IPs that conflicted with the primary server. If so, shut down the 2nd server, and fix the DNS settings to point to a single DNS server.
0
 
LVL 81

Assisted Solution

by:arnold
arnold earned 1000 total points
ID: 39725733
I too run into a similar issue where the typing gets away, DNS does not hand out IPs, it is a record keeping service. DHCP allocates IPs.
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month14 days, 5 hours left to enroll

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question