I had internet connection inside my virtual box but after not using it for over a week I am not having internet connection. (Similar question to the question posted on ask ubuntu)
The things that come to my mind are:
- Reset router
- Enabled serial port between my 2 virtual machines
I've followed the steps suggested by other answers in stack-exchange and none did work. (when I switch to NAT I have internet connection but for debugging purposes I must have it as bridge-adapter
for having different ips for each VM
Host Machines: Win10
Here are the settings of the VM: (vm are running linux 4.17.0v kernel)
ifconfig
eth0 Link encap: Ethernet HWaddr 08:00:27:dd:5d:7f
inet6 addr: fe80:a00:27ff:fedd:5d7f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3847 (3.8 KB) TX bytes:4962 (4.9 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mast:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:151 errors:0 dropped:0 overruns:0 frame:0
TX packets:151 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10965 (10.9 KB) TX bytes:10965 (10.9 KB)
ipconfig (in host)
Windows IP Configuration
Ethernet adapter Ethernet:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Local Area Connection* 1:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Local Area Connection* 11:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::18dd:2b82:c82:2f51%19
IPv4 Address. . . . . . . . . . . : 192.168.1.21
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
Ethernet adapter Bluetooth Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :