Network renewing within virtual box

For some situations I use an ubuntu virtual machine on my macbook with oracle virtual box. Previously I always set the network bridged but recently I decided to try out the NAT-configuration. Using port forwarding made my virtual box accessible from outside. But it don’t worked like I expected. After resuming the system and changing the network and starting the virtual box again, my virtual environment could not connect to the environment. Finally I got it fixed and this is how.
Read the rest of this entry »