VMware Communities
DarioSintex
Contributor
Contributor

Problems with virtual networking - Host only network drops if no phisical interface on host is connected

I have this problem with latest version of workstation and player. This didn't happen with older version of workstation (maybe <= 9.0, not sure).

I have a windows share on my host.

If I'm connected to a phisical network (wifi or ethernet) everything is ok and I can see the folder from other pc on the network and on my virtual machines. I can also ping the host IP on the "host only" network interface from VMs.

If I disconnect the host from the phisical network then I can't see the share from my virtual machine and can't even ping the host machine IP of the "host only" network interface from the VM (and obviously from the network, but this is not the problem).

As I reconnect I can again ping the host.

This is a problem for me as I want to access host folders even whe not connected on home network.

I don't want use shared folders function of VMware because I want to share also with the real network (when connected).

Thanks

0 Kudos
4 Replies
yanw
VMware Employee
VMware Employee

What is your Host/Guest ? And would you please patse the result of 'ipconfig' on your host?

0 Kudos
DarioSintex
Contributor
Contributor

Host is Win7 SP1, guests are win7 and xp

ipconfig output on host when not connected to any phisical network (there are some VPN virtual adapters, the phisical networks are 2nd and 3rd):

------------------------------------------------

Configurazione IP di Windows

Scheda Ethernet OVPN:

   Stato supporto. . . . . . . . . . . . : Supporto disconnesso

   Suffisso DNS specifico per connessione:

Scheda Ethernet Connessione alla rete locale (LAN):

   Stato supporto. . . . . . . . . . . . : Supporto disconnesso

   Suffisso DNS specifico per connessione:

Scheda LAN wireless Connessione rete wireless:

   Stato supporto. . . . . . . . . . . . : Supporto disconnesso

   Suffisso DNS specifico per connessione:

Scheda Ethernet VMware Network Adapter VMnet1:

   Suffisso DNS specifico per connessione:

   Indirizzo IPv6 locale rispetto al collegamento . : fe80::c966:4f6e:32ea:7dd9%19

   Indirizzo IPv4. . . . . . . . . . . . : 192.168.133.1

   Subnet mask . . . . . . . . . . . . . : 255.255.255.0

   Gateway predefinito . . . . . . . . . :

Scheda Ethernet VMware Network Adapter VMnet8:

   Suffisso DNS specifico per connessione:

   Indirizzo IPv6 locale rispetto al collegamento . : fe80::39c8:c850:6f5a:6c8b%20

   Indirizzo IPv4. . . . . . . . . . . . : 192.168.160.1

   Subnet mask . . . . . . . . . . . . . : 255.255.255.0

   Gateway predefinito . . . . . . . . . :

Scheda Tunnel isatap.{57D15066-EC52-4FB0-AE37-AC669E5F5230}:

   Stato supporto. . . . . . . . . . . . : Supporto disconnesso

   Suffisso DNS specifico per connessione:

Scheda Tunnel isatap.{3E59E1FB-0735-4A01-9DBA-46916566CFB9}:

   Stato supporto. . . . . . . . . . . . : Supporto disconnesso

   Suffisso DNS specifico per connessione:

Scheda Tunnel Teredo Tunneling Pseudo-Interface:

   Stato supporto. . . . . . . . . . . . : Supporto disconnesso

   Suffisso DNS specifico per connessione:

Scheda Tunnel isatap.{C9C54B49-EFED-4504-98D5-6DE8B064A682}:

   Stato supporto. . . . . . . . . . . . : Supporto disconnesso

   Suffisso DNS specifico per connessione:

Scheda Tunnel isatap.{EE3D6F93-C548-4DE3-9A6E-52E655BCCB79}:

   Stato supporto. . . . . . . . . . . . : Supporto disconnesso

   Suffisso DNS specifico per connessione:

Scheda Tunnel isatap.{05C75A90-2094-433F-B144-3C3824EF8A0B}:

   Stato supporto. . . . . . . . . . . . : Supporto disconnesso

   Suffisso DNS specifico per connessione:

0 Kudos
yanw
VMware Employee
VMware Employee

when not connected to any phisical network, does the guest VM have ip address of 192.168.133.x ? and does the VM can ping 192.168.133.1 ?  Make sure you have disabled the firewall in the host. If not, please attach the

result of "route print" for both guest and host.

0 Kudos
DarioSintex
Contributor
Contributor

Ip address doesnt change when disconnecting host from phisical network. Even after disconnecting the VM from the virtual network and reattaching, DHCP service on host give correct IP to VM (192.168.133.xxx)

route on VM doesn't change on connecting/disconnecting host.

Host routes changes only about phisical network routes and global gateway routes.

No changes with firewall completely off on Host and guest

here is routes for guest (1) and host(2) for unconnected and connected:

guest:

IPv4 Tabella route

===========================================================================

Route attive:

     Indirizzo rete             Mask          Gateway     Interfaccia Metrica

        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306

        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306

  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306

    192.168.133.0    255.255.255.0         On-link   192.168.133.134    266

  192.168.133.134  255.255.255.255         On-link   192.168.133.134    266

  192.168.133.255  255.255.255.255         On-link   192.168.133.134    266

        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306

        224.0.0.0        240.0.0.0         On-link   192.168.133.134    266

  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306

  255.255.255.255  255.255.255.255         On-link   192.168.133.134    266

===========================================================================

Route permanenti:

  Nessuna

IPv6 Tabella route

===========================================================================

Route attive:

Interf Metrica Rete Destinazione      Gateway

  1    306 ::1/128                  On-link

14    266 fe80::/64                On-link

14    266 fe80::75c7:1f34:5aa2:a3b1/128

                                    On-link

  1    306 ff00::/8                 On-link

14    266 ff00::/8                 On-link

===========================================================================

Route permanenti:

  Nessuna

route disconnected host:

IPv4 Tabella route

===========================================================================

Route attive:

     Indirizzo rete             Mask          Gateway     Interfaccia Metrica

        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306

        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306

  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306

    192.168.133.0    255.255.255.0         On-link     192.168.133.1    276

    192.168.133.1  255.255.255.255         On-link     192.168.133.1    276

  192.168.133.255  255.255.255.255         On-link     192.168.133.1    276

    192.168.160.0    255.255.255.0         On-link     192.168.160.1    276

    192.168.160.1  255.255.255.255         On-link     192.168.160.1    276

  192.168.160.255  255.255.255.255         On-link     192.168.160.1    276

        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306

        224.0.0.0        240.0.0.0         On-link     192.168.133.1    276

        224.0.0.0        240.0.0.0         On-link     192.168.160.1    276

  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306

  255.255.255.255  255.255.255.255         On-link     192.168.133.1    276

  255.255.255.255  255.255.255.255         On-link     192.168.160.1    276

===========================================================================

Route permanenti:

  Nessuna

IPv6 Tabella route

===========================================================================

Route attive:

Interf Metrica Rete Destinazione      Gateway

  1    306 ::1/128                  On-link

19    276 fe80::/64                On-link

20    276 fe80::/64                On-link

20    276 fe80::39c8:c850:6f5a:6c8b/128

                                    On-link

19    276 fe80::c966:4f6e:32ea:7dd9/128

                                    On-link

  1    306 ff00::/8                 On-link

19    276 ff00::/8                 On-link

20    276 ff00::/8                 On-link

===========================================================================

Route permanenti:

  Nessuna

route connected host

IPv4 Tabella route

===========================================================================

Route attive:

     Indirizzo rete             Mask          Gateway     Interfaccia Metrica

          0.0.0.0          0.0.0.0      192.168.1.1    192.168.1.106     25

        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306

        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306

  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306

      192.168.1.0    255.255.255.0         On-link     192.168.1.106    281

    192.168.1.106  255.255.255.255         On-link     192.168.1.106    281

    192.168.1.255  255.255.255.255         On-link     192.168.1.106    281

    192.168.133.0    255.255.255.0         On-link     192.168.133.1    276

    192.168.133.1  255.255.255.255         On-link     192.168.133.1    276

  192.168.133.255  255.255.255.255         On-link     192.168.133.1    276

    192.168.160.0    255.255.255.0         On-link     192.168.160.1    276

    192.168.160.1  255.255.255.255         On-link     192.168.160.1    276

  192.168.160.255  255.255.255.255         On-link     192.168.160.1    276

        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306

        224.0.0.0        240.0.0.0         On-link     192.168.133.1    276

        224.0.0.0        240.0.0.0         On-link     192.168.160.1    276

        224.0.0.0        240.0.0.0         On-link     192.168.1.106    281

  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306

  255.255.255.255  255.255.255.255         On-link     192.168.133.1    276

  255.255.255.255  255.255.255.255         On-link     192.168.160.1    276

  255.255.255.255  255.255.255.255         On-link     192.168.1.106    281

===========================================================================

Route permanenti:

  Nessuna

IPv6 Tabella route

===========================================================================

Route attive:

Interf Metrica Rete Destinazione      Gateway

  1    306 ::1/128                  On-link

19    276 fe80::/64                On-link

20    276 fe80::/64                On-link

13    281 fe80::/64                On-link

13    281 fe80::8ef:859d:c6c7:d0ec/128

                                    On-link

20    276 fe80::39c8:c850:6f5a:6c8b/128

                                    On-link

19    276 fe80::c966:4f6e:32ea:7dd9/128

                                    On-link

  1    306 ff00::/8                 On-link

19    276 ff00::/8                 On-link

20    276 ff00::/8                 On-link

13    281 ff00::/8                 On-link

===========================================================================

Route permanenti:

  Nessuna

Just a question, does the same on your system or it works like expected?

Thanks in advance

0 Kudos