Não é possível obter o segundo NIC para funcionar no Ubuntu Server

0

Eu tenho o Dell t5500 que eu propus como um servidor. Tem uma porta ethernet (enp6so). Eu adicionei um segundo NIC para obter uma segunda porta (10 GBE) (virbr0).

Não é plug and play, infelizmente. Eu não posso fazer o virbr0 funcionar. Não tenho certeza do que fazer agora.

ifconfig (o virbr0 não é 'RUNNING')

cyclops:~$ ifconfig
enp6s0    Link encap:Ethernet  HWaddr 14:fe:b5:ee:49:c3
      inet addr:***.***.67.76  Bcast:***.***.67.255  Mask:255.255.254.0
      inet6 addr: ***:f220:413:4905:16fe:b5ff:feee:49c3/64 Scope:Global
      inet6 addr: ***::16fe:b5ff:feee:49c3/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:863799 errors:0 dropped:13 overruns:0 frame:0
      TX packets:10459 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:113965465 (113.9 MB)  TX bytes:1525472 (1.5 MB)
      Interrupt:17

lo        Link encap:Local Loopback
      inet addr:127.0.0.1  Mask:255.0.0.0
      inet6 addr: ::1/128 Scope:Host
      UP LOOPBACK RUNNING  MTU:65536  Metric:1
      RX packets:18991 errors:0 dropped:0 overruns:0 frame:0
      TX packets:18991 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1
      RX bytes:6646333 (6.6 MB)  TX bytes:6646333 (6.6 MB)

virbr0    Link encap:Ethernet  HWaddr 52:54:00:2c:df:c2
      inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
      UP BROADCAST MULTICAST  MTU:1500  Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:0 (0.0 B)  TX bytes:1500 (1.5 KB)

O arquivo de configuração de rede / interface

cyclops:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto enp6s0
iface enp6s0 inet static
address ***.***.67.76
netmask 255.255.254.0
network ***.***.66.0
broadcast ***.***.67.255
gateway ***.***.66.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers ***.**.70.10 ***.**.74.10
dns-search ***.***.***
hostname cyclops

# 10g card
auto virbr0
iface virbr0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255

Os drivers parecem estar instalados

cyclops:~$ lspci -nnk | grep -i -A2 net
04:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller 10G X550T [8086:15d1] (rev 01)
Subsystem: Intel Corporation Ethernet Controller 10G X550T [8086:0000]
Kernel driver in use: ixgbe
Kernel modules: ixgbe
06:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5761       Gigabit Ethernet PCIe [14e4:1681] (rev 10)
Subsystem: Dell NetXtreme BCM5761 Gigabit Ethernet PCIe [1028:026e]
Kernel driver in use: tg3
Kernel modules: tg3

Mas o cartão está DESABILITADO

cyclops:~$ sudo lshw -c network
  *-network DISABLED
   description: Ethernet interface
   product: Ethernet Controller 10G X550T
   vendor: Intel Corporation
   physical id: 0
   bus info: pci@0000:04:00.0
   logical name: enp4s0
   version: 01
   serial: 00:0a:cd:30:fe:75
   capacity: 1Gbit/s
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi msix pciexpress bus_master cap_list rom ethernet physical tp 100bt-fd 1000bt-fd autonegotiation
   configuration: autonegotiation=on broadcast=yes driver=ixgbe driverversion=5.3.5 firmware=0x80000494 latency=0 link=no multicast=yes port=twisted pair
   resources: irq:42 memory:ec000000-ec1fffff memory:ec200000-ec203fff     memory:ec400000-ec47ffff memory:ec480000-ec57ffff memory:ec580000-ec67ffff
  *-network
   description: Ethernet interface
   product: NetXtreme BCM5761 Gigabit Ethernet PCIe
   vendor: Broadcom Corporation
   physical id: 0
   bus info: pci@0000:06:00.0
   logical name: enp6s0
   version: 10
   serial: 14:fe:b5:ee:49:c3
   size: 1Gbit/s
   capacity: 1Gbit/s
   width: 64 bits
   clock: 33MHz
   capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
   configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.137 duplex=full firmware=5761-v3.68 ip=165.112.67.76 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
   resources: irq:70 memory:f3de0000-f3deffff memory:f3df0000-f3dfffff
  *-network DISABLED
   description: Ethernet interface
   physical id: 1
   logical name: virbr0-nic
   serial: 52:54:00:2c:df:c2
   size: 10Mbit/s
   capabilities: ethernet physical
   configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=no multicast=yes port=twisted pair speed=10Mbit/s

Eu testei ifconfib virbr0 e isso não tem efeito.

Não tenho certeza do que tentar agora.

    
por David M 26.01.2018 / 19:39

0 respostas