Ubuntu – How to access the internet from a virtual machine in Gnome Boxes


I installed Gnome Boxes, created a new virtual machine and booted an ISO. The ISO boots up fine and the network inside the virtual machine got automatically configured by the distro (with dhcpd):

  • IP enp0s3 got the IP
  • DNS nameserver:
  • Gateway default:

Both other hosts are up and I can ping all IPs. DNS works too. But I can't ping anything not on the local net.

Best Answer

Thanks to a user in the german Arch-Linux board I got an answer: Boxes uses NAT for the host, and some protocols (like ICMP) aren't working. So I couldn't use ping, tracepath and the like, but the network and an installation works nevertheless.

Related Question