beautypg.com

LevelOne GTL-2691 User Manual

Page 634

background image

C

HAPTER

18

| General IP Routing

Configuring Static Routes

– 634 –

network topology, so you should only configure a small number of stable

routes to ensure network accessibility.

CLI R

EFERENCES

"ip route" on page 1448

C

OMMAND

U

SAGE

Up to 512 static routes can be configured.

Up to eight equal-cost multipaths (ECMP) can be configured for static

routing (see

"Equal-cost Multipath Routing" on page 637

).

If an administrative distance is defined for a static route, and the same

destination can be reached through a dynamic route at a lower

administration distance, then the dynamic route will be used.

If both static and dynamic paths have the same lowest cost, the first

route stored in the routing table, either statically configured or

dynamically learned via a routing protocol, will be used.

Static routes are included in RIP and OSPF updates periodically sent by

the router if this feature is enabled by RIP or OSPF (see page

659

or

687

, respectively).

P

ARAMETERS

These parameters are displayed:

Destination IP Address – IP address of the destination network,

subnetwork, or host.

Netmask / Prefix Length – Network mask for the associated IP

subnet. This mask identifies the host address bits used for routing to

specific subnets.

Next Hop – IP address of the next router hop used for this route.

Distance – An administrative distance indicating that this route can be

overridden by dynamic routing information if the distance of the

dynamic route is less than that configured for the static route. Note

that the default administrative distances used by the dynamic unicast

routing protocols is 110 for OSPF and 120 for RIP.

(Range: 1-255, Default: 1)

W

EB

I

NTERFACE

To configure static routes:

1.

Click IP, Routing, Static Routes.

2.

Select Add from the Action List.

3.

Enter the destination address, subnet mask, and next hop router.

4.

Click Apply.