The implementation steps are as follows:
1. Change the module alias in the/etc/modprobe. conf file.
For example, alias eth0 pcnet32
Change to alias LAN pcnet32
2. Change the name of the NIC configuration file to ifcfg-lan.
MV/etc/sysconfig/network-scripts/ifcfg-eth0/etc/sysconfig/network-scripts/ifcfg-LAN
3. Change the configuration file to device = LAN.
4. Remove the NIC module from the memory
Modprobe-r pcnet32
5. Reload the NIC Module
Modprobe LAN (equivalent to modprobe pcnet32)
6. Restart the network service/etc/init. d/network restart.
Service Network restart [root @ bogon ~] # Ifconfig
LAN link encap: Ethernet hwaddr 00: 0C: 29: 10: 80: 97
Inet ADDR: 192.168.1.9 bcast: 192.168.1.255 mask: 255.255.255.0
Inet6 ADDR: fe80: 20c: 29ff: fe10: 8097/64 scope: Link
Up broadcast running Multicast MTU: 1500 Metric: 1
RX packets: 33 errors: 0 dropped: 0 overruns: 0 frame: 0
TX packets: 26 errors: 0 dropped: 0 overruns: 0 carrier: 0
Collisions: 0 FIG: 1000
RX Bytes: 5271 (5.1 kib) TX Bytes: 2976 (2.9 kib)
Interrupt: 177 base address: 0x1400