December 2006
Intermediate to advanced
1188 pages
72h 8m
English
You want to run BGP in a simple network.
In its simplest configuration, BGP exchanges routes between a router in one AS and another router in a different AS. The first router is in AS 65500:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#interfaceRouter1(config-if)#Serial0ip addressRouter1(config-if)#192.168.55.6 255.255.255.252exitRouter1(config)#router bgpRouter1(config-router)#65500networkRouter1(config-router)#192.168.1.0neighbor192.168.55.5remote-asRouter1(config-router)#65501no synchronizationRouter1(config-router)#exitRouter1(config)#endRouter1#
The second router is in AS 65501:
Router2#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router2(config)#interfaceRouter2(config-if)#Serial0ip addressRouter2(config-if)#192.168.55.5 255.255.255.252exitRouter2(config)#router bgpRouter2(config-router)#65501network172.25.17.0maskRouter2(config-router)#255.255.255.0neighbor192.168.55.6remote-asRouter2(config-router)#65500no synchronizationRouter2(config-router)#exitRouter2(config)#endRouter2#
This example shows two routers in different Autonomous Systems.
Router1 is in AS 65500, and is
configured to share routing information only for a single network
using the command network
192.168.1.0. Because this is a
classful network, we don’t need to include a mask. However, you will
notice that the syntax of the network command on
Router2 ...
Read now
Unlock full access