virtualbox networking

June 7th, 2007

I’ve recently tried to get arch linux working inside virtualbox – I just wanted to try it out as an ex-gentoo user just switched to it… but I gave up pretty soon as networking didn’t seem to be working. Then I found out that everything could have been handled by dhcp… you get the proper IP and so on. I tried pinging google.com, heise.de… none of them worked. Some minutes ago I decided to just ask in #vbox (Freenode) and achimha, a user there, told me to simply try accessing a web page in a browser… Well, I didn’t have a browser ready yet so I tried syncing pacman’s (arch’s package manager) database and it worked. So, remember: When using virtualbox and the “NAT” type of network, don’t expect external ping to work and be happy :)