NAT under Qemu
When using user-net Qemu behaves as if it was behind a firewall which blocks all incoming connections. You can use a DHCP client to automatically configure the network for the guest OS. Under QEMU 0.7.2 and below using the option
-user-net
or QEMU 0.8.0 and above (you don’t need to specify this any more because it’s actually the default)
-net nic -net user
or if you have no tun/tap init script, Qemu uses a completely user mode network stack (you don’t need root privileges to use the virtual network). The virtual network configuration is the following:
Qemu [continued...]