Win10 - não é possível acessar a VM do ubuntu após a última atualização do Windows (novamente: - /)

1

Mais uma vez, após as principais atualizações do Windows, minha rede de caixa virtual caiu no ralo ...

Minhas VMs estão iniciando e posso me conectar a elas por meio do encaminhamento de portas vagrant. Mas eu não posso alcançá-los do host do Windows na rede interna (ping em 10.0.0.30). As VMs têm conexão com o mundo exterior. Também VMs (eu tenho duas com o mesmo arquivo vagrant, difere apenas no último segmento de IP) podem fazer ping em IPs estáticos nesta rede privada.

Eu suspeito que seja o firewall do Windows ou o roteamento incorreto no host. Mas não consigo encontrar uma maneira de fazer isso funcionar novamente.

Detalhes:

Host: Windows 10 Pro com o VirtualBox Convidado: Ubuntu (box: ubuntu / xenial64)

Arquivo do Vagrant:

# -*- mode: ruby -*-

# vi: set ft=ruby :


Vagrant.configure(2) do |config|
  config.vm.box = "ubuntu/xenial64"
  config.vm.synced_folder ".", "/vagrant", mount_options: ["dmode=777,fmode=666"]
  config.vm.provider "virtualbox" do |v|
    v.memory = 8192
 v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
  end

  config.vm.define :dev do |dev|
    dev.vm.hostname = "local-dev" 
    dev.vm.network "private_network", ip: "10.0.0.30"
    dev.vm.provision :shell, path: "bootstrap.sh"
    dev.vm.provision :shell,
      inline: 'PYTHONUNBUFFERED=1 ansible-playbook \
        /vagrant/ansible/dev.yml -c local'


  end

  if Vagrant.has_plugin?("vagrant-cachier")
    config.cache.scope = :box
  end

  if Vagrant.has_plugin?("vagrant-vbguest")
    config.vbguest.auto_update = false
    config.vbguest.no_install = true
    config.vbguest.no_remote = true
  end


end

ifconfig no guest ubuntu:

ubuntu@local-dev:~$ ifconfig
docker0   Link encap:Ethernet  HWaddr 02:42:0b:f0:0e:b8
          inet addr:172.17.0.1  Bcast:0.0.0.0  Mask:255.255.0.0
          inet6 addr: fe80::42:bff:fef0:eb8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:69 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:11583 (11.5 KB)


enp0s3    Link encap:Ethernet  HWaddr 02:6e:aa:4e:78:a9
          inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
          inet6 addr: fe80::6e:aaff:fe4e:78a9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:97907 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43080 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:85101631 (85.1 MB)  TX bytes:2663603 (2.6 MB)


enp0s8    Link encap:Ethernet  HWaddr 08:00:27:d4:43:c2
          inet addr:10.0.0.30  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fed4:43c2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:142 errors:0 dropped:0 overruns:0 frame:0
          TX packets:113 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:24608 (24.6 KB)  TX bytes:17882 (17.8 KB)


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:38 errors:0 dropped:0 overruns:0 frame:0
          TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:2520 (2.5 KB)  TX bytes:2520 (2.5 KB)


veth6b6e39b Link encap:Ethernet  HWaddr 7e:a7:58:89:5a:f4
          inet6 addr: fe80::7ca7:58ff:fe89:5af4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:12231 (12.2 KB)

ipconfig no host do Windows:

> ipconfig /all


Windows IP Configuration


   Host Name . . . . . . . . . . . . : antigro_ciesiel
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No


Ethernet adapter Ethernet:


   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : ASIX AX88179 USB 3.0 to Gigabit Ethernet Adapter
   Physical Address. . . . . . . . . : 00-0E-C6-E3-26-C3
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes


Ethernet adapter Ethernet 3:


   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Realtek USB GbE Family Controller
   Physical Address. . . . . . . . . : 00-E0-4C-02-09-27
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes


Ethernet adapter VirtualBox Host-Only Network #5:


   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter #5
   Physical Address. . . . . . . . . : 0A-00-27-00-00-04
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::2457:af67:45f4:7d18%4(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.56.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 67764263
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-22-A9-43-A1-00-0E-C6-E3-26-C3
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled


Ethernet adapter VirtualBox Host-Only Network #6:


   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter #6
   Physical Address. . . . . . . . . : 0A-00-27-00-00-2F
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::d466:173f:3d9f:8a4e%47(Preferred)
   IPv4 Address. . . . . . . . . . . : 10.0.0.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 789184551
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-22-A9-43-A1-00-0E-C6-E3-26-C3
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled


Wireless LAN adapter Local Area Connection* 2:


   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
   Physical Address. . . . . . . . . : 10-02-B5-CD-F4-20
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes


Wireless LAN adapter Local Area Connection* 11:


   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter #2
   Physical Address. . . . . . . . . : 12-02-B5-CD-F4-1F
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes


Ethernet adapter Ethernet 2:


   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : TAP-NordVPN Windows Adapter V9
   Physical Address. . . . . . . . . : 00-FF-EE-9A-6B-4A
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes


Wireless LAN adapter Wi-Fi:


   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 7265
   Physical Address. . . . . . . . . : 10-02-B5-CD-F4-1F
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::14f:78ac:ef5:ee8b%13(Preferred)
   IPv4 Address. . . . . . . . . . . : 10.10.21.181(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : wtorek, 12 czerwca 2018 09:20:56
   Lease Expires . . . . . . . . . . : wtorek, 12 czerwca 2018 14:01:18
   Default Gateway . . . . . . . . . : 10.10.21.1
   DHCP Server . . . . . . . . . . . : 10.10.21.1
   DHCPv6 IAID . . . . . . . . . . . : 772801205
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-22-A9-43-A1-00-0E-C6-E3-26-C3
   DNS Servers . . . . . . . . . . . : 10.10.21.1
                                       8.8.8.8
                                       188.117.188.117
                                       89.25.182.14
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tabela de rotas no host do Windows:

> route PRINT
===========================================================================
Interface List
 28...00 0e c6 e3 26 c3 ......ASIX AX88179 USB 3.0 to Gigabit Ethernet Adapter
 24...00 e0 4c 02 09 27 ......Realtek USB GbE Family Controller
  4...0a 00 27 00 00 04 ......VirtualBox Host-Only Ethernet Adapter #5
 47...0a 00 27 00 00 2f ......VirtualBox Host-Only Ethernet Adapter #6
 31...10 02 b5 cd f4 20 ......Microsoft Wi-Fi Direct Virtual Adapter
 14...12 02 b5 cd f4 1f ......Microsoft Wi-Fi Direct Virtual Adapter #2
 33...00 ff ee 9a 6b 4a ......TAP-NordVPN Windows Adapter V9
 13...10 02 b5 cd f4 1f ......Intel(R) Dual Band Wireless-AC 7265
  1...........................Software Loopback Interface 1
===========================================================================


IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0       10.10.21.1     10.10.21.181     45
         10.0.0.0    255.255.255.0         On-link          10.0.0.1    281
         10.0.0.1  255.255.255.255         On-link          10.0.0.1    281
       10.0.0.255  255.255.255.255         On-link          10.0.0.1    281
       10.10.21.0    255.255.255.0         On-link      10.10.21.181    301
     10.10.21.181  255.255.255.255         On-link      10.10.21.181    301
     10.10.21.255  255.255.255.255         On-link      10.10.21.181    301
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    331
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    331
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    331
     192.168.56.0    255.255.255.0         On-link      192.168.56.1    281
     192.168.56.1  255.255.255.255         On-link      192.168.56.1    281
   192.168.56.255  255.255.255.255         On-link      192.168.56.1    281
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    331
        224.0.0.0        240.0.0.0         On-link      10.10.21.181    301
        224.0.0.0        240.0.0.0         On-link      192.168.56.1    281
        224.0.0.0        240.0.0.0         On-link          10.0.0.1    281
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    331
  255.255.255.255  255.255.255.255         On-link      10.10.21.181    301
  255.255.255.255  255.255.255.255         On-link      192.168.56.1    281
  255.255.255.255  255.255.255.255         On-link          10.0.0.1    281
===========================================================================
Persistent Routes:
  None


IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
  1    331 ::1/128                  On-link
 47    281 fe80::/64                On-link
  4    281 fe80::/64                On-link
 13    301 fe80::/64                On-link
 13    301 fe80::14f:78ac:ef5:ee8b/128
                                    On-link
  4    281 fe80::2457:af67:45f4:7d18/128
                                    On-link
 47    281 fe80::d466:173f:3d9f:8a4e/128
                                    On-link
  1    331 ff00::/8                 On-link
 47    281 ff00::/8                 On-link
  4    281 ff00::/8                 On-link
 13    301 ff00::/8                 On-link
===========================================================================
Persistent Routes:
  None

Qualquer ajuda seria muito apreciada, já que estou prestes a perder o último cabelo nesta coisa ...

Eu lembro que há algum tempo atrás eu estava resolvendo algo assim, adicionando um roteamento ausente em algum lugar (guest ou host), mas não lembro exatamente o que era, nem posso encontrar ajuda on-line ...

[EDIT] - Resolvido , após 2 dias de teclado de morder ...

O problema foi alguma interação estranha entre a pilha de rede, os adaptadores de caixa virtual e o driver NordVPN / NordVPN TAP. Tudo estava funcionando bem antes da última atualização do Windows e foi embora depois disso.

Eu desinstalei o NordVPN e o driver TAP relacionado, desinstalei as interfaces de rede e deixei o Windows reinstalá-las após a reinicialização. Agora está funcionando como esperado. Agora vou tentar reinstalar o Nord VPN e ver se ele ainda funciona.

    
por wciesiel 12.06.2018 / 17:01

1 resposta

2

O problema foi alguma interação estranha entre a pilha de rede, os adaptadores de caixa virtual e o driver NordVPN / NordVPN TAP. Tudo estava funcionando bem antes da última atualização do Windows e foi embora depois disso.

Eu desinstalei o NordVPN e o driver TAP relacionado, desinstalei as interfaces de rede e deixei o Windows reinstalá-las após a reinicialização. Agora está funcionando como esperado. Agora vou tentar reinstalar o Nord VPN e ver se ele ainda funciona.

    
por 13.06.2018 / 11:03