BGP Messages, BGP Peers and BGP Sessions


BGP Messages, BGP Peers and BGP Sessions

What is BGP peer?

To use BGP, the neighbourship between the BGP routers must be established. You can use the statement BGP neighbour or BGP peer for this establishment.

There are two types of BGP peer. These are iBGP(interior BGP) peer and eBGP(exterior BGP) peer. iBGP peer is the neighbour within the same AS. eBGP peer is the neighbour within another AS.

bgp (border gataway protocol) ibgp (internal BGP) ebgp (external BGP)

BGP, IBGP (Internal BGP) and EBGP (External BGP)
In the topology above, these peering types are showned. As an example, here, router A and router B are iBGP peers. Because they are in the same AS. But router A and Router X are eBGP peers, because they are member of different ASs.

BGP Session Establishment and Session States

Without any connection attemp, the session is firstly in the idle state. With the first TCP message, the state changes to connect.

bgp (border gataway protocol) session establishment

BGP Session Establishment
For BGP, firstly TCP connection must be established. This is called three-way handshake. This messages are SYN,SYN-ACK and ACK as you know.

After TCP connection, one peer send Open Message and the other peer respond with another Open Message. During this process the state become OpenSent .

We're Sorry!

Full Access is for only IPCisco Crew...

With IPCisco Membership, You Can Access:

• All Certification Courses (Cisco, Juniper, Nokia and Huawei),
• Thousands of Questions (Lesson Quizes and Special Quiz Section),
• Carieer Consultancy, CV/Resume Check, Career Advice Meeting,
• Cheat Sheets, Job Interview Trainings, Network Tools,
You will be Member of a Big IPCisco Community,
You will Learn Network Lessons with Always,
New And Different Learning Styles!
We are waiting for you!

Lesson tags: BGP, routing
Back to: JNCIE > BGP