Tutorial: Setting Up a Net Peering

You can configure your Net to allow traffic to and from its peer Net. This includes configuring the route table, and updating the rules of the security group.

Before you begin: Create a Net . For more information, see Creating a Net.

  1. Create a Net peering. For more information, see Creating a Net Peering.

    The owner of the accepter Net must accept the request to peer the Nets. For more information, see Accepting a Net Peering.

  2. In the route tables associated with the Subnets of your Net, create a route with the CIDR block of the peer Net as destination, and the ID of the Net peering as target. For more information, see Creating a Route.

    The owner of the peer Net must create equivalent routes in their route tables pointing to your Net.

    We recommend waiting until the Net peering is in the active state before creating a route.

  3. Add the following rules to the security group associated with the virtual machines (VMs) of your Net:

    • One or more rules allowing inbound flows from one or more security groups of the peer Net

    • One or more rules allowing outbound flows to one or more security groups of the peer Net

      For more information, see Adding Rules to a Security Group.

      The owner of the peer Net must add equivalent rules to their security groups allowing flows to and from the security groups of your Net.

      Your Net peering is set up, and the peered Nets can communicate using a private connection.

Related Pages