beautypg.com

Default route, Default route 9 – Allied Telesis AT-8100 Series User Manual

Page 1819

background image

AT-8100 Switch Command Line User’s Guide

1819

Default Route

A default route is a “match all” destination entry in the routing table. The
switch uses it to route packets whose remote destinations are not in the
routing table. Rather than discard the packets, the switch sends them to
the next hop specified in the default route.

The default route has a destination IP address of 0.0.0.0 and a mask of
0.0.0.0. The default route can be enter manually in the form of a static
route or learned through RIP. The switch can have only one default route.

The command to create the default route is the IP ROUTE command in the
Global Configuration mode. This command is also used to create static
routes to remote destinations. You may use either of the following
commands to create the default route:

ip route 0.0.0.0/0

ipaddress

ip route 0.0.0.0 0.0.0.0

ipaddress

The IPADDRESS parameter is the IP address of the next hop of the
default route. An example of the command is shown in “Adding Static and
Default Routes” on page 1828.

Before you can create the default route, the switch must already have a
routing interface whose network address includes the next hop of the
default route. The switch rejects the command if the routing interface does
not already exist.