BGP 4
BGP 4
BGP 4
T
Public AS numbers can be advertised over the Internet.
Private AS number should not be advertised over the Internet.
Note: BGP does not use multicast but all communication is with unicast pkt.
BGP Neighborship
e
Overview
» Like any other routing protocol, BGP must also complete three steps to get best routes:
1. Form neighborship
2. Exchange topology information
3. Run a best-path algorithm.
» BGP forms neighborship using TCP port 179.
»BGP neighbors do not need to be on the IP subnet.
» To configure eBGP neighbors, use the following commands:
router bgp <asn> (global command)
neighbor ip-address remote-as <remote-asn> (BGP subcommand)
» The third requirement for BGP neighborship is the MD5 authentication check.
ote: BGP carry password in TCP header (EIGRP andOSPF carry it in their own header)
N
0 - you can enter plain text password (it still be md5 hash password)
7 - You need to put pre-encrypted password
By default, when building packets to send to an eBGP peer, IOS sets the IP Time-To-Live
»
(TTL) field in the IP header to a value of 1.
» as the packet with TTL value of 1 gets dropped.
»TTL value is decremented by 1before giving thepacket to the loopback interface hence drop
and eBGP neighbors do not come up
» To increase TTL value,use the neighbor
ebgp-multihopcommand.
LAB