OL7中网卡的命名方法
来源:互联网 发布:c程序员桌面壁纸高清 编辑:程序博客网 时间:2024/05/17 22:33
https://docs.oracle.com/cd/E52668_01/E54669/html/ol7-nic-names.html
11.2 About Network Interface Names
Network interface names are based on information derived from the system BIOS or alternatively from a device's firmware, system path, or MAC address. This feature ensures that interface names persist across system reboots, hardware reconfiguration, and updates to device drivers and the kernel.
If you enable the biosdevname
boot option (biosdevname=1
), thebiosdevname
plugin to the udev device manager assigns names to network interfaces as follows:
Ethernet interfaces on the motherboard are named
em
N
, whereN
is the number of the interface starting from 1.Network interfaces on a PCI card are named
p
S
p
P
, whereS
is the slot number andP
is the port number.Virtual interfaces are named
p
S
p
P
_
V
, whereS
is the slot number,P
is the port number, andV
is the virtual interface number.
If biosdevname
is set to 0 (the default), systemd
naming assigns the prefixes, en
, wl
, and ww
to Ethernet, wireless LAN, and wireless WAN interfaces respectively. The prefix is followed by a suffix based on the hardware configuration, system bus configuration, or MAC address of the device:
o
N
Onboard device with index number
N
.p
B
s
S
[f
F
][d
D
]PCI device with bus number
B
, slot numberS
, function numberF
, and device IDD
.p
B
s
S
[f
F
][u
P
]...[c
C
][i
I
]USB device with bus number
B
, slot numberS
, function numberF
, port numberP
, configuration numberC
, and interface numberI
.s
S
[f
F
][d
D
]Hot-plug device with slot number
S
, function numberF
, and device IDD
.x
M
Device with MAC address
M
.
For example, an Ethernet port on the motherboard might be named eno1
or em1
, depending on whether the value ofbiosdevname
is 0 or 1.
The kernel assigns a legacy, unpredictable network interface name (eth
N
andwlan
N
) only if it cannot discover any information about the device that would allow it to disambiguate the device from other such devices. You can use thenet.ifnames=0
boot parameter to reinstate the legacy naming scheme.
Using the net.ifnames
or biosdevname
boot parameters to change the naming scheme can rendering existing firewall rules invalid. Changing the naming scheme can also affect other software that refers to network interface names.
- OL7中网卡的命名方法
- 在OL7上修改网卡名称
- RHEL中网卡命名规则
- 关于centos7的网卡命名
- 关于centos7的网卡命名
- RHEL7 的网卡命名规则
- 在linux中虚拟网卡的方法
- 在linux中虚拟网卡的方法
- 在linux中虚拟网卡的方法
- MFC中变量的命名方法
- MFC中变量的命名方法
- MFC中变量的命名方法
- MFC中变量的命名方法
- MFC中变量的命名方法
- Predictable Network Interface Names(网卡命名的问题,改为eth0的方法)
- Fedora16下的网卡设备命名问题
- Linux与网卡相关的几个命名
- CentOS7使用传统的网卡命名
- Xilinx SelectIO 接口
- 谷歌技术"三宝"之MapReduce
- 100道动态规划——3 UVA 2451 Brackets sequence 重构解 DP
- 到底如何理解递归?
- JavaScript中统计字符的个数
- OL7中网卡的命名方法
- STC单片机控制PCA9554A程序
- 第3天 数据类型及流程控制语句
- Dozer使用总结
- JavaScript中的this
- 用工具生成的getter和setter方法的特殊情况
- JavaScript实现四则运算
- trident
- 深度学习-- 处理不均衡数据的方法