How to access the internet from a virtual machine in Gnome Boxes?
7,746
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 videos on Youtube
Author by
Brutus
Updated on September 18, 2022Comments
-
Brutus over 1 year
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 IP10.0.2.15
-
DNS nameserver:
10.0.2.3
-
Gateway default:
10.0.2.2
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.
-
IP
-
jedi almost 7 yearsAre you able to ssh onto the virtual machine from your host? I can't. What connection type are you using?
-
Brutus almost 7 years@jedi Sorry, I can't remember if that worked (question was asked over 4 years ago). I assume that it worked (in the local net at least), cause the box provided some deamons. I don't have Boxes installed anymore, maybe someone else can provide an answer.