VMware

VMware workstation 15.5 – “view all networ… |VMware Communities

Hello

 

I’m experiencing interesting behavior of the open-vm-tools on Ubuntu with systemd-resolved enabled (which is the default setup) :

 

1. There are “View all networks” section exists on the main VM summary tab of VVMware workstation (located on the very bottom) where we can see networking details reported by open-vm-tools from inside of the guest machine :

     – MAC address(es)

     – Connection type(s)

     – IPV4 address(es)

     – IPV6 address(es)

   

2. That section normally appears soon after the VM start when open-vm-tools is running and initialized in the guest VM.

 

3. When I try to use default Ubuntu that section is not appearing at all.

 

4. Further investigation showed that if I remove “search” line from the /etc/resolv.conf that section appearing almost immediately once I save changes on the guest VM.

 

5. I took a look at the open-vm-tools source code and it looks like it might be related to the following changes:

 

commit e6bc102b12eb346eb0c77feca50ff185994bbcab

Author: Oliver Kurth <okurth@vmware.com>

Date:   Wed Dec 11 10:19:09 2019 -0800

 

    nicinfo: report real nameservers used when using systemd-resolved

   

    If systemd-resolved is used, report the external DNS server, not the

    locally installed one.  This is detected by checking if /etc/resolv.conf

    is a link to /run/systemd/resolve/stub-resolv.conf.  In that case,

    /run/systemd/resolve/resolv.conf will hold the actual DNS server.  See

    https://www.freedesktop.org/software/systemd/man/systemd-resolved.service.html

 

but it seems like open-vm-tools can not finish initialization for some reason.

 

I see this behavior on VMware workstation for Linux and Windows.

 

Versions:

VMware workstation 15.5.6 build-16341506 used.

Ubuntu 18.04 and 20.04 with all updates installed.as of 19 Aug 2020.

 

So,

Is it expected behavior ? if not – how could it be fixed as having “view all networks” section is handy to see current VM networking configuration.

 

Thanks !

 

Max


Source link

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Close