SysAdmin

Error, some other host already uses address IP

JJ
Jobin Joseph · Founder and CEO
·Published 3 September 2014·1 min read

Error

If you get the error,
some other host already uses address Please run the below command to see if the IP is really on your network!

Diagnosis

Please run the below command,

arping -q -c 2 -w 3 -D -I eth0 YOUR_HOST_IP && echo "$_ address is free on the network" || echo "$_ is already assigned on the network"

Eg: arping -q -c 2 -w 3 -D -I eth0 192.168.1.11 && echo "$_ address is free on the network" || echo "$_ is already assigned on the network"

Resolution

If you are on a VMware or any other virtualization platform, You may get the reply that the IP exist on the network for any IP you do arping. If this is the case, You can comment the following from /etc/sysconfig/network-scripts/ifup-eth .
Please note that here we are completely disabling the IP existence check on the network. Only try this if you are sure that the IP you are assigning is not already on the network. vi /etc/sysconfig/network-scripts/ifup-eth Then Comment the following if condition (Line 267-270)

#if ! /sbin/arping -q -c 2 -w 3 -D -I ${REALDEVICE} ${IPADDR} ; then
#echo {1}quot;Error, some other host already uses address ${IPADDR}."
#exit 1
#fi

Now restart your network and you will be able to assign the IP. Feel FREE to comment ! 🙂

Jobin Joseph
Jobin Joseph, Founder and CEO
5x AWS Certified, ISO 27001:2022 Lead Implementer, 17+ years building cloud infrastructure for regulated industries.
About Jobin →

Reading this because your AWS bill or uptime is a problem?

30 minutes, direct with the founder, no sales pitch: one specific recommendation for your AWS workload.

Book a free 30-minute review
30 min Free Consultation →