1.確認內核的版本:
似乎是需要安裝以下所有的內核包,如果沒有可以到安裝光盤上去找
kernel-xen-devel-2.6.18-8.el5
kernel-2.6.18-8.el5
kernel-xen-2.6.18-8.el5
kernel-headers-2.6.18-8.el5

2.下載正確的網卡linux驅動程序,并查看readme來安裝,我的流程是:

 Check whether the built-in driver, r8169.ko (or r8169.o for kernel 2.4.x), is installed.
  # lsmod | grep r8169

 If it is installed, please remove it.
  # rmmod r8169
 note: If the built-in driver cannot removed by rmmod, please edit /etc/modprobe.conf and comment 'alias eth0 r8169'. Then, remmove it again or reboot your computer.

 Unpack the tarball :
  # tar vjxf r8101-1.aaa.bb.tar.bz2

 Change to the directory:
  # cd r8101-1.aaa.bb

 If you are running the target kernel, then you should be able to do :

  # make clean modules (as root or with sudo)
  # make install
  # depmod -a
  # modprobe r8101

 You can check whether the driver is loaded by using following commands.

  # lsmod | grep r8101
  # ifconfig -a


3.在網絡設備中添加已經出現的那個驅動即可。