Creating and Managing Networks

The Metacloud Networking service provides a scalable system for managing the network connectivity within a Metacloud deployment. It can easily and quickly react to changing network needs.

Networking in Metacloud is complex. For detailed information about managing networks, see the Metacloud Administrator Guide.

The Cisco Managed Network and Cisco Managed Gateway enable you to add a private network for use with your instances. When your cloud is delivered, Metacloud engineers provided a public network named “PUBLIC DO NOT MODIFY”. When you want your instances to communicate outside of your project (tenant), such as for SSH connections to the instances, you must attach a router to the public network on an internal interface and set the gateway on the public network. You also need to logically subdivide the private network into subnets.

Creating a Network and a Subnet

  1. Log in to the Dashboard.
  2. On the NETWORK drop-down, click NETWORKS.
  3. Click CREATE NETWORK.
  4. In the Create Network dialog box, specify the following values:
    • Network tab
      • Network Name—Specify a name to identify the network.
      • Admin State—Declare an Up or Down state for the network launch.
      • Create Subnet—Select this check box to access the tabs for creating a subnet.

      Note
      You must specify a subnet if you want to attach an instance to the network. You are able to add a subnet later.

    • Subnet tab
      • Subnet Name—Specify a name for the subnet.
      • Network Address—Specify the IP address for the subnet.
      • IP Version—Select IPv4 or IPv6. IPv6 subnet creation requires a provider network.
      • Gateway IP—Specify an IP address for a specific gateway. This parameter is optional.
      • Disable Gateway—Select this check box to disable a gateway IP address.
    • Subnet Details tab
      • Enable DHCP—Select this check box to enable DHCP.
      • Allocation Pools—Specify IP address pools.
      • DNS Name Servers—Specify a name for the DNS server.
      • Host Routes—Specify the IP address of host routes.
  5. Click Create. The Dashboard shows the network on the Networks tab and the Network Topology tab.

Creating a Subnet

Subnets are used to allocate IP addresses. You must specify a subnet to attach an instance to the network.

  1. Log in to the Dashboard.
  2. On the NETWORK drop-down, click NETWORKS.
  3. Choose a network and click Add Subnet in the Actions drop-down.
  4. In the Create Subnet dialog, specify the following values on the Subnet tab:
    • Subnet Name—Enter a name for the subnet.
    • Network Address—Specify the IP address for the subnet.
    • IP Version—Select IPv4 or IPv6.
    • Gateway IP—Specify an IP address for a specific gateway.
    • Disable Gateway—Select this option to disable the gateway IP address.
  5. In the Create Subnet dialog, specify the following values on the Subnet Details tab:
    • Enable DHCP—Select this check box to enable DHCP.
    • Allocation Pools—Specify IP address pools.
    • DNS Name Servers—Specify a name for the DNS server.
    • Host Routes—Specify the IP address of host routes.
  6. Click Create.

Creating a Router

Routers direct network traffic between different networks and are required for accessing instances on a private network from the external network.

  1. Log in to the Dashboard.
  2. On the NETWORK drop-down, click ROUTERS.
  3. Click Create Router.
  4. In the Create Router dialog box, specify the following values:
    • Router Name—Enter a name for the router.
    • AdminState—Declare an Up or Down state for the router launch.
    • External Network—Choose a network.
  5. Click Create Router. The new router displays in the Routers tab and in the Network Topology tab.

To connect a private network to the newly created router:

  1. On the Routers tab, click the name of the router to view the Router Details page.
  2. On the Interfaces tab, click Add Interface.
  3. In the Add Interface dialog box, specify the following values:
    • Subnet—Select a Subnet.
    • IP Address—Optionally, set an IP Address for the router interface for the selected subnet. If you choose not to set the IP Address value, then Networking uses the first host IP address in the subnet.
    • Router ID—The Router Name and Router ID fields are automatically updated.
  4. Click Add Interface.

You have successfully created the router. You can view the new topology from the Network Topology tab.