I'm trying to simulate a small network with VirtualBox guests.
I'm have a problem giving access to internet to the "server" guest with the following configuration.
Guests VMs:
1 - firewall (OS: ubuntu server 18.04)
First virtualbox network adapter (enp0s3): bridge
* IP (given by DHCP from home router): 192.168.1.89
* Gateway: 192.168.1.254
Second virtualbox network adapter (enp0s8): host-only
* IP (static, configured in netplan): 10.0.0.200
* Gateway: 192.168.1.89
2 - server (OS: ubuntu server 18.04)
* virtualbox network adapter (enp0s3): host-only
* IP (static, configured in netplan): 10.0.0.100
* gateway: 10.0.0.200
Question1:
With this configuration, I can ping 10.0.0.200 and 192.168.1.89 from the server VM, but not 192.168.1.254.
What routes I have to add so I can ping 192.168.1.254 from server VM?
Question2:
I have access to internet in firewall VM but not in server VM.
What do I have to do to give internet access to the server throught the firewall VM?
Thanks
Comments
Post a Comment