No Internet on Guest [Ubuntu 16.04] [Tried Everything]
Posted: 14. Jan 2018, 16:01
TL;DR Guests on one server can't connect while guests on the other server can. Both NAT and Bridged adapter tried.
I'm completely out of ideas, let me start by describing my issue, followed by the network and finally the things I've tried and some common questions you might ask.
I have two servers who both run Virtualbox.
Let's call these servers server A and server B.
Server A*:
- runs 5.2.4 r119785
- Ubuntu 16.04
- Host has perfect access both internal and external.
- Guests no internet, perfect connection to gateway and internal network
Server B:
- runs 5.0.40_Ubuntu r115130
- Ubuntu 16.04
- Host has perfect access both internal and external.
- Guests perfect connection
Server A* is facing some issues whilst Server B has none. Astrix will indicate what one of a list is having the issue (for easier reading)
Server A*s' guests used to have perfect internet connection but after a power outage (no issues) virtualbox started to display this error.
PLEASE NOTE:
- All servers do not have any firewall rules. (iptables -S shows only default rules (ALLOW))
- Even the ones usually requiring them for a DMZ
Network & Gateways:
Internal Network: 192.168.178.0/24
- 192.168.178.1
Internal Network (DMZ): 10.0.0.0/8
- 10.0.0.1
Server A*:
- 192.168.178.12
Server B:
- 192.168.178.11
So again, Server A has no issues but the guests do.
I've enabled both NAT and bridged adapter to troubleshoot Server A*'s machines, In the end only NAT will be enabled.
Cable is connected for every adapter.
Both NAT and Bridged adapters are correctly set up with DHCP
Server A* Guest 1: (No internet)
- 10.1.0.1
- 10.0.3.15 (NAT)
- 192.168.178.114 (Bridge)
Server A* Guest 2: (No internet)
- 10.0.1.1
- 10.0.3.15 (NAT)
- 192.168.178.114 (Bridge)
Server B Guest 1 (VPN Gateway): (Internet)
- 10.10.0.1 (10.10.0.0/16 VPN gateway)
- 10.0.0.200 (DMZ)
- 192.168.178.200 (Internal)
Cans and Can'ts
Server A's Guests can't:
- nslookup google com
. ping google com
- ping 8.8.8.8
- ping {public_home_ip}
Server A's Guests can:
- ping 192.168.178.1
- ping 192.168.178.11 (B)
- ping 192.168.178.12 (A*)
- ping 10.0.0.200
- ping 10.0.0.1
Server B's Guests can:
- ping 192.168.178.1
- ping 192.168.178.11 (B)
- ping 192.168.178.12 (A*)
- ping 10.0.0.200
- ping 10.0.0.1
- nslookup google com
. ping google com
- ping 8.8.8.8
- ping {public_home_ip}
Things I've tried:
I've tried rotating the MAC address
I've tried reinstalling VBox
I've tried upgrading VBox (which is why it's the most recent version)
I've tried restarting the host
I've tried restarting the guests
I've tried temporarily turning off the adapters
I've tried modifying promiscuous mode
I've tried changing the adapter type
I hope this gives enough insight into my issue.
I'm completely out of ideas, let me start by describing my issue, followed by the network and finally the things I've tried and some common questions you might ask.
I have two servers who both run Virtualbox.
Let's call these servers server A and server B.
Server A*:
- runs 5.2.4 r119785
- Ubuntu 16.04
- Host has perfect access both internal and external.
- Guests no internet, perfect connection to gateway and internal network
Server B:
- runs 5.0.40_Ubuntu r115130
- Ubuntu 16.04
- Host has perfect access both internal and external.
- Guests perfect connection
Server A* is facing some issues whilst Server B has none. Astrix will indicate what one of a list is having the issue (for easier reading)
Server A*s' guests used to have perfect internet connection but after a power outage (no issues) virtualbox started to display this error.
PLEASE NOTE:
- All servers do not have any firewall rules. (iptables -S shows only default rules (ALLOW))
- Even the ones usually requiring them for a DMZ
Network & Gateways:
Internal Network: 192.168.178.0/24
- 192.168.178.1
Internal Network (DMZ): 10.0.0.0/8
- 10.0.0.1
Server A*:
- 192.168.178.12
Server B:
- 192.168.178.11
So again, Server A has no issues but the guests do.
I've enabled both NAT and bridged adapter to troubleshoot Server A*'s machines, In the end only NAT will be enabled.
Cable is connected for every adapter.
Both NAT and Bridged adapters are correctly set up with DHCP
Server A* Guest 1: (No internet)
- 10.1.0.1
- 10.0.3.15 (NAT)
- 192.168.178.114 (Bridge)
Server A* Guest 2: (No internet)
- 10.0.1.1
- 10.0.3.15 (NAT)
- 192.168.178.114 (Bridge)
Server B Guest 1 (VPN Gateway): (Internet)
- 10.10.0.1 (10.10.0.0/16 VPN gateway)
- 10.0.0.200 (DMZ)
- 192.168.178.200 (Internal)
Cans and Can'ts
Server A's Guests can't:
- nslookup google com
. ping google com
- ping 8.8.8.8
- ping {public_home_ip}
Server A's Guests can:
- ping 192.168.178.1
- ping 192.168.178.11 (B)
- ping 192.168.178.12 (A*)
- ping 10.0.0.200
- ping 10.0.0.1
Server B's Guests can:
- ping 192.168.178.1
- ping 192.168.178.11 (B)
- ping 192.168.178.12 (A*)
- ping 10.0.0.200
- ping 10.0.0.1
- nslookup google com
. ping google com
- ping 8.8.8.8
- ping {public_home_ip}
Things I've tried:
I've tried rotating the MAC address
I've tried reinstalling VBox
I've tried upgrading VBox (which is why it's the most recent version)
I've tried restarting the host
I've tried restarting the guests
I've tried temporarily turning off the adapters
I've tried modifying promiscuous mode
I've tried changing the adapter type
I hope this gives enough insight into my issue.