DNS with Internal Network

Discussions about using Linux guests in VirtualBox.
Post Reply
deewanagan
Posts: 3
Joined: 23. Aug 2009, 09:39
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: windowsXP

DNS with Internal Network

Post by deewanagan »

Hi,
I have setup an internal network between two VM. Ubuntu 9.04 and 10.10 are installed on the virtual machines. What i am doing is that one of the virtualmachines, the one with ubuntu 10.10, is being used as a router. I need all the traffic to be routed from that vm, coz it have internet connection and i want to test bandwidth sharing. i want to generate traffic from the Ubuntu 9.04. Now my problem is that i can't access the internet. the problem is with dns! because i can ping other ip addresses outside of the internal network, also i can ping google/yahoo ip addresses, but can't use the dns service. The ip addresses for the internel network is setup manually.

Can anyone help me get the dns service working ? :D

Thanks
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: DNS with Internal Network

Post by Sasquatch »

Check out dnsmasq. It's easy to set up. In addition, your question has little to do with VB, as you would get the same if you would build a Linux router for your home network.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply