background image
Confederations
345
tell the router to use one link over another by assigning an administrative dis-
tance. In this case, we assign 200 to one link and 201 to the other in the fol-
lowing code. The link used will be the link with the lowest administrative
distance.
F I G U R E 9 . 5
Configuring static routes to multiple ISPs
RouterA(config)#ip route 0.0.0.0 0.0.0.0 serial 0 ?
<1-255> Distance metric for this route
A.B.C.D Forwarding router's address
permanent permanent route
tag Set tag for this route
<cr>
RouterA(config)#ip route 0.0.0.0 0.0.0.0 s0 200
RouterA(config)#ip route 0.0.0.0 0.0.0.0 s1 201
RouterA(config)#router ospf 10
RouterA(config-router)#network 172.16.0.0 0.0.255.255
area 0
RouterA(config-router)#default-information originate
always
AS 10
S1
S0
RouterA
S0
1.544Mbps
S1
512Kbps
RouterA
Port
Link
Bandwidth
ISP #1
Router
ISP #2
Router
Copyright ©2001 SYBEX , Inc., Alameda, CA
www.sybex.com