LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-20-2022, 06:58 PM   #1
james000
Member
 
Registered: Sep 2018
Posts: 143

Rep: Reputation: 2
How to trace duplicate IP, where it is plumbed?


Hello,
I have a Linux VM (RHEL 7.9) running on VMware. When I am pinging one of the gateway device (192.168.19.1), it is intermittently failing to ping. It looks like someone cloned the VM or something is conflicting.
Code:
[root@rhel-client /]# ping 192.168.19.1
PING 192.168.19.1 (192.168.19.1) 56(84) bytes of data.
From 192.168.19.62 icmp_seq=1 Destination Host Unreachable
....
....
From 192.168.19.62 icmp_seq=5 Destination Host Unreachable
From 192.168.19.62 icmp_seq=6 Destination Host Unreachable
64 bytes from 192.168.19.1: icmp_seq=7 ttl=64 time=1.10 ms
64 bytes from 192.168.19.1: icmp_seq=8 ttl=64 time=0.261 ms
....
....
64 bytes from 192.168.19.1: icmp_seq=38 ttl=64 time=0.384 ms
64 bytes from 192.168.19.1: icmp_seq=39 ttl=64 time=0.347 ms
From 192.168.19.62 icmp_seq=51 Destination Host Unreachable
From 192.168.19.62 icmp_seq=52 Destination Host Unreachable
....
....
From 192.168.19.62 icmp_seq=62 Destination Host Unreachable
^C
--- 192.168.19.1 ping statistics ---
64 packets transmitted, 16 received, +18 errors, 75% packet loss, time 63006ms
rtt min/avg/max/mdev = 0.261/0.390/1.105/0.190 ms, pipe 4
[root@rhel-client /]#
[root@rhel-client /]# for i in `cat /tmp/nics`; do  echo $i; ifconfig $i | grep "inet " | awk '{print $2}';echo "------------------------"; done
ens161
192.168.19.160
------------------------
ens192
192.168.240.8
------------------------
ens193
216.221.133.236
------------------------
ens224
192.168.245.244
------------------------
ens256
192.168.19.62
------------------------
[root@rhel-client /]# netstat -nr | grep "192.168.19.1 "
192.168.19.0    192.168.19.1    255.255.255.128 UG        0 0          0 ens256
[root@rhel-client /]#
[root@rhel-client /]# cat proc/net/arp  | egrep "192.168.19.1 "
192.168.19.1     0x1         0x0         00:10:db:ff:e1:01     *        ens256
[root@rhel-client /]#
From this server side, is there anything else I should be trying?

Thanks

Last edited by james000; 01-20-2022 at 10:28 PM.
 
Old 01-20-2022, 11:22 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Try fping https://linux.die.net/man/8/fping to sweep your subnet and fill local arp table, then arp -n https://linux.die.net/man/8/arp for the contents ?
See also nmap https://linux.die.net/man/1/nmap
 
  


Reply

Tags
netwoking



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
insllation of gives trace/cmu-trace.cc:1531:9: error: stray ‘\342’ in program error rakeshpanchiwala Linux - Newbie 17 04-26-2013 01:28 AM
Sir, While installing ns2.34 on fedora 16 got the error : trace/cmu-trace.cc 1327:22 jeevanpinto Linux - Newbie 2 06-28-2012 03:35 AM
does tar or bzip2 squash duplicate or near-duplicate files? garydale Linux - Software 6 11-19-2009 04:43 PM
How to trace and disable the HTTP TRACE method in Apache 1.3.33 with FreeBSD? SomnathG Linux - Security 1 11-11-2008 09:41 AM
"killed" Message - how to trace/back trace ebinjose Linux - Kernel 1 01-29-2008 06:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:14 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