Hi,
I have a headless machine that I access via a Windows hosted Remote Desktop connection. All was well until I installed Docker and it created an associated interface with an internal IP address.
When I try and access this machine by name (windows does a name lookup - think it’s NetBios before it tries other methods like DNS). I know that to get a response I have to have the NMB service running and that’s all part of the Samba suit which makes sense.
Problem is that it returns the Docker interface IP address and not the IP of the physical interface - verified by pinging the name of the machine. I have also seen this on windows machines with multiple interfaces and you just any IP that’s attached to the machine!
I don’t want to go for static IPs if I can help it, so is there a way of getting Samba/NMB to return the IP of a specific interface as opposed to a random one?
Apologies if I have some of the names wrong and exactly what does what with Windows/Samba interactions.