When Linux backs up the ifcfg-eth0 configuration file, the network fails and the network card cannot be bound to the IP address. This is a special case of network failure, but it is difficult to avoid it. The following is Oracle Linux Server release 5.7. For example, let me introduce the solution for the network card unable to bind the IP address after the Linux backup ifcfg-eth0 file.
When the system is installed, the network is not configured. After the system is installed, the network administrator knows the IP, subnet mask, and gateway information before configuring the network. Before modifying the ifcfg-eth0 NIC configuration file, back up a configuration file to avoid being restored to the original configuration due to improper modification. This is also the cause of the problem
[root@localhost ~]# cd /etc/sysconfig/network-scripts/
[root@localhost network-scripts]# cp ifcfg-eth0 ifcfg-eth0_bak
[root@localhost network-scripts]# more ifcfg-eth0_bak
# Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:50:56:92:56:05
ONBOOT=yes
Next add IP address, subnet mask, etc.
[root@localhost network-scripts]# vi ifcfg-eth0
# Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)
DEVICE=eth0
BOOTPROTO= Static
#BROADCAST=192.168.7.255
HWADDR=00:50:56:92:56:05
IPADDR=192.168.7.222
NETMASK =255.255.255.0
ONBOOT=yes
TYPE=Ethernet
Previous12Next Total 2 Pages
We all know that the mail command can be used for the regular processing of mail lo
In the previous article, the su command was introduced. The su command is used for
Samba is a tool that can implement SMB protocol. You can share Linux system software through Samba s
In Linux system operation, abnormal traffic and other issues are encountered during security monitor
Linux SecureCRT Chinese garbled how to do?
How to use the chown command to change the owner of the Linux file
How Ubuntu implements screen-to-cut
What should I do if the Linux system inittab file is lost?
How to delete the specified file in swap
Linux off screen splash screen method
Two styles of chmod command format under Linux/Ubuntu
How Linux uses shell commands to detect PHP Trojans
Techniques for setting up multiple network cards as virtual network cards under Linux
Linux vsftp prompt 530 Permission denied how to do?
How to install and configure Apache
How to deal with the database disappeared after modifying the root password of mysql under Linux?
Let IIS support the download of .apk files
How to capture video from Storm Video
Hidden folder instance under Win7 system tutorial
Buying a Windows 7 PC after June will offer a discount to Win8
Microsoft explains how Windows 8 Enterprise Edition manages its own PC
Win8.1 update driver prompts this file may be damaged or tampered with what to do?