I'm trying to setup ubuntu 64 bit VM on my stupid windows 7 machine.
The Network information that the Windows is connecting to
Wireless LAN adapter IPv4 of the host machine - 10.11.209.93
Ethernet adapter VB Host-Only IPv4 - 192.168.56.1
I enabled virtualization in BIOS settings.
windows Host only configs
And, I also set the VirtualMachine network provider to be Bridge Adaptor
.
Also, have network sharing [which is not needed actually]
But, there's no connection in the ubuntu VM.
ifconfig
enp0s3 Link encap:Ethernet HWaddr 00:2D:32:3E:39:3B
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::48:817c:1b4d:e85a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:56 errors:0 dropped:1990 overruns:0 frame:0
TX packets:169 errors:8 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7409 (7.4 KB) TX bytes:16785 (16.7 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:16436 Metric:1
RX packets:50121 errors:0 dropped:0 overruns:0 frame:0
TX packets:50121 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:17079(7.4 KB) TX bytes:16785(17.0 KB)
resolv.conf
$ cat /etc/resolvconf/resolv.conf.d/head
# 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
$ cat /etc/resolv.conf
nameserver 127.0.0.1
search shaharma.net
ping google.com
just hangs on ubuntu VM.
I tried adding nameserver 8.8.8.8
too but does not work either.
Refs
How to share internet access between Ubuntu and Windows guests OS in VirtualBox?