|Home > Introduction > Network set up > User mode networking|
User mode networking emulates a built-in IP router and DHCP server, and routes TCP and UDP traffic between the guest and host. It uses the user mode socket layer of the host to communicate with other hosts.
This allows the use of a significant number of IP network services without requiring administrative privileges, or the installation of a separate driver on the host on which the model is running. Fast Models supports the following kinds of Ethernet device models:
To set up user mode networking, run the model with CADI parameters that activate the components:
-C motherboard.hostbridge.userNetworking=true -C motherboard.smsc_91c111.enabled=true
-C motherboard.virtio_net.hostbridge.userNetworking=true -C motherboard.virtio_net.enabled=true
To map a host TCP port to a model port, run the model with
This parameter maps port 8022 on the host to port 22 on the model.