What are the eight life cycle hook functions of Vue>>>
In VM and other virtual machines, when the network card is configured as static IP, the network card will always report “error, some other host already uses address” even if it is changed to other IP, sometimes similar situation will still occur, and DHCP will work normally, which is really painful. After checking on the Internet for a long time, I think the following method is the most “fierce”! But before doing so, make sure that the network really uses the IP address you want to use, otherwise it will cause a real conflict
1. Edit/etc/sysconfig/network scripts/ifup eth to
if ! arping -q -c 2 -w 3 -D -I ${REALDEVICE} ${IPADDR} ; Then
echo $”error, some other host already uses address ${IPADDR}.
Exit 1
fi
annotate and save it
2. Enter the command to restart the network service
#Service network restart restart the network service, and the network card is loaded successfully
Similar Posts:
- Job for network.service failed because the control process exited with error code [How to Solve]
- [How to Solve] Device eth0 does not seem to be present
- Bringing up interface eth0: Error: No suitable device found: no device found for connection ‘System eth0’. [FAILED]
- [Solved] VMware Modify network.service Error: LSB: Bring up/down networking
- Virtual machine error: Job for network.service failed because the control process exited with error code
- [Solved] Device eth0 does not seem to be present,delaying initialization
- CentOS7 Failed to start LSB: Bring up/down networking. [How to Solve]
- Linux: CentOS 7 executes service network restart error [Solved]
- CentOS 7 network could not retrieve error [Solved]
- CentOS7 Failed to start LSB: Bring up/down [How to Solve]