December 2006
Intermediate to advanced
1188 pages
72h 8m
English
You want to prevent your internal private ASNs from reaching the public Internet.
You have to be extremely careful that any unregistered ASNs that you may be using don’t propagate into the public Internet.
In this example, the router has a BGP connection to an ISP, which uses ASN 1. Our router uses ASN 2 and connects to another router with an unregistered ASN, 65500:
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 1ip addressRouter1(config-if)#192.168.1.6 255.255.255.252exitRouter1(config)#interfaceRouter1(config-if)#Serial1descriptionRouter1(config-if)#connection to private network, ASN 65500ip addressRouter1(config-if)#192.168.5.1 255.255.255.252exitRouter1(config)#router bgpRouter1(config-router)#2neighbor192.168.5.2remote-asRouter1(config-router)#65500neighbor192.168.1.5remote-asRouter1(config-router)#1neighbor192.168.1.5remove-private-ASRouter1(config-router)#no synchronizationRouter1(config-router)#exitRouter1(config)#endRouter1#
An unregistered ASN is a little bit like an unregistered IP address, in that anybody can use it. So if your routing prefixes have an unregistered ASN, this information is eventually passed to another router somewhere else in the Internet, and that router happens to be using the same unregistered ASN, then that router ...
Read now
Unlock full access