Solved

Linux, 2 machines using same IP

Posted on 2013-12-17
4
257 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 77

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 77

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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 …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

813 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now