December 2006
Intermediate to advanced
1188 pages
72h 8m
English
You want to connect your network to two different ISPs using two routers to eliminate any single points of failure.
In this example, we have two routers in our AS, which has ASN 65500. The first router has a link to the first ISP, whose ASN is 65510:
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)#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-list15permit ^$Router1(config)#router bgpRouter1(config-router)#65500network172.18.5.0maskRouter1(config-router)#255.255.255.0neighbor172.18.5.3remote-asRouter1(config-router)#65500neighbor172.18.5.3next-hop-selfRouter1(config-router)#neighbor192.168.1.5remote-asRouter1(config-router)#65510neighbor192.168.1.5filter-list15outRouter1(config-router)#no synchronizationRouter1(config-router)#exitRouter1(config)#endRouter1#
Then the second router connects to the second ISP, which uses ASN 65520. And because these two routers are both members of the same AS, they also must have an iBGP connection:
Router2#configure terminal Enter configuration commands, one per line. End with ...Read now
Unlock full access