Quantcast
Viewing all articles
Browse latest Browse all 6153

Ubuntu: Can't connect to host's internet connection using NAT

I installed Lubuntu on Virtualbox. I'm using Windows 7 x64. My VM is 32 bit version. The internet works using Bridged Adapter, but I'm trying to use NAT so I can use a VPN. In Network and Sharing Center in Windows, I see connection "VirtualBox Host-Only Connection" and it says "No Internet Access". In properties, "VirtualBox Bridged Networking Driver" is checked. The following is the output of ifconfig:

dev@dev-VirtualBox:~$ ifconfigeth0      Link encap:Ethernet  HWaddr 08:00:27:f3:48:24            inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0          inet6 addr: fe80::a00:27ff:fef3:4824/64 Scope:Link          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1          RX packets:379 errors:0 dropped:0 overruns:0 frame:0          TX packets:421 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:1000           RX bytes:32105 (32.1 KB)  TX bytes:34987 (34.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:856 errors:0 dropped:0 overruns:0 frame:0          TX packets:856 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:0           RX bytes:56432 (56.4 KB)  TX bytes:56432 (56.4 KB)

Routing Table:

dev@dev-VirtualBox:~$ routeKernel IP routing tableDestination     Gateway         Genmask         Flags Metric Ref    Use Ifacedefault         10.0.2.2        0.0.0.0         UG    0      0        0 eth010.0.2.0        *               255.255.255.0   U     1      0        0 eth0dev@dev-VirtualBox:~$ 

Connection Editor:General: Automatically Connect to this network when it isn't available, All users may connect ot this networkEthernet: MTU automaticIPV4: Automatic (DHCP), Require ipv4 addressing for this connection to completeIPV6: Ignore

dev@dev-VirtualBox:~$ cat /etc/network/interfaces# interfaces(5) file used by ifup(8) and ifdown(8)auto loiface lo inet loopback

Viewing all articles
Browse latest Browse all 6153

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>