104CHAPTER 8: CONFIGURING BRIDGING AND ROUTING

To delete a static route, use:

DELete -IP ROUte <IP address> {<gateway> !<port>}

The metric can be the number of routers a packet must travel through to reach its destination, or a number associated with the path cost, for example, speed. The metric is used to determine which route to use if more than one route exists to a destination. The bridge/router uses the lowest metric.

Figure 7 Routing Between Gateways

Santa Clara

Host

!1

IP address 129.213.16.10

Router 1

 

 

 

 

IP address 11.0.0.2

 

 

!3

 

!4

IP address 11.0.0.1

 

 

 

 

 

!3

Router 5

Router 2

 

!1

IP address 10.0.0.5

Los Angeles

 

 

 

Santa Barbara

!1 IP address 10.0.0.24

Host

Router 3

!3 IP address 192.9.10.24

IP address 192.9.10.2 !3 Router 4

IP address 130.10.112.43 !1

San Diego

See the example in Figure 7. On router 1, you can add a static route for the Los Angeles network by entering:

ADD -IP ROUte 10.0.0.0 11.0.0.1 1

This example shows that network number 10.0.0.0 (the Los Angeles network) is reachable by router 1 through gateway 11.0.0.1 on router 2. The gateway address is the IP address of port 3 on router 2. Because a packet routed from router 1 to the Los Angeles network has to go through one gateway, the metric is 1.

If the outgoing interface is a PPP link, you can add a static route using the outgoing port number instead of the next-hop gateway address. For

Page 104
Image 104
3Com SuperStack II, NETBuilder SI manual To delete a static route, use, Routing Between Gateways