Using Custom Routes

When you deploy a Cisco Catalyst 8000V instance in a VPC network, a route is created for each subnet to which the Cisco Catalyst 8000V device is connected. For example, if you deploy a Cisco Catalyst 8000V instance in GCP with two subnets, each subnet has an associated route.

See the following sections to know how to use custom routes in Cisco Catalyst 8000V running on GCP:

Create Routes

Perform the following steps to create a route that defines the path for the traffic in the VPC network.

Procedure


Step 1

In the console, under VPC Network, select Routes.

Step 2

From the Route Details page, click CREATE ROUTE. Enter the specified values for the following fields:

Table 1. Route Fields

Field

Value

Name

Enter a name, in lowercase, for this address. For example, northboundtosouthbound.

Description

Enter a description for this address.

Network

The name of the VPC network. For example, c8000vnet220.

Destination IP range

Enter the destination IP address. For example, 10.12.1.0/24.

Next hop

Enter a value for the Next hop destination by using one of the following fields: Instance, Gateway, or IP Address.

Step 3

Click Create to create the route.


Custom Routes in the Same VPC Network

By default, the GCP network infrastructure provides a basic routing service which interconnects all the subnets within a VPC network. By default, packets are blocked between subnets unless firewall rules are changed to allow them to pass.

Routing Between VPC Networks or On-Premises Networks

To connect two VPC networks or to connect a VPC network to an on-premises network, create a route to specify Cisco Catalyst 8000V as the next hop router to each remote network. To force traffic through the Cisco Catalyst 8000V instance, add a route (default route or specific destination route) that points to the Cisco Catalyst 8000V instance.

For example, the following route was added with a destination IP address pointing to the Cisco Catalyst 8000V device. The "Next hop" refers to the Cisco Catalyst 8000V VM instance.