Greetings.
I'm doing a bit of testing with Debian as a guest VM in VirtualBox
I perform a standard text install of Debian 9 in the VM with the Network setup as
Network Adapter 1 : NAT
This gets me on the internet but I can't ping other VMs or other physical devices on the local area network.
If I change VirtualBox VM Network Adapter 1 to : (Bridged Adapter) I can ping other devices on my physical local area network. But can't access the internet.
So.. I thought I'll just add them both.
My Debian 9 VM Network now has
Network Adapter 1 : Nat
Network Adapter 2 : Bridged Adapter
I started the VM and edited /etc/network/interfacesping google.com fails
ping 1.1.1.1 works fine
ping 8.8.8.8 works fine
cat /etc/resolv.conf showsI've tried editing that file with no success. It keeps switching back. Changes to that file have no effect
Suggestions and comments welcome![:Smile: :)]()
I'm doing a bit of testing with Debian as a guest VM in VirtualBox
I perform a standard text install of Debian 9 in the VM with the Network setup as
Network Adapter 1 : NAT
This gets me on the internet but I can't ping other VMs or other physical devices on the local area network.
If I change VirtualBox VM Network Adapter 1 to : (Bridged Adapter) I can ping other devices on my physical local area network. But can't access the internet.
So.. I thought I'll just add them both.
My Debian 9 VM Network now has
Network Adapter 1 : Nat
Network Adapter 2 : Bridged Adapter
I started the VM and edited /etc/network/interfaces
Code:
auto loiface lo inet loopbackallow-hotplug enp0s3iface enp0s3 inet dhcpallow-hotplug enp0s8iface enp0s8 inet dhcpping 1.1.1.1 works fine
ping 8.8.8.8 works fine
cat /etc/resolv.conf shows
Code:
nameserver 172.21.219.106Suggestions and comments welcome
Statistics: Posted by remus — 2026-01-02 13:57