Usando o servidor Ubuntu 16.04 corrigido com as atualizações mais recentes, como hoje, eu tenho uma placa de rede com fio com um endereço IPv4 estático configurado. Eu gostaria de ativar uma placa de rede sem fio com outro endereço IPv4 estático. O AP é meu roteador residencial / DSL usando um tipo de link de segurança WPA PSK. Os pontos são: NIC apenas com fio configurado e conectado: tudo OK b - NIC com e sem fio configurada: as duas interfaces conectadas e possuem SAME mac address c- apenas NIC sem fio configurada e conectada: não consigo fazer ping nem ssh no endereço IP da NIC sem fio Alguns logs do console seguem:
localadmin@st:~$ 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 enp4s0
# iface enp4s0 inet dhcp
auto enp4s0
iface enp4s0 inet static
address 10.1.1.9
netmask 255.255.255.0
gateway 10.1.1.7
dns-nameservers 8.8.4.4 8.8.8.8
#auto wlp3s0
#iface wlp3s0 inet static
auto wlx00026f8dfd44
iface wlx00026f8dfd44 inet static
address 10.1.1.11
netmask 255.255.255.0
wpa-ssid XXX
wpa-psk xxxxxxxxxxxxxxxxx
# gateway 10.1.1.1
# dns-nameservers 8.8.4.4 8.8.8.8
do meu PC com Windows ...
Microsoft Windows [Versione 10.0.15063] (c) 2017 Microsoft Corporation. Tutti i diritti sono riservati. C:\WINDOWS\system32>arp -d * C:\WINDOWS\system32>ping 10.1.1.9 -t Esecuzione di Ping 10.1.1.9 con 32 byte di dati: Risposta da 10.1.1.9: byte=32 durataping 10.1.1.11 -t Esecuzione di Ping 10.1.1.11 con 32 byte di dati: Risposta da 10.1.1.11: byte=32 durataarp -a Interfaccia: 10.1.1.3 --- 0x2 Indirizzo Internet Indirizzo fisico Tipo 10.1.1.1 30-91-8f-64-f5-44 dinamico 10.1.1.9 00-01-80-80-8e-95 dinamico 10.1.1.11 00-01-80-80-8e-95 dinamico 10.1.1.39 02-e0-20-09-52-7e dinamico 10.1.1.255 ff-ff-ff-ff-ff-ff statico 224.0.0.22 01-00-5e-00-00-16 statico Interfaccia: 192.168.56.1 --- 0x9 Indirizzo Internet Indirizzo fisico Tipo 192.168.56.255 ff-ff-ff-ff-ff-ff statico 224.0.0.22 01-00-5e-00-00-16 statico 239.255.255.253 01-00-5e-7f-ff-fd statico
--- meu servidor ubuntu
localadmin@st:~$ ifconfig enp4s0 Link encap:Ethernet IndirizzoHW 00:01:80:80:8e:95 indirizzo inet:10.1.1.9 Bcast:10.1.1.255 Maschera:255.255.255.0 indirizzo inet6: fe80::201:80ff:fe80:8e95/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:616 errors:0 dropped:0 overruns:0 frame:0 TX packets:738 errors:0 dropped:0 overruns:0 carrier:0 collisioni:0 txqueuelen:1000 Byte RX:103837 (103.8 KB) Byte TX:80988 (80.9 KB) lo Link encap:Loopback locale indirizzo inet:127.0.0.1 Maschera:255.0.0.0 indirizzo inet6: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:166 errors:0 dropped:0 overruns:0 frame:0 TX packets:166 errors:0 dropped:0 overruns:0 carrier:0 collisioni:0 txqueuelen:1 Byte RX:12232 (12.2 KB) Byte TX:12232 (12.2 KB) wlx00026f8dfd44 Link encap:Ethernet IndirizzoHW 00:02:6f:8d:fd:44 indirizzo inet:10.1.1.11 Bcast:10.1.1.255 Maschera:255.255.255.0 indirizzo inet6: fe80::202:6fff:fe8d:fd44/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:136 errors:0 dropped:0 overruns:0 frame:0 TX packets:55 errors:0 dropped:0 overruns:0 carrier:0 collisioni:0 txqueuelen:1000 Byte RX:18811 (18.8 KB) Byte TX:6963 (6.9 KB)
e agora no meu PC com o Windows novamente:
C:\WINDOWS\system32>ping 10.1.1.11 -t
Esecuzione di Ping 10.1.1.11 con 32 byte di dati:
Risposta da 10.1.1.11: byte=32 durata<1ms TTL=64
Risposta da 10.1.1.11: byte=32 durata<1ms TTL=64
Risposta da 10.1.1.11: byte=32 durata<1ms TTL=64
Risposta da 10.1.1.11: byte=32 durata<1ms TTL=64
Risposta da 10.1.1.11: byte=32 durata<1ms TTL=64
Risposta da 10.1.1.11: byte=32 durata<1ms TTL=64
Risposta da 10.1.1.11: byte=32 durata<1ms TTL=64
Richiesta scaduta. <----here I unplugged wired cable: translation is something like "timeout"
Richiesta scaduta.
Richiesta scaduta.
Você tem dicas ou um caminho para pesquisas furter? Obrigado!