rfc4271 ORIGIN/path of default route, should the value be 0 or 2?

Olivier Benghozi olivier.benghozi at wifirst.fr
Tue Jul 7 16:46:56 UTC 2020


Debatable, certainly, as the Origin attribute should probably be considered as dead/obsolete and therefore it is probably a good practice to always set/reset it to internal.
A number of networks already do this (including level3 by example).

After all, the origin attribute was only designed to allow a «smooth» transition between EGP and BGP (that is, it was useful during a few years for a few networks several decades ago).

> Le 7 juil. 2020 à 15:47, Saku Ytti <saku at ytti.fi> a écrit :
> 
> Debatable, but:
> Internal is more accurate if you redistribute default from routing
> protocol, such as static.
> Unknown is more accurate if you just generate it in BGP, without having it.
> 
> Functional difference is best-path selection algorithm. Origin can be
> used to bypass hot-potato policies of peers, by forcing them to carry
> packets longer inside their network. If your policy is hot-potato,
> then you should reset Origin on received external routes.




More information about the NANOG mailing list