- 论坛徽章:
- 4
|
回复 10# haooooaaa
/etc/udev/.../70***文件里面的信息
# This file was automatically generated by the /lib/udev/write_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 0x8086:0x1580 (i40e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="20:15:12:21:00:01", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x8086:0x1580 (i40e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="20:15:12:21:00:02", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
# PCI device 0x8086:0x1523 (igb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="20:15:12:04:00:11", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
/etc/**/network-strip 下面的文件:
ifcfg-eth0 ifdown-ippp ifup ifup-plip init.ipv6-global
ifcfg-eth1 ifdown-ipv6 ifup-aliases ifup-plusb net.hotplug
ifcfg-eth2 ifdown-isdn ifup-bnep ifup-post network-functions
ifcfg-lo ifdown-post ifup-eth ifup-ppp network-functions-ipv6 |
|