Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

The /etc/network/interfaces file

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface 
auto lo 
iface lo inet loopback

# The primary network interface 
auto eth0 
iface eth0 inet dhcp 
dns-nameservers 8.8.8.8 8.8.4.4

auto eth1
iface eth1 inet static
address 192.168.250.101
netmask 255.255.255.0
gateway 192.168.250.1

The /etc/resolv.conf file

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 10.0.2.3
nameserver 8.8.8.8
nameserver 8.8.4.4

The adapater is set to NAT. Adapter type is Intel PRO/1000 T Server (82543GC)

THe

I also tried the solution from the following links. It does not seem to work on my setup now.

Problems with NAT Adapater since upgrade to Ubuntu 12.10

Virtualbox DNS stopped working on upgrade to 12.10

share|improve this question
    
The /etc/network/interfaces file is formatted incorrectly. E.g., iface lo inet loopback should be on one line. –  jdthood Apr 15 '13 at 11:14
    
It is one line. It must have been pasted incorrectly. –  kapitanluffy Apr 18 '13 at 21:00
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.