1、用ifconfig命令可以看到主机现在有4个物理网口eno1、eno2、enp130s0f0、enp130s0f1
ifconfig -a
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 6c:92:bf:4c:70:b8 txqueuelen 1000 (Ethernet)
RX packets 1047 bytes 84337 (82.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 473 bytes 52426 (51.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xc7a20000-c7a3ffff
eno2: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 6c:92:bf:4c:70:b9 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xc7a00000-c7a1ffff
enp130s0f0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 6c:92:bf:4c:70:b8 txqueuelen 1000 (Ethernet)
RX packets 1192 bytes 282779 (