Adding the default route, Example – ADC CUDA 3 User Manual

Page 284

Advertising
background image

ADC Telecommunications, Inc.

282

C

HAPTER

14: C

ONFIGURING

IP

Adding the Default Route

The default route is a special kind of static route. When the Cuda 12000
must forward a packet, but it cannot determine the route to the packet’s
destination, the Cuda 12000 forwards the packet to the next hop associated
with the default route.

Unlike other static routes, you only have to specify the IP address of the next
hop (gateway) when adding the default route.

To add the default route, perform the following task:

Example

cli:192.168.208.3:root# ip route default 201.1.1.10

cli:192.168.208.3:root# show ip

row count: 8

Protocol Route Destination Net Mask Next Hop Metric C/S/I

Type

-------- ------ --------------- --------------- --------------- ------ ------

Net Mgmt Remote 0.0.0.0 0.0.0.0 201.1.1.10 1 1/1/1

Local Local 155.144.1.0 255.255.255.0 155.144.1.1 0 1/8/1

Local Local 199.3.1.0 255.255.255.0 199.3.1.1 0 131/1/1

Net Mgmt Remote 199.3.2.0 255.255.255.0 199.3.1.3 1 131/1/1

Local Local 201.1.1.0 255.255.255.0 201.1.1.1 0 1/1/1

Local Local 201.1.2.0 255.255.255.0 201.1.2.1 0 1/1/1

Local Local 222.2.2.0 255.255.255.0 222.2.2.2 0 1/11/1

Net Mgmt Remote 222.2.3.0 255.255.255.0 222.2.2.1 1 1/11/1

When you display the routing table, note that the default route has a
Destination of 0.0.0.0 and a Net Mask of 0.0.0.0.

Task

Command

From any mode, add the default
route.

ip route default <gateway-ip-address>

Advertising