User net
User-net is the "slang" term used for the most simple network support that QEMU supports (also known as slirp). It is turned on by default if no other networking options are specified, and it has these features:
Internet access through a built-in firewall and NAT
Built-in DHCP and DNS (basically this means easier set-up of your Guest system)
Built-in support for Samba (aka Windows file sharing) and TFTP (Trivial FTP)
Port redirection support
no root privileges required
The User-net mode has these disadvantages, though:
no ping possible (requires root privileges on the host)
no real LAN access - if you want the QEMU Guest system to appear among the other PCs on your LAN, use IP-forwarding or a bridge instead
A more detailed description of User-net can be found in the official QEMU documentation: http://www.nongnu.org/qemu/qemu-doc.html#SEC32
The Invocation section of the doc mentions the options available for User-net: http://bellard.org/qemu/qemu-doc.html#SEC10
The name "User-net" stems from old QEMU versions, where this networking mode was turned on explicitly with the option -user-net . In QEMU 0.8.0 the command line options for networking were streamlined, and User-net can now be enabled explicitly with -net user -net nic (but since it's still enabled by default, you don't need to specify anything at all)
See QEMU and network for further QEMU network related articles.
Back to FrontPage
See http://qemu-buch.de/d/Netzwerkoptionen for further information.
Hosted by http://qemu-buch.de