`multipass networks` command

Errors or typos? Topics missing? Hard to read? Let us know or open an issue on GitHub.

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.

At this time, networks can only find interfaces in the following scenarios:

Here is an example on Windows with Hyper-V:

PS> multipass networks
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. Another example, now with VirtualBox on macOS:

$ multipass networks --format yaml
  - type: bridge
    description: Network bridge with en1, en2
  - type: bridge
    description: Empty network bridge
  - type: wifi
    description: Wi-Fi (Wireless)
  - type: thunderbolt
    description: Thunderbolt 1
  - type: thunderbolt
    description: Thunderbolt 2

See launch and additional network interfaces for instructions on how to use these.

multipass help networks explains the available options:

$ multipass help networks
Usage: multipass networks [options]
List host network devices (physical interfaces, virtual switches, bridges)
available to integrate with using the `--network` switch to the `launch`

  -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

Last updated 27 days ago. Help improve this document in the forum.