beautypg.com

Adding a route to the main table – Amer Networks E5Web GUI User Manual

Page 261

background image

When this option is selected, the appropriate all-nets route is automatically added to the main
routing table for the interface.

Example 4.2. Adding a Route to the main Table

This example shows how an all-nets route is added to the routing table called main. This route
will be for the ISP connected to the wan interface and the ISP is accessed via a router with the IP
address isp_gw_ip which will be the gateway for the route.

Command-Line Interface

Change the context to be the routing table:

Device:/> cc RoutingTable main

Add the route:

Device:/main> add Route

Interface=wan
Network=all-nets
Gateway=isp_gw_ip

Return to the default CLI context:

Device:/main> cc
Device:/>

InControl

Follow the same steps used for the Web Interface below.

Web Interface

1.

Go to: Network > Routing > Routing Tables > main > Add > Route

2.

Now enter:

Interface: wan

Network: all-nets

Gateway: isp_gw_ip

3.

Click OK

Routes can Contain IPv4 or IPv6 Addresses

A single route can contain either an IPv4 or IPv6 address but not both. Routes that use IPv4 and
IPv6 addresses can be mixed in the same routing table. This topic is described further in
Section 3.2, “IPv6 Support”.

Routes to the Core Interface

cOS Core automatically populates the active routing table with Core Routes. These routes are

Chapter 4: Routing

261

This manual is related to the following products: