Solved

Linux, 2 machines using same IP

Posted on 2013-12-17
4
265 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 125 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 78

Assisted Solution

by:arnold
arnold earned 250 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 125 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 78

Assisted Solution

by:arnold
arnold earned 250 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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