BGP Peering Flashcards
Does BGP discover neighbors?
no, peers are configured manually
Do BGP peers need to be on the same subnet?
since “neighbors” do not need to be on the same subnet, they are referred to as peers
When the BGP peering is established, does BGP automatically exchange routes?
no, unlike OSPF or EIGRP, BGP does not automatically exchange routes, when the peering relationship is established
What are the different BGP Peering States
(6)
- Idle
- Connect
- Active
- Open-Sent
- OpenConfirm
- Established
Describe the BGP Idle
state
- initial state of BGP where a BGP router tries to initiate a TCP connection with a peer
- if both peers are stuck in the idle state, it might mean that the peers do not have IP connectivity
Describe the BGP Connect
state
- BGP waits for the TCP connection with the peer to be completed
- if the TCP handshake is completed, then the state will transition from Connect to Open-Sent
- if the communication is stuck in this stage, it is likely that security policy is blocking the connection
Describe the BGP Active
state
- active router (higher IP) starts a new TCP connection with its peer
- the passive router (lower IP) listens for the new connection
- this state, like the previous states is linked to the TCP-connection
- if the peers are in any of the two states (connect or active) , the problem is with the TCP and the issue should be troubleshooted as any other normal application running on port 179
Describe the BGP Open-Sent
state
- once TCP session is established, BGP moves to the Open-Sent state
- both routers perform sanity checks
- if the checks don’t pass, the routers are moved back to the idle state
- in this state, the BGP_OPEN message would be sent to the peer
- once Open-Sent is sent and an answer from peer is received, the hold-down timer and the keepalive timers will also be negotiated
- this stage and the next that is the open-confirm are very transient stages (seen only when BGP is misconfigured)
Describe the BGP Open-Confirm
state
- entered after both routers exchange Open messages and agree on the parameters
- routers verify that the received parameters are acceptable, and they prepare to exchange BGP updates
Once the BGP Connect is complete, wich router manages the connection?
the one with the higher IP address