Solución de problemas de conexión de red con Ubuntu en VirtualBox (OS X)

Solución de problemas de conexión de red con Ubuntu en VirtualBox (OS X)

Estoy configurando Ubuntu Server 14.04 usando VirtualBox en una iMac con OS X Yosemite. Sé muy poco sobre cómo configurar la información de la red y no puedo conectar Ubuntu a Internet (aunque puedo acceder al servidor mediante ssh). Me gustaría utilizar un adaptador puenteado con una IP estática. A continuación tengo información útil (espero). Déjame saber si debería incluir algo más.


Mi /etc/network/interfacesarchivo actual:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 10.0.1.251
netmask 255.255.255.0
gateway 10.0.1.1
dns-nameservers 8.8.8.8 8.8.4.4

Los resultados de ifconfig:

eth0      Link encap:Ethernet  HWaddr 08:00:27:13:0c:ba  
          inet addr:10.0.1.251  Bcast:10.0.1.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fe13:cba/64 Scope:Link
          inet6 addr: 2601:444:c000:33f4:a00:27ff:fe13:cba/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:920 errors:0 dropped:0 overruns:0 frame:0
          TX packets:539 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:84566 (84.5 KB)  TX bytes:75947 (75.9 KB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:61 errors:0 dropped:0 overruns:0 frame:0
          TX packets:61 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:5752 (5.7 KB)  TX bytes:5752 (5.7 KB)

Resultados de un intento de hacer ping a 8.8.8.8:

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.0.1.251 icmp_seq=1 Destination Host Unreachable
From 10.0.1.251 icmp_seq=2 Destination Host Unreachable
From 10.0.1.251 icmp_seq=3 Destination Host Unreachable
From 10.0.1.251 icmp_seq=4 Destination Host Unreachable
From 10.0.1.251 icmp_seq=5 Destination Host Unreachable
From 10.0.1.251 icmp_seq=6 Destination Host Unreachable
^C
--- 8.8.8.8 ping statistics ---
8 packets transmitted, 0 received, +6 errors, 100% packet loss, time 6999ms
pipe 4

Si intento hacer ping a cualquier otro sitio web, simplemente se cuelga allí hasta que finalmente dice ping: unknown host www.google.com(o cualquier sitio web que probé).


¿Qué está causando este problema y qué puedo hacer para solucionarlo? Déjame saber si puedo incluir otra información útil.

Gracias

información relacionada