networks¶
See also: Driver (backend), How to set up the driver
The multipass networks command lists network interfaces that multipass can connect instances to. The result depends both on the platform and the driver in use.
For example, on Windows with Hyper-V the multipass networks command returns:
Name Type Description
Default Switch switch Virtual Switch with internal networking
ExternalSwitch switch Virtual Switch with external networking via "Red Hat VirtIO Ethernet Adapter"
InternalSwitch switch Virtual Switch with internal networking
PrivSwitch switch Private virtual switch
Like list, networks supports the --format option.
Note
The json, csv and yaml formats cover regular output only. Errors and log messages are printed to the standard error stream as plain text, with failures signaled by a non-zero exit status.
See launch and Create an instance with a bridged or custom network for instructions on how to use these.
The multipass help networks command explains the available options:
Usage: multipass networks [options]
List host network devices (physical interfaces, virtual switches, bridges)
available to integrate with using the `--network` switch to the `launch`
command.
Options:
-h, --help Displays help on commandline options
-v, --verbose Increase logging verbosity. Repeat the 'v' in the short
option for more detail. Maximum verbosity is obtained with
4 (or more) v's, i.e. -vvvv.
--format <format> Output list in the requested format.
Valid formats are: table (default), json, csv and yaml. The
json, csv and yaml formats cover regular output only.
Errors and log messages are printed to the standard error
stream as plain text, with failures signaled by a non-zero
exit status.