Got it

Inbound and outbound traffic

Created: Oct 28, 2020 22:22:33Latest reply: Oct 29, 2020 04:45:25 334 3 1 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi guys,


How to influence incoming and outgoing traffic in BGP? Please provide an example of each option. 


Featured Answers
wissal
MVE Created Oct 29, 2020 04:45:25

Hello,

When your network is the destination and there are two entry points into your network that are determined via BGP, the first thing you should know is that the final say for any incoming traffic as to which link will be used, is that of the ISP(s). You can attempt to influence routing towards your network that is routed via BGP, but you cannot obligate its behaviour. If the ISPs choose to ignore your “influence” they can.


From an administration point of view, if both links are from the same ISP, then you can talk to them and devise a way to get the traffic more evenly distributed. If they’re not from the same ISP, then it is much more difficult. You will have to resort to trying to influence traffic.


There are several ways to influence inbound traffic, but keep the following key points in mind:


**You do not have ultimate control of how traffic enters your AS. Your ISPs may have outbound policies that will override all of your attempts to influence inbound traffic**


Methods that can be used to influence traffic include:


* Leaking more specific routes

* MED 

* AS-PATH Prepending 

* Community/Local Pref agreement 


To influence the inbound traffic path, customers can use certain attributes (such as MED, AS-PATH, BGP communities) in the updates sent to their providers. Another method is based on the longest prefix-matching behavior and can be accomplished by the BGP conditional route injection.


MED (or metric) is the sixth BGP attribute:

  • MED can be used to advertise to your neighbors how they should enter your AS.

  • MED is exchanged between autonomous systems.

  • The lowest MED is the preferred path.

  • MED is propagated to all routers within the neighbor AS but not passed along any other autonomous systems.

The fourth BGP attribute is called AS Path:

  • BGP prefers the shortest AS path to get to a destination. Less is more!

  • We can manipulate this by using AS path prepending.

BGP path attributes also influence inbound/outbound traffic management control over the IP route which give control to administrator to help in selection best network route over the internet.

BGP operates several attributes to determine the best path to a destination.

Border Gateway Protocol (BGP) routers normally receive multiple route to a destination. In BGP routing domain BGP attributes are tend to decide that which of the best path would be to install in the IP routing table ,which would be used to traffic forwarding.

Thanks

View more
  • x
  • convention:

Herediano
Herediano Created Oct 29, 2020 15:44:47 (0) (0)
Thank you @wissal  
All Answers
Hello User. we are reviewing your question and we will answer you shortly. Thanks.
View more
  • x
  • convention:

Hello,

When your network is the destination and there are two entry points into your network that are determined via BGP, the first thing you should know is that the final say for any incoming traffic as to which link will be used, is that of the ISP(s). You can attempt to influence routing towards your network that is routed via BGP, but you cannot obligate its behaviour. If the ISPs choose to ignore your “influence” they can.


From an administration point of view, if both links are from the same ISP, then you can talk to them and devise a way to get the traffic more evenly distributed. If they’re not from the same ISP, then it is much more difficult. You will have to resort to trying to influence traffic.


There are several ways to influence inbound traffic, but keep the following key points in mind:


**You do not have ultimate control of how traffic enters your AS. Your ISPs may have outbound policies that will override all of your attempts to influence inbound traffic**


Methods that can be used to influence traffic include:


* Leaking more specific routes

* MED 

* AS-PATH Prepending 

* Community/Local Pref agreement 


To influence the inbound traffic path, customers can use certain attributes (such as MED, AS-PATH, BGP communities) in the updates sent to their providers. Another method is based on the longest prefix-matching behavior and can be accomplished by the BGP conditional route injection.


MED (or metric) is the sixth BGP attribute:

  • MED can be used to advertise to your neighbors how they should enter your AS.

  • MED is exchanged between autonomous systems.

  • The lowest MED is the preferred path.

  • MED is propagated to all routers within the neighbor AS but not passed along any other autonomous systems.

The fourth BGP attribute is called AS Path:

  • BGP prefers the shortest AS path to get to a destination. Less is more!

  • We can manipulate this by using AS path prepending.

BGP path attributes also influence inbound/outbound traffic management control over the IP route which give control to administrator to help in selection best network route over the internet.

BGP operates several attributes to determine the best path to a destination.

Border Gateway Protocol (BGP) routers normally receive multiple route to a destination. In BGP routing domain BGP attributes are tend to decide that which of the best path would be to install in the IP routing table ,which would be used to traffic forwarding.

Thanks

View more
  • x
  • convention:

Herediano
Herediano Created Oct 29, 2020 15:44:47 (0) (0)
Thank you @wissal  

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.