Tenho a placa de duas portas Mellanox MT27500 instalada no HP SL250s. O Ubuntu 14.04.5 com o kernel 3.13.0-24-generic está sendo executado no servidor. O tipo port1 e o tipo port 2 são definidos como eth. Eu conectei a porta 1 e a porta 2 para alternar com o mesmo tipo de cabo, mas somente a porta 2 parece estar vinculada. Led pertence à porta 1 está desativado.
Você tem alguma ideia de usar as duas portas?
$ 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
Tags linux-networking mellanox