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 create private networks for use with your instances. Your Metacloud contains a default 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.

You can configure a custom DNS served from DHCP using the Networking service. You can only configure these values at the time you create the private network. Select Enable DHCP and specify the DNS in the Subnet Details tab when creating your network.

To create a private network:

  1. Log in to the Dashboard.
  2. On the Network drop-down list, click Networks.
  3. Click Create Network.
  4. In the Create Network dialog box, specify the values on the Network tab:
    • Network Name—Specify a name to identify the network.
    • Admin State—Choose 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.

  5. In the Create Network dialog box, specify the values on the Subnet tab:
    • Subnet Name—Specify a name for the subnet.
    • Network Address—Specify the IP address in CIDR format 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 (optional). The default value is the first IP address of the network.
    • Disable Gateway—Select this check box to disable a gateway IP address.
  6. In the Create Network dialog box, specify optional values on the Subnet Details tab:
    • Enable DHCP—Enable the Dynamic Host Configuration Protocol.
    • Allocation Pools—Specify IP address pools for DHCP. The format is a start and a stop IP address separated by a comma. One set of addresses per line.
    • DNS Name Servers—Specify an IP address list for the DNS server.
    • Host Routes—Specify the destination IP address in CIDR format followed by the next-hop IP address.
  7. Click Create. The Dashboard shows the network on the Networks tab and the Network Topology tab.

To create a subnet:

Subnets are used to allocate IP addresses. You must specify a subnet to attach an instance to the network. The following steps create a subnet for an existing network.

  1. Log in to the Dashboard.
  2. On the Network drop-down list, click Networks.
  3. Choose a network and click Add Subnet in the Actions column.
  4. In the Create Subnet dialog box, specify the following values on the Subnet tab:
    • Subnet Name—Specify a name for the subnet.
    • Network Address—Specify the IP address in CIDR format 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 (optional). The default value is the first IP address of the network.
    • Disable Gateway—Select this check box to disable a gateway IP address.
  5. In the Create Subnet dialog box, specify the following values on the Subnet Details tab:
    • Enable DHCP—Enable the Dynamic Host Configuration Protocol.
    • Allocation Pools—Specify IP address pools for DHCP. The format is a start and a stop IP address separated by a comma. One set of addresses per line.
    • DNS Name Servers—Specify an IP address list for the DNS server.
    • Host Routes—Specify the destination IP address in CIDR format followed by the next-hop IP address.
  6. Click Create.

Network Details

You can click on the name of a network and see the Network Details page that contains a summary of the network status, identification, and associated Subnets and Ports.

  • Subnets—lists the subnet created for this network. You can create a new subnet or delete the existing subnet.
  • Ports—lists ports associated with this network.

To create a port:

  1. Log in to the Dashboard.
  2. On the Network drop-down list, click Networks.
  3. Click on a network name to access Network Details.
  4. Click Create Port.
  5. In the Create Port dialog box, specify the following values:
    • Name—Supply a name to identify the port.
    • Admin State—Choose an Up or Down state for the port creation.
    • Device ID—The ID of the device attached to the port.
    • Device Owner—You can specify the entity that uses the port, such as network:dhcp.
    • Specify IP Address or Subnet—Select the subnet or fixed IP address to associate with the port.
  6. Click Create Port.

Routers

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

To create a router:

  1. Log in to the Dashboard.
  2. On the Network drop-down list, 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 a 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—Set an IP Address for the router interface for the selected subnet. If you choose not to set the IP Address value, then the Networking service applies the first host IP address in the subnet (optional).
    • 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.

Router Details

You can click on the name of a router and see the Router Details page that contains a summary of the router status, identification, and other information, such as the details for the External Gateway, a list of Interfaces, and a list of Static Routes.

  • External Gateway—When you create a router using the Dashboard, you must select a public network. This creates an external gateway from the router to the public network.
  • Interfaces—An interface is used to bind to a particular network resource, such as a private network port.
  • Static Routes—You can configure a routing entry by indicating a destination CIDR and the next-hop IP address. This route is static, as opposed to dynamic, and does not change. Static routes are useful as a fail-safe in the event that a dynamic route is unavailable or as an override of an existing dynamic route.