RedHat is a widely used Linux system. In the version of RedHat6.5, some network card problems are often encountered during networking. The following small series will help you sort out the common problems and solutions of RedHat6.5 network card. It is helpful to you.
1, can not find the file eth0
In use RedHat6.5, freshly installed system, found no eth0 network card, the first card is the default Auto-eth0
[root@rac01 ~]# cat /etc/sysconfig/network-scripts/ifcfg-Auto_eth0
TYPE=Ethernet
BOOTPROTO=none
IPADDR= 10.10.10.110
PREFIX=24
GATEWAY=10.10.10.111
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME=eth0
UUID=86d44060-4579-48cc-b85b-219a206ca37c
ONBOOT=yes
HWADDR=00:50:56:95 :09:76
LAST_CONNECT=1411004329
Solution:
Directly rename the ifcfg-Auto_eth0 file to eth0. After restarting the network card, you will find that the network card name has changed to eth0< Br>
[root@rac01 ~]# service network restart
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: Active connection state: activated
2 Ifconfig finds that the NIC service name has not changed
[root@rac01 ~]# ifconfig
Auto_eth0 Link encap:Ethernet HWaddr 00:50:56:95:09:76
inet addr:10.10.10.110 Bcast:10.10.10.111 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fe95:976/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric: 1
RX packets:484 errors:0 dropped:0 overruns:0 frame:0
TX packets:57 errors:0 dropped:0 overruns:0 carrier :0
collisions:0 txqueuelen:1000
RX bytes:40095 (39.1 KiB) TX bytes:6271 (6.1 KiB)
Solution:
Each time you change the RedHat NIC information, RedHat will automatically record the MAC address of the NIC and the corresponding NIC service name in /etc/udev/rules.d/70-persistent-net.rules, and modify the corresponding service. Name can be
[root@rac01 ~]# vim /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/Udev/w Rite_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.
# PCI device 0x15ad:0x07b0 (vmxnet3)
SUBSYSTEM==“net” , ACTION==“add”, DRIVERS==“? *”, ATTR{address}==“00:0c:29:1e:f6:ad”, ATTR{type}==“1”, KERNEL==“eth*”, NAME=“ Eth0”
After the modification is complete, you need to restart the system and check the NIC service name has been changed again
[root@rac01 ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00 :50:56:95:09:76
inet addr:10.109.67.81 Bcast:10.109.67.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fe95: 976/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:985 errors:0 dropped:0 overruns:0 frame:0
TX packets: 61 errors: 0 dropped: 0 overruns: 0 carrier: 0
collisions: 0 txqueuelen: 1000
RX bytes: 74395 (72.6 KiB) TX bytes: 6527 (6.3 KiB)
Previous12Next Total 2 Pages
MemcacheQ as a simple distributed queue service, because I dont know about MemcacheQ, many people ha
Pragha is a music player under Linux, PPA installation, because there are not many people, so many f
In many Linux commands, the install command and the cp command can copy files, but
Usually we call the static link library is a .lib file, the file is generally large, can compile fun
Steps for installing Tecplot under Linux
How Linux uses ssh to transfer files to FTP space
How to solve the blue screen when installing VMWare in Linux?
How to display the number of Linux subfolders and files
How to sort the connector ld link under Linux
Linux system startx command function and usage
Linux system yum command function introduction
Linux uses Shellscript to install the NIC driver instance
What should I do if there are garbled characters in Linux Chinese characters?
What should I do if Ubuntu fails to adjust and save the screen brightness?
How to ping Windows and VM without connecting the network cable
Win10 First Anniversary Update Preview 14371 and 14372 Repair Hyper-V High Score Screen UI
How to get Win8 boot directly into the desktop
Well-known music website launches Windows7
Where is the Win7 firewall set up? How to set up a firewall in Win7 system?
How does Win10 prohibit the network discovery function in the public network environment?
How to get back to the Bluetooth device function in the right-click menu of Win7 Ultimate
How to check the Win7 computer usage record?
What if I can't run the executable suddenly under Windows? Exe is not associated?