Problemas para adicionar placa de rede no Ubuntu 16.04.2

1. Problemas para adicionar placa de rede no Ubuntu 16.04.2

Bruno
SLoN

(usa CentOS)

Enviado em 25/05/2017 - 09:33h

Bom dia amigos,

Não sou expert em linux, mas estou com a missão de montar um servidor para FW, o que acontece é o seguinte.

Tenho um Server aqui com 1 placa onboard e 2 offboards.
Adicionei elas na mão, uma reconheceu e aparece normal la no ifconfig, pega IP e tudo certo.
Mas a outra não aparece no ifconfig.
Se eu plugo um cabo nela, ela acende, normalmente, mas não está reconhecendo parece que nas informações de rede.

Está dando problemas ao executar também o comando /etc/init.d/networking restart

Abaixo vou postar alguns comandos que julgo ser útil para ajudar no diagnóstico.


lspci -v

Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8169 PCI Gigabit Ethernet Controller (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8169/8110 Family PCI Gigabit Ethernet NIC
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
I/O ports at e400 [size=256]
Memory at ef141000 (32-bit, non-prefetchable) [size=256]
Expansion ROM at ef120000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2
Kernel driver in use: r8169
Kernel modules: r8169

02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8169 PCI Gigabit Ethernet Controller (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8169/8110 Family PCI Gigabit Ethernet NIC
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 19
I/O ports at e000 [size=256]
Memory at ef140000 (32-bit, non-prefetchable) [size=256]
Expansion ROM at ef100000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2
Kernel driver in use: r8169
Kernel modules: r8169

05:00.0 Ethernet controller: Qualcomm Atheros Killer E2400 Gigabit Ethernet Controller (rev 10)
Subsystem: Gigabyte Technology Co., Ltd Killer E2400 Gigabit Ethernet Controller
Flags: bus master, fast devsel, latency 0, IRQ 127
Memory at ef000000 (64-bit, non-prefetchable) [size=256K]
I/O ports at d000 [size=128]
Capabilities: [40] Power Management version 3
Capabilities: [58] Express Endpoint, MSI 00
Capabilities: [c0] MSI: Enable+ Count=1/16 Maskable+ 64bit+
Capabilities: [d8] MSI-X: Enable- Count=16 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [180] Device Serial Number ff-77-91-37-1c-1b-0d-ff
Kernel driver in use: alx
Kernel modules: alx



root@FW:~# lshw -C network

*-network:0
description: Ethernet interface
product: RTL8169 PCI Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: enp2s0
version: 10
serial: 18:d6:c7:00:15:33
size: 10Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=64 link=no maxlatency=64 mingnt=32 multicast=yes port=MII speed=10Mbit/s
resources: irq:18 ioport:e400(size=256) memory:ef141000-ef1410ff memory:ef120000-ef13ffff
*-network:1 DISABLED
description: Ethernet interface
product: RTL8169 PCI Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 1
bus info: pci@0000:02:01.0
logical name: enp2s1
version: 10
serial: 18:d6:c7:00:16:7d
size: 10Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=32 link=no maxlatency=64 mingnt=32 multicast=yes port=MII speed=10Mbit/s
resources: irq:19 ioport:e000(size=256) memory:ef140000-ef1400ff memory:ef100000-ef11ffff
*-network
description: Ethernet interface
product: Killer E2400 Gigabit Ethernet Controller
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:05:00.0
logical name: enp5s0
version: 10
serial: 1c:1b:0d:77:91:37
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=alx duplex=full ip=192.168.0.149 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:127 memory:ef000000-ef03ffff ioport:d000(size=128)



root@FW:~# ifconfig

enp2s0 Link encap:Ethernet Endereço de HW 18:d6:c7:00:15:33
UP BROADCAST MULTICAST MTU:1500 Métrica:1
pacotes RX:0 erros:0 descartados:0 excesso:0 quadro:0
Pacotes TX:0 erros:0 descartados:0 excesso:0 portadora:0
colisões:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

enp5s0 Link encap:Ethernet Endereço de HW 1c:1b:0d:77:91:37
inet end.: 192.168.0.149 Bcast:192.168.0.255 Masc:255.255.255.0
endereço inet6: fe80::1e1b:dff:fe77:9137/64 Escopo:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Métrica:1
pacotes RX:6260 erros:0 descartados:0 excesso:0 quadro:0
Pacotes TX:435 erros:0 descartados:0 excesso:0 portadora:0
colisões:0 txqueuelen:1000
RX bytes:456148 (456.1 KB) TX bytes:73704 (73.7 KB)
IRQ:19

lo Link encap:Loopback Local
inet end.: 127.0.0.1 Masc:255.0.0.0
endereço inet6: ::1/128 Escopo:Máquina
UP LOOPBACK RUNNING MTU:65536 Métrica:1
pacotes RX:410 erros:0 descartados:0 excesso:0 quadro:0
Pacotes TX:410 erros:0 descartados:0 excesso:0 portadora:0
colisões:0 txqueuelen:1
RX bytes:87717 (87.7 KB) TX bytes:87717 (87.7 KB)



/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

# PLACA ONBOARD
auto enp5s0
iface enp5s0 inet dhcp

#PLACA OFFBOARD 1
auto enp2s0
iface enp2s0 inet dhcp

#Placa OFFBOARD 2
auto enp4s0
iface enp4s0 inet dhcp

root@FW:/etc/network/interfaces.d# /etc/init.d/networking restart
[....] Restarting networking (via systemctl): networking.serviceJob for networking.service failed because the control process exited with error code. See "systemctl status networking.service" and "journalctl -xe" for details.
failed!


root@FW:# journalctl -xe

Mai 25 09:41:48 FW named[1734]: automatic empty zone: D.F.IP6.ARPA
Mai 25 09:41:48 FW named[1734]: automatic empty zone: 8.E.F.IP6.ARPA
Mai 25 09:41:48 FW named[1734]: automatic empty zone: 9.E.F.IP6.ARPA
Mai 25 09:41:48 FW named[1734]: automatic empty zone: A.E.F.IP6.ARPA
Mai 25 09:41:48 FW named[1734]: automatic empty zone: B.E.F.IP6.ARPA
Mai 25 09:41:48 FW named[1734]: automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA
Mai 25 09:41:48 FW named[1734]: automatic empty zone: EMPTY.AS112.ARPA
Mai 25 09:41:48 FW named[1734]: configuring command channel from '/etc/bind/rndc.key'
Mai 25 09:41:48 FW named[1734]: configuring command channel from '/etc/bind/rndc.key'
Mai 25 09:41:48 FW named[1734]: reloading configuration succeeded
Mai 25 09:41:48 FW named[1734]: any newly configured zones are now loaded
Mai 25 09:41:48 FW named[1734]: network unreachable resolving './DNSKEY/IN': 2001:7fd::1#53
Mai 25 09:41:48 FW named[1734]: network unreachable resolving './NS/IN': 2001:7fd::1#53
Mai 25 09:41:48 FW systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Mai 25 09:41:48 FW systemd[1]: Failed to start Raise network interfaces.
-- Subject: A unidade networking.service falhou
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade networking.service falhou.
--
-- O resultado é failed.
Mai 25 09:41:48 FW systemd[1]: networking.service: Unit entered failed state.
Mai 25 09:41:48 FW systemd[1]: networking.service: Failed with result 'exit-code'.
Mai 25 09:43:23 FW dhclient[1411]: DHCPREQUEST of 192.168.0.149 on enp5s0 to 192.168.0.254 port 67 (xid=0x3136fa8a)
Mai 25 09:43:23 FW dhclient[1411]: DHCPACK of 192.168.0.149 from 192.168.0.254
Mai 25 09:43:23 FW systemd[1]: Reloading LSB: start Samba SMB/CIFS daemon (smbd).
-- Subject: Unidade smbd.service iniciou recarregamento de sua configuração
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade smbd.service iniciou o recarregamento de sua configuração.
Mai 25 09:43:23 FW smbd[3222]: * Reloading /etc/samba/smb.conf smbd
Mai 25 09:43:23 FW smbd[3222]: ...done.
Mai 25 09:43:23 FW systemd[1]: Reloaded LSB: start Samba SMB/CIFS daemon (smbd).
-- Subject: Unidade smbd.service concluiu recarregamento de sua configuração
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade smbd.service concluiu o recarregamento de sua configuração.
--
-- O resultado é done.
Mai 25 09:43:23 FW dhclient[1411]: bound to 192.168.0.149 -- renewal in 289 seconds.


Não consigo adicionar a outra placa e também nao consigo restartar o serviço networking.

Alguém teria como me auxiliar?

Procurei em outros tópicos aqui, achei coisas semelhantes mas ainda não resolveu o problema.

Abraços,






  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts