/etc/udev/rules.d/rules.d/70-persistent-net.rules

ggy@darkstar:~$ cat /etc/udev/rules.d/70-persistent-net.rules

# PCI device 0x10ec:0x8139 (8139too)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:4c:90:06:83", ATTR{type}=="1", KERNEL=="eth*",

 

����ļ��ǹ�����ġ�

˵��һ��.����ļ���ʹ�����.���õ������

����䶯ʱ.����˵�����弯��һ����,������cmos�����ú�.����ļ��ͻᷢ��仯.

���¼���ʱ.����ʱ.����ļ������б仯.

��Ӧ���޸�mac ��eth 0 �������.������.

��ֻ��name="eth0"

�������ҵĶ�����ͬʱ�ڵ��ļ���

ggy@darkstar:~$ cat /etc/udev/rules.d/70-persistent-net.rules
# PCI device 0x10ec:0x8139 (8139too)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:4c:90:06:83", ATTR{type}=="1", KERNEL=="eth*", 
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:4c:10:cd:ab", ATTR{type}=="1", KERNEL=="eth*", 


 

 

linux �������������ļ�Ҳ�ĺã�����ifconfig ����û������ӿڣ�ifup�ͱ���˵����up����ӿڡ����������������ļ��ɵ���������
�����Ǽ�¼��ǰ������Ϣ
/etc/udev/rules.d/70-persistent-net.rules

 ת����http://liwei521930.blog.163.com/blog/static/5152170820110453445817/


你可能感兴趣的:(/etc/udev/rules.d/rules.d/70-persistent-net.rules)