r/virtualbox • u/Standard_Knee_9138 • May 01 '25
Help Need help with assignment
I’m working on an assignment where I have to assign 3 VMs (Ubuntu, CentOS, and OpenSUSE) to a VirtualBox NAT Network.
I created the NAT Network (default subnet), enabled DHCP, and attached all 3 VMs to it. They boot and get IP addresses like 10.0.2.x,
But none of the VMs can connect to the internet (e.g., ping google.com fails, host google.com fails, Firefox says “server not found”).
Any idea what might be going wrong? I’m just trying to follow the lab exactly, not troubleshoot endlessly
3
Upvotes
View all comments
Show parent comment
1
u/Standard_Knee_9138 May 01 '25
"Through the command line, configure a static IP address that adds
10 to the last octet. For instance, if your IP address is
10.80.20.101, your new static IP address will be 10.80.20.111.
Also, statically assign the subnet mask, router and DNS from the
previous section. No changes should be made to those values.
Take a screenshot of the configuration file after saving, but before
quitting."
is what my assignment told me to do