C.4. 网络

表 C.6. 网络参数

描述
配置示例
歧视级别
serial
MAC 地址
('network', 'eth0', 'serial', 'd8:9d:67:1b:07:e4')
Unique
vendor
NIC 的厂商
('network', 'eth0', 'vendor', 'Broadcom Corporation')
Low
product
NIC 的描述
('network', 'eth0', 'product', 'NetXtreme BCM5719 Gigabit Ethernet PCIe')
Medium
size
连接的容量(bits/sec)
('network', 'eth0', 'size', '1000000000')
Low
ipv4
IPv4 地址
('network', 'eth0', 'ipv4', '10.66.6.136')
High
ipv4-netmask
IPv4 网络掩码
('network', 'eth0', 'ipv4-netmask', '255.255.255.0')
Low
ipv4-cidr
IPv4 cidr
('network', 'eth0', 'ipv4-cidr', '24')
Low
ipv4-network
IPv4 网络地址
('network', 'eth0', 'ipv4-network', '10.66.6.0')
Medium
link
物理连接状态
('network', 'eth0', 'link', 'yes')
Medium
driver
NIC 的驱动名
('network', 'eth0', 'driver', 'tg3')
Low
duplex
NIC 的 duplex 类型
('network', 'eth0', 'duplex', 'full')
Low
speed
NIC 当前的连接速度
('network', 'eth0', 'speed', '10Mbit/s')
Medium
latency
网络设备的 PCI 延迟
('network', 'eth0', 'latency', '0')
Low
autonegotiation
NIC 的 auto-negotiation
('network', 'eth0', 'autonegotiation', 'on')
Low