Skip to content

Ethernet

vintagepc edited this page Mar 2, 2021 · 2 revisions

The Mini's ethernet can connected to QEMU's networking system and accessed from the host.

To do this, specify a -netdev device with id=mini-eth and any other options you wish. At minimum, to access the web interface, you will want to specify a port forward. (QEMU will take care of things like DHCP internally through its user networking layer).

For example, to pass port 3333 on the host to port 80 on the guest, use this command line option:

-netdev user,id=mini-eth,hostfwd=tcp::3333-:80

and then you will be able to access the Mini's web interface by browsing to http://localhost:3333 in your web browser.

For more information on the available options, see the official networking documentation for QEMU: