In this exercise, I'll show you how the NAT mode lets you do some basic networking tasks in your virtual machine as if you were working with a real PC behind a firewall or router. I'll also show you how to set up a web server in one of your virtual machines and test if you can access that web server from your host PC. In this exercise, I used a Windows XP system as the host PC and the
UbuntuVB virtual machine we created in previous chapters.
ipconfig, followed by Enter. If you're using a Linux host, open a terminal window and type
ifconfig, followed by Enter. Your IP configuration will show up next, as in the following screenshot ...