LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 12-01-2010, 06:09 AM   #1
Deewanagan
Member
 
Registered: Sep 2008
Posts: 54

Rep: Reputation: 15
Unhappy DNS with Internal Network


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 ?
 
Old 12-01-2010, 08:26 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,925

Rep: Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327
Hi,

For your router box you can add in /etc/resolv.conf
Code:
nameserver 8.8.8.8
so it can use google public dns for resolving.
Now if you want the internal box to use your router as a resolver, you have to setup the router box as a caching/forwarding dns. For this you need to install a name server such as dnsmasq or bind
Use your distro's package manager to install one of them (dnsmasq is more lightweight) and read a howto about configuring a caching name server using the installed package

Regards
 
  


Reply

Tags
virtual network, virtualbox


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS DNS fails on internal network (works on server) ucffool Linux - Networking 1 05-31-2007 02:36 PM
Configuring DNS Server on internal stand alone network with virtual clients scnetlab Red Hat 2 03-23-2006 01:31 AM
DNS registration on internal network acb67 Linux - Networking 4 03-02-2005 01:14 PM
know what bind, dns, a domain, and an internal network have in common? me neither majortool Linux - Networking 10 07-27-2004 12:42 PM
DNS For an internal network??? Milkman00 Linux - General 6 09-02-2002 03:38 PM


All times are GMT -5. The time now is 03:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration