Solved Can't ping the gateway

Hi everyone,

My server doesn't ping the gateway anymore, but pings other hosts in the same network.
Prior to this issue, another host took the IP of my server, but I changed the IP on the conflicting host, cleared the ARP table, restarted both the routing service and the NIC, but it still can't ping the gateway (the gateway can't ping it either).
Do you have any suggestions other than rebooting the server?
Thanks
 
Prior to this issue, another host took the IP of my server, but I changed the IP on the conflicting host, cleared the ARP table, restarted both the routing service and the NIC, but it still can't ping the gateway (the gateway can't ping it either).
Router might still have the MAC address of the conflicting host. But this should time-out after a while. Just keep pinging the gateway address.
 
Router might still have the MAC address of the conflicting host. But this should time-out after a while. Just keep pinging the gateway address.
It's been more than 24 hours, I rebooted the router and cleared the ARP table there as well but same result, can't ping the server from the gateway and can't ping the gateway from the server, I even tried to remove the default router from the configuration, restart the nic and routing and brought it back, same result.
dmesg doesn't show anything abnormal as well (no conflicts).

Code:
arp -da
 
my router is also based on freebsd (opnsense), so I could clear the ARP table using :

Bash:
arp -da
 
Can you share

ifconfig
netstat rn
arp -a

of both hosts? And for completeness, also of the host that took over the ip address of your server?
 
Are you sure you fixed the conflicting IP addresses? Maybe a firewall rule on the router blocking the new IP address?
 
Back
Top