1: lo: mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever2: enp1s0f0: mtu 1500 qdisc mq master br0 state UP qlen 1000 link/ether 00:25:90:64:a9:30 brd ff:ff:ff:ff:ff:ff inet6 fe80::225:90ff:fe64:a930/64 scope link valid_lft forever preferred_lft forever3: enp1s0f1: mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 00:25:90:64:a9:31 brd ff:ff:ff:ff:ff:ff4: enp8s0f0: mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 00:0c:bd:05:4e:cc brd ff:ff:ff:ff:ff:ff5: enp8s0f1: mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 00:0c:bd:05:4e:cd brd ff:ff:ff:ff:ff:ff6: enp8s0f2: mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 00:0c:bd:05:4e:ce brd ff:ff:ff:ff:ff:ff7: enp8s0f3: mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 00:0c:bd:05:4e:cf brd ff:ff:ff:ff:ff:ff
然后把这俩网卡的mac写到配置文件里:
/etc/sysconfig/network-scripts/ifcfg-enp8s0f0
/etc/sysconfig/network-scripts/ifcfg-enp8s0f1
添加:
HWADDR=00:0c:bd:05:4e:cc
然后重新启动network,就OK啦!