incus network peer create - Incus documentation
Description: Create new network peering Synopsis: [96;1;4mDescription:[0;22;24m, Create new network peering,,,, Examples: Options: Options inherited from parent commands: SEE ALSO: incus network peer- Manage ...

Skip to content
Back to top
View this page

# `incus network peer create`

Create new network peering

## Synopsis

[96;1;4mDescription:[0;22;24m
Create new network peering

    incus network peer create [2m[[22m[32m<remote>[0m:[2m][22m[32m<network>[0m [32m<new peer name>[0m [2m[[22m[32m<target project>[0m/[2m][22m[32m<target network or integration>[0m [2m[[22m[32m<key>[0m=[32m<value>[0m[2m...[22m[2m][22m [flags]

## Examples

      incus network peer create default peer1 web/default
          Create a new peering between network "default" in the current project and network "default" in the "web" project

      incus network peer create default peer2 ovn-ic --type=remote
          Create a new peering between network "default" in the current project and other remote networks through the "ovn-ic" integration

      incus network peer create default peer3 web/default < config.yaml
      	Create a new peering between network default in the current project and network default in the web project using the configuration
      	in the file config.yaml

## Options

          --description   Peer description
      -t, --type          Type of peer (local or remote) (default "local")

## Options inherited from parent commands

          --debug          Show all debug messages
          --explain        If the command is valid, explain its parsed arguments instead of running it
          --force-local    Force using the local unix socket
      -h, --help           Print help
          --project        Override the source project
      -q, --quiet          Don't show progress information
          --sub-commands   Use with help or --help to view sub-commands
      -v, --verbose        Show all information messages
          --version        Print version number

## SEE ALSO

- incus network peer - Manage network peerings