Sunday, January 24, 2010
BGP Neighbor Configuration
After reviewing my CCNP study guide book this morning I finally ran into the material that would of helped me out tremendously yesterday. Sometimes I get a head of my self when studying because I will lab or study topics which hasn't been presented to me yet. This can be good or bad depending on how you look at the situation. What I came to find out when configuring BGP is that there's a huge difference between IGP and BGP network commands. When using the IGP network commands you are determining which interfaces should be apart of the IGP routing process. When using BGP network commands, you are determining which routes in the IP Routing Table should be apart of the BGP routing process. It's also important to note that the network you are referencing in the IP Routing Table will have to exactly match in your BGP network command.
For example if you have the route 192.168.1.0 /30 in your IP routing but type the following BGP network command:
network 192.168.1.0 mask 255.255.255.0
This will not work you will have to type the following:
network 192.168.1.0 mask 255.255.255.252
In order for BGP to include this route in the routing process.