Hello Everyone
I am new to vmware
I created a VM with Ubuntu and installed Samba within the OS
The VM has access to the internet and it can ping a Windows IP
The Windows Client can also ping the VM Ubuntu machine with success
I can also access the shares within Ubunutu \\10.1.10.2\sharing
However, Windows 10 Pro client can not access the Ubuntu Shares
It is worth noting I can access the share via hostname \\print-server\sharing this works fine
Any help would be appreciated
Hi,
As a Windows 10 Pro client cannot access the Ubuntu share, you could start with double checking the Windows 10 Pro settings e.g. AllowInsecureGuestAuth=1 and RequireSecuritySignature=1 .
The Windows 10 Pro client is able to access the the Ubuntu share via IP6 or Hostname it is only IP4 which is the issue
probably best to ask on a Microsoft or Linux forum, as if IPv6 works this has nothing to do with vSphere ![]()
Noticed if I change the from STATIC to DHCP within Ubunutu VM I can access all shares and printers
Does ESXI not control the network or is the network assigned from within the VM ?
Hi,
@depping is right, but here some thoughts.
- check the network locationprofiles (private, domain, public) configuration
- Run smb check
Test-NetConnection -ComputerName 192.168.1.200 -CommonTCPPort SMB
net view \\192.168.1.200
I would do some research through smb known issues.
Solution
IP address needs to be changed from within the VM Ubuntu
Open Terminal
Ip -a (Find your current network card name, in my case it was ENS160)
cd /etc/netplan
Sudo vim 00-installer-config.yaml
--
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager
ethernets:
ens160:
dhcp4: no
addresses: [10.1.10.4/24]
gateway4: 10.1.10.1
nameservers:
addresses: [10.50.16.1, 8.8.8.8]
--
sudo netplan apply
sudo reboot
All Samba and Printer shares working now
ESXi doesn't control anything magically. You as an admin set up the network portgroups with the right VLANs, and then you assign the right IP or use DHCP or something for the VMs.
