So here's what I'm after:

  • Create Ubuntu inside Virtualbox (done)
  • Join it to the domain using net ads join -S example.com -u admin (done)
  • Update the DNS using net ads dns register (done)
  • Be able to visit the netbios name as defined in smb.conf (lets call it Bob). [Not done]

The problem I am having is that it looks like, even though the machine is now on the AD, and I can browse users in the AD, etc... My network configuration (IP/route tables, etc) are not correct.

For example, my AD server is in the 172 IP range, while BOB is sitting at

The DNS server stores Bob's value as, so when I ping it from my workstation at 172, I end up getting no response (obviously it's on a different net).

Bob's route table is configured to deal with 10... range of IP, rather than 172.

I have attempted doing commands such as ifconfig eht0 netmask and even editing the route tables, but that then makes outbound network traffic imposable.

I'm not really a great network expert here so any help is greatly appreciated.


How is your VirtualBox networking set up? Your addresses are correct if your host is doing NAT. If you want to be on the same subnet, then you need to change your networking configuration to be bridging.

  • Yep, I just wasted a lot of time thinking it was because of something else. You're basically my hero. All I had to do was change the adapter from NAT to bridged. – Incognito Oct 27 '10 at 20:28

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.