BGP Peering Flashcards

1
Q

Does BGP discover neighbors?

A

no, peers are configured manually

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Do BGP peers need to be on the same subnet?

A

since “neighbors” do not need to be on the same subnet, they are referred to as peers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When the BGP peering is established, does BGP automatically exchange routes?

A

no, unlike OSPF or EIGRP, BGP does not automatically exchange routes, when the peering relationship is established

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the different BGP Peering States (6)

A
  1. Idle
  2. Connect
  3. Active
  4. Open-Sent
  5. OpenConfirm
  6. Established
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Describe the BGP Idle state

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describe the BGP Connect state

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Describe the BGP Active state

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Describe the BGP Open-Sent state

A
  • 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)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Describe the BGP Open-Confirm state

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Once the BGP Connect is complete, wich router manages the connection?

A

the one with the higher IP address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly