OS: RHEL6.5_X64
透過虛擬機常會出現虛擬網卡,因為變更或新增網卡之後,eth0、eth1、eth2…常會變更,導致系統通常不是抓到eth0,或者他的對應變來變去,變更方法如下:
一、修改此檔案, /etc/udev/rules.d/70-persistent-net.rules ,把不要的網卡刪除掉
二、到網卡的設定檔去做修改mac的對應
#vi /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules file.
#
# You can...
Read More