08-27-2017 05:34 PM - edited 03-08-2019 11:51 AM
Hi, Please see picture attached. Both R1 and R2 are in one AS of ISP, and both R3 and R4 are in other AS of company. Usually in company side, we use local-preference to control inbound routes to decide which path is primary or secondary. My question is, If we ues as-path to control inbound routes, it would be Ok? I tested it, and it can work, but I do not know whether it has some disadvantage? Anyone has this kind of experience? Thank you
Solved! Go to Solution.
08-27-2017 08:01 PM
Hi,
AS path pre-pend is a common way to influence inbound routes coming to you from your provider and to prefer certain provider. You basically pre-pend your AS number a few times (3 to 5 times) to make the path longer via your backup provider.
HTH
08-27-2017 08:01 PM
Hi,
AS path pre-pend is a common way to influence inbound routes coming to you from your provider and to prefer certain provider. You basically pre-pend your AS number a few times (3 to 5 times) to make the path longer via your backup provider.
HTH
08-28-2017 05:16 AM
Thank you for your reply. We usually think AS-path, MED are used in outbound route, and weight, local-preference are used in inbound route. Based on your reply, now we can not only use AS-path, MED in outbound routes, but also can use AS-path, MED in inbound routes. Do you agree?
08-28-2017 01:02 PM
AS-path and MED affect inbound traffic not inbound routes.
Jon
08-28-2017 01:18 PM
08-28-2017 01:36 PM - edited 08-28-2017 01:38 PM
I have never used it like that and in my experience it is not common at all.
The only routes you should be prepending your AS to are your own in which case you should not be using it to modify routes that do not belong to you, which kind of negates the whole idea of an AS.
I have never seen it used like that, as you say weight and local preference are the tools to use.
I guess if you were not a transit AS so you were not advertising those routes to another AS you could use it, assuming it works which you say it does, but still I wouldn't do it.
Jon
08-28-2017 12:59 PM
Thank you!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide