![background image](http://html.mh-extra.com/html/foundry-networks/switch-and-router/switch-and-router_installation-and-configuration-manual_2324275492.webp)
Foundry Switch and Router Installation and Configuration Guide
15 - 50
December 2000
When the software uses the default network route, it also uses the default network route’s next hop gateway as
the gateway of last resort.
This feature is especially useful in environments where network topology changes can make the next hop
gateway unreachable. This feature allows the Layer 3 Switch to perform default routing even if the default
network route’s default gateway changes.
The feature thus differs from standard default routes. When you configure a standard default route, you also
specify the next hop gateway. If a topology change makes the gateway unreachable, the default route becomes
unusable.
For example, if you configure 10.10.10.0/24 as a candidate default network route, if the IP route table does not
contain an explicit default route (0.0.0.0/0), the software uses the default network route and automatically uses
that route’s next hop gateway as the default gateway. If a topology change occurs and as a result the default
network route’s next hop gateway changes, the software can still use the default network route. To configure a
default network route, use the following CLI method.
If you configure more than one default network route, the Layer 3 Switch uses the following algorithm to select one
of the routes:
1.
Use the route with the lowest administrative distance.
2.
If the administrative distances are equal:
•
Are the routes from different routing protocols (RIP, OSPF, or BGP4)? If so, use the route with the lowest
IP address.
•
If the routes are from the same routing protocol, use the route with the best metric. The meaning of
“best” metric depends on the routing protocol:
•
RIP – The metric is the number of hops (additional routers) to the destination. The best route is the route
with the fewest hops.
•
OSPF – The metric is the path cost associated with the route. The path cost does not indicate the
number of hops but is instead a numeric value associated with each route. The best route is the route
with the lowest path cost.
•
BGP4 – The metric is the Multi-exit Discriminator (MED) associated with the route. The MED applies to
routes that have multiple paths through the same AS. The best route is the route with the lowest MED.
Configuring a Default Network Route
To configure a default network route, use one of the following methods. You can configure up to four default
network routes.
USING THE CLI
To configure a default network route, enter commands such as the following:
BigIron(config)# ip default-network 209.157.22.0
BigIron(config)# write memory
Syntax:
ip default-network <ip-addr>
The <ip-addr> parameter specifies the network address.
To verify that the route is in the route table, enter the following command at any level of the CLI:
BigIron(config)# show ip route
Total number of IP routes: 2
Start index: 1 B:BGP D:Connected R:RIP S:Static O:OSPF *:Candidate default
Destination NetMask Gateway Port Cost Type
1 209.157.20.0 255.255.255.0 0.0.0.0 lb1 1 D
2 209.157.22.0 255.255.255.0 0.0.0.0 4/11 1 *D
This example shows two routes. Both of the routes are directly attached, as indicated in the Type column.
However, one of the routes is shown as type “*D”, with an asterisk (*). The asterisk indicates that this route is a
candidate default network route.
Summary of Contents for Switch and Router
Page 2: ...December 2000 Copyright 2000 by Foundry Networks Inc ...
Page 26: ...Foundry Switch and Router Installation and Configuration Guide xxvi December 2000 ...
Page 64: ...Foundry Switch and Router Installation and Configuration Guide 2 34 December 2000 ...
Page 162: ...Foundry Switch and Router Installation and Configuration Guide 5 38 December 2000 ...
Page 196: ...Foundry Switch and Router Installation and Configuration Guide 6 34 December 2000 ...
Page 208: ...Foundry Switch and Router Installation and Configuration Guide 7 12 December 2000 ...
Page 236: ...Foundry Switch and Router Installation and Configuration Guide 8 28 December 2000 ...
Page 258: ...Foundry Switch and Router Installation and Configuration Guide 9 22 December 2000 ...
Page 420: ...Foundry Switch and Router Installation and Configuration Guide 13 32 December 2000 ...
Page 442: ...Foundry Switch and Router Installation and Configuration Guide 14 22 December 2000 ...
Page 554: ...Foundry Switch and Router Installation and Configuration Guide 15 112 December 2000 ...
Page 574: ...Foundry Switch and Router Installation and Configuration Guide 16 20 December 2000 ...
Page 626: ...Foundry Switch and Router Installation and Configuration Guide 17 52 December 2000 ...
Page 682: ...Foundry Switch and Router Installation and Configuration Guide 18 56 December 2000 ...
Page 826: ...Foundry Switch and Router Installation and Configuration Guide 20 20 December 2000 ...
Page 994: ...Foundry Switch and Router Installation and Configuration Guide 26 10 December 2000 ...
Page 1004: ...Foundry Switch and Router Installation and Configuration Guide B 6 December 2000 ...
Page 1044: ...Foundry Switch and Router Installation and Configuration Guide C 40 December 2000 ...
Page 1048: ...Foundry Switch and Router Installation and Configuration Guide D 4 December 2000 ...
Page 1070: ...Foundry Switch and Router Installation and Configuration Guide Index 18 December 2000 ...