6
2
I installed Ubuntu 12.04 on a Virtual Machine (Virtualbox). The network adapter is attached using bridged adapter.
I can ping the guest OS by IP but I can't ping it via hostname.
I already installed Samba and winbind. I also edited /etc/nsswitch.conf to and 'wins'.
Does the settings takes time to take into effect? What other things can I try to be able to ping the Ubuntu OS by hostname?
Thanks!
Did you configure Samba with the desired machine name and make sure
nmbd
is running? – Ignacio Vazquez-Abrams – 2013-05-20T12:31:09.097if you are using bridged networking, and you only have one internal network, you do not need wins. are UDP 137 and 139 on the ubuntu box accessible to the host? the netbios-ns service should run on these ports for broadcast name resolution. – Frank Thomas – 2013-05-20T12:56:40.927
@IgnacioVazquez-Abrams No. Any guide on how to configure Samba and what to put in it? How can I check if nmbd is running? – Ian – 2013-05-20T13:35:55.000
@FrankThomas I turned off the firewall. I'm assuming 137 and 139 are open.
Also, I'm not sure why bridged networking and "internal network" matters here? – Ian – 2013-05-20T13:37:25.007
1using a bridged network connection, your guest appears on teh same network as your host and your other equipment. NetBIOS was originally a LAN protocol that could not cross routers, so if your network was divided into subnets or consisted of multiple networks, you needed a WINS server to enable functionality across the whole enterprise. nowadays, with NetBIOS over TCP/IP, its no longer necessary to use a wins server to broker in this fashion, and since you only have the one subnet anyway, WINS is doubly meaningless. – Frank Thomas – 2013-05-20T14:24:55.880