0

I make a bridge to connect my VMs to which are hosted in an Ubuntu 16.04. Through the VMs I can ping google and access internet. But my host loses internet access. I know its local Ip and I can ping it from other devices in the network but It can's access internet.

I have also a wireless connection whether connected or disconnected the problem remains.

  • Have you checked your network configuration on the host. If you can ping but can't connect to a website it sounds like you don't have a DNS server configured in your settings – marijnr Jul 26 '18 at 9:19
  • I have set the line "dns-nameservers 8.8.8.8" in /etc/network/interfaces. – amir mohamad hatami Jul 26 '18 at 9:27
  • Have you tried pinging to a website (not an ip address)? e.g. ping google.com – marijnr Jul 26 '18 at 9:29
  • yes, non of them works. – amir mohamad hatami Jul 26 '18 at 11:16
  • that means there is a problem with DNS. Do you have a dynamic or static Ip address, and if dynamic, where is your DHCP server located? – marijnr Jul 26 '18 at 11:17

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.