Error, some other host already uses address IP

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 ! 🙂

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
Scroll to Top