December 2006
Intermediate to advanced
1188 pages
72h 8m
English
You want to combine all of best the elements in this chapter to create a good redundant ISP connection.
For simplicity, we will extend the single router dual ISP configuration of Recipe 9.4 rather than the dual router dual ISP example of Recipe 9.5. It should be clear from the discussion in Recipe 9.5 how to extend this example to the two-router case:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#interfaceRouter1(config-if)#Serial0descriptionRouter1(config-if)#connection to ISP #1, ASN 65510ip addressRouter1(config-if)#192.168.1.6 255.255.255.252exitRouter1(config)#interfaceRouter1(config-if)#Serial1descriptionRouter1(config-if)#connection to ISP #2, ASN 65520ip addressRouter1(config-if)#192.168.2.6 255.255.255.252exitRouter1(config)#interfaceRouter1(config-if)#Ethernet0descriptionRouter1(config-if)#connection to internal network, ASN 65500ip addressRouter1(config-if)#172.18.5.2 255.255.255.0exitRouter1(config)#ip as-path access-list15permitRouter1(config)#^$ip routeRouter1(config)#0.0.0.0 0.0.0.0 192.168.101.0 1ip routeRouter1(config)#0.0.0.0 0.0.0.0 192.168.102.0 2ip prefix-listCREATE-DEFAULTseq10permitRouter1(config)#192.168.101.0/24ip prefix-listCREATE-DEFAULTseq20permitRouter1(config)#192.168.102.0/24ip prefix-listBLOCK-DEFAULTseq10permit0.0.0.0/0geRouter1(config)#1route-mapPREPENDpermitRouter1(config-route-map)#10set as-path prepend ...
Read now
Unlock full access