У меня есть двухпортовая карта Mellanox MT27500, которая установлена на HP SL250. На сервере работает Ubuntu 14.04.5 с ядром 3.13.0-24-generic. И тип порта1, и тип порта 2 определены как eth. Я подключил порт 1 и порт 2 к коммутатору с помощью кабеля того же типа, но только порт 2 кажется связанным. Светодиод принадлежит порту 1 выключен.
Есть идеи использовать оба порта?
$ sudo lspci | grep Mellanox
07:00.0 Network controller: Mellanox Technologies MT27500 Family [ConnectX-3]
$ cat /sys/bus/pci/devices/0000\:07\:00.0/mlx4_port1
eth
$ cat /sys/bus/pci/devices/0000\:07\:00.0/mlx4_port2
eth
$ sudo ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: No
Advertised link modes: 10000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: Unknown!
Duplex: Unknown! (255)
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
MDI-X: Unknown
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000014 (20)
link ifdown
Link detected: no
$ sudo ethtool eth1
Settings for eth1:
Supported ports: [ TP ]
Supported link modes: 10000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: No
Advertised link modes: 10000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: Unknown!
Duplex: Unknown! (255)
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
MDI-X: Unknown
Supports Wake-on: g
Wake-on: g
Current message level: 0x00000014 (20)
link ifdown
Link detected: no
$ sudo ip link set dev eth0 up
$ sudo ip link set dev eth1 up
$ ip link show eth0
12: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
link/ether 00:02:c9:fc:25:a0 brd ff:ff:ff:ff:ff:ff
$ ip link show eth1
13: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether 00:02:c9:fc:25:a1 brd ff:ff:ff:ff:ff:ff