使多个网络端口工作

使多个网络端口工作

我有一个 2 端口 NIC,但出于某种原因,Ubuntu 18.04.5 LTS 只看到一个端口,即查询的第一个端口,尽管两个端口都连接了有效的设备。如果我从正常工作的端口拔下设备,则另一个端口可以正常工作,但如果我重新插入插头,Ubuntu 仍然只能看到第二个端口。我怎样才能让 Ubuntu 18.04 同时识别两个端口?Mythbuntu 16.04 没有这个问题;两个端口一直工作正常。

lshw -C network:
  *-network:0               
       description: Ethernet interface
       product: 82576 Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: enp2s0f0
       version: 01
       serial: 80:61:5f:08:33:7c
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi msix pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=igb driverversion=5.6.0-k duplex=full firmware=1.2.1 ip=10.0.0.100 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:16 memory:fe8e0000-fe8fffff memory:fe400000-fe7fffff ioport:dc00(size=32) memory:fe8dc000-fe8dffff memory:fe000000-fe3fffff memory:fe800000-fe81ffff memory:fe820000-fe83ffff
  *-network:1
       description: Ethernet interface
       product: 82576 Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 0.1
       bus info: pci@0000:02:00.1
       logical name: enp2s0f1
       version: 01
       serial: 80:61:5f:08:33:7d
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi msix pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=igb driverversion=5.6.0-k duplex=full firmware=1.2.1 ip=169.254.0.20 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:17 memory:fe8a0000-fe8bffff memory:fdc00000-fdffffff ioport:d880(size=32) memory:fe8d8000-fe8dbfff memory:fd800000-fdbfffff memory:fe840000-fe85ffff memory:fe860000-fe87ffff

ip link show:
enp2s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 80:61:5f:08:33:7c brd ff:ff:ff:ff:ff:ff
enp2s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 80:61:5f:08:33:7d brd ff:ff:ff:ff:ff:ff

内核:5.4.0-65-generic x86-64

相关内容