Allied Telesis AT-S63 User Manual

Page 551

Advertising
background image

AT-S63 Management Software Command Line Interface User’s Guide

Section VII: Internet Protocol Routing

551

A static route can be used by all the interfaces on a switch, not just the
interface where it is added. For example, referring to the previous
example, a static route added to the VLAN4-0 interface would be available
to all the other interfaces on the same switch.

The switch supports two types of static routes. The first specifies the IP
address of a specific destination, which can be a network, subnet, or node.

The second type of static route is a default route. This type of route is used
by the switch when it receives a network packet and cannot find a route for
it. So it sends it to the next hop specified in the default route. The
destination address for a default route is 0.0.0.0. A default route has no
subnet mask. There can be only one default route on a switch.

A static route includes a metric. This is a measurement of the cost of the
switch when it forwards packets to the remote destination specified in the
static route. The metric or cost is simply the hop count.

The default setting for a static route is one hop. The value can be set
higher to make a static route more costly. Networks, subnets, and nodes
directly connected to a router have a hop count of 0.

When the switch receives a packet from a remote subnet, it increases the
metric or cost of the packet before forwarding it on to the next hop. A
remote destination with a hop count of 16 is considered unreachable.

The switch’s routing table does not permit duplicate static routes to the
same destination. Furthermore, you cannot add a static route for a route
that the switch has already learned through RIP. The reverse is true as
well. The switch will not add a route learned through RIP to its routing table
if the route already exists as a static route. For more information, refer to
“Routing Table” on page 553.

A static route is functional as soon as it is added to an interface. A static
route cannot be disabled. To prevent a switch from routing packets with a
static route, the route must be deleted.

The switch can store up to 1024 static routes in addition to the 1024
dynamic routes it can learn through RIP.

The commands for managing static routes are “ADD IP ROUTE” on
page 574
, “DELETE IP ROUTE” on page 579, and “SET IP ROUTE” on
page 588.

Note

Static routes must be configured with the command line interface.
Static routes are not supported in the menus and web browser
interfaces.

Advertising