30 Seconds Read: BGP Part 2

Every routing protocol has a method to determine the best possible path for packet transfer, and BGP is no different. BGP takes 10 factors into consideration before determining the best path. Let’s have a look! 👓

🌟Weight- Selects the route with the highest weight⁣

🌟Local Preference- Selects the route with the highest preference⁣

🌟Locally Originated- Has the local router originated the route/ is the next hop 0.0.0.0?⁣

🌟AS Path- Selects the route with the shortest AS path⁣

🌟Origin Code- Where did the route originate from? IGP? EGP? Or the origin is unknown?⁣

🌟MED- Selects the route with the lowest MED⁣

🌟BGP Route Type- Is this eBGP or iBGP? (Note: eBGP is preferred over iBGP since it’s AD is lower than iBGP)⁣

🌟Age- Selects an older route⁣

🌟Router ID- Route originated from the router with the lowest router ID is preferred⁣

🌟Peer IP Address- Selects the route with the lowest IP⁣


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s