Problems with internet connectivity on Debian guest

When you’re experiencing problems with internet connection on VirtualBoxe’s guest hosts. double check your gateway settings. Here are commands that may help you:

ip route del default
ip route add default via [gateway address] dev [device name]

And to list available interfaces:

ip address