How to access internet from QEMU?

Solution 1:

Delete the options about the network, like:

-net nic,model=ne2k_pci,macaddr=52:54:00:12:34:56 -net user -redir udp:161::161 -redir tcp:4440::22

qemu has default network configurations, and is able directly to access www.