Системник с интегрированной сетевой картой (enp2s0), в pci-слоты вставлены ещё две одинаковые сетевые Realtek-овские карты (enp4s0 и enp4s1) для основного интернет-канала и резервного соответственно.
Centos7.
Работает только первая карта enp4s0: интерфейс поднимается, пакеты ходят нормально. Вторая enp4s1 не работает. Просто не поднимается. Никакие манипуляции не помогают.
Интернет «на патчкорде» в enp4s1 есть 100%, проверял.
«Лампочки» светятся только на карте enp4s0. На второй карте enp4s1 - изредка одна помигивает зелёным.
(Когда включаешь системник, то до того момента пока Centos не загрузится обе карты перемигиваются лампочками, как только загрузилось - enp4s1 «тухнет»).
Как второй интерфейс поднять???
#ifconfig -a:
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.207.1 netmask 255.255.255.0 broadcast 192.168.207.255
ether 74:d4:35:ec:7c:ee txqueuelen 1000 (Ethernet)
RX packets 148841 bytes 28356177 (27.0 MiB)
RX errors 0 dropped 2556 overruns 0 frame 0
TX packets 189303 bytes 190705129 (181.8 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 109.194.78.234 netmask 255.255.254.0 broadcast 109.194.79.255
ether 00:80:48:62:9d:e9 txqueuelen 1000 (Ethernet)
RX packets 187909 bytes 190733555 (181.8 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 139809 bytes 27160053 (25.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp4s1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 194.154.92.42 netmask 255.255.255.252 broadcast 194.154.92.43
ether 00:80:48:62:94:c5 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
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 0 (Local Loopback)
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
#ip a:
1: lo: <LOOPBACK,UP,LOWER_UP> 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
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 74:d4:35:ec:7c:ee brd ff:ff:ff:ff:ff:ff
inet 192.168.207.1/24 brd 192.168.207.255 scope global enp2s0
valid_lft forever preferred_lft forever
3: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:80:48:62:9d:e9 brd ff:ff:ff:ff:ff:ff
inet 109.194.78.234/23 brd 109.194.79.255 scope global enp4s0
valid_lft forever preferred_lft forever
4: enp4s1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether 00:80:48:62:94:c5 brd ff:ff:ff:ff:ff:ff
inet 194.154.92.42/30 brd 194.154.92.43 scope global enp4s1
valid_lft forever preferred_lft forever
#ethtool -i enp4s0:
driver: r8169
version: 2.3LK-NAPI
firmware-version:
bus-info: 0000:04:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no
#ethtool -i enp4s1
driver: r8169
version: 2.3LK-NAPI
firmware-version:
bus-info: 0000:04:01.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no
#ethtool enp4s0
Settings for enp4s0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: yes
#ethtool enp4s1:
Settings for enp4s1:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Speed: 10Mb/s
Duplex: Half
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: no
#cat /var/log/messages | grep enp4s1:
Jul 20 13:02:12 gateway NetworkManager[728]: <info> ifcfg-rh: new connection /etc/sysconfig/network-scripts/ifcfg-enp4s1 (0d3d71e5-1371-45a6-a4c0-8 921e7690568,«enp4s1»)
Jul 20 13:02:12 gateway NetworkManager[728]: <info> (enp4s1): new Ethernet device (carrier: OFF, driver: 'r8169', ifindex: 4)
Jul 20 13:02:12 gateway NetworkManager[728]: <info> (enp4s1): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Jul 20 13:02:12 gateway kernel: IPv6: ADDRCONF(NETDEV_UP): enp4s1: link is not ready
Jul 20 13:02:12 gateway kernel: r8169 0000:04:01.0 enp4s1: link down
Jul 20 13:02:12 gateway kernel: r8169 0000:04:01.0 enp4s1: link down
Jul 20 13:02:12 gateway kernel: IPv6: ADDRCONF(NETDEV_UP): enp4s1: link is not ready
Jul 20 13:02:20 gateway NetworkManager[728]: <info> (enp4s1): Activation: starting connection 'enp4s1' (0d3d71e5-1371-45a6-a4c0-8921e7690568)
Jul 20 13:02:20 gateway NetworkManager[728]: <info> (enp4s1): device state change: unavailable -> prepare (reason 'none') [20 40 0]
Jul 20 13:02:20 gateway NetworkManager[728]: <info> (enp4s1): device state change: prepare -> config (reason 'none') [40 50 0]
Jul 20 13:02:20 gateway NetworkManager[728]: <info> (enp4s1): device state change: config -> ip-config (reason 'none') [50 70 0]
Jul 20 13:02:20 gateway NetworkManager[728]: <info> (enp4s1): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
Jul 20 13:02:20 gateway NetworkManager[728]: <info> (enp4s1): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
Jul 20 13:02:20 gateway NetworkManager[728]: <info> (enp4s1): device state change: secondaries -> activated (reason 'none') [90 100 0]
Jul 20 13:02:20 gateway NetworkManager[728]: <info> (enp4s1): Activation: successful, device activated.
Jul 20 13:02:20 gateway nm-dispatcher: Dispatching action 'up' for enp4s1
Jul 20 13:02:20 gateway network: Активируется интерфейс enp4s1: Соединение успешно активировано (адрес действующего D-Bus: /org/freedesktop/Network Manager/ActiveConnection/2)<br>