nanog mailing list archives
Re: how is cold-potato done?
From: Mathew Richardson <mrr () nexthop com>
Date: Wed, 26 Jun 2002 18:12:18 -0400
Leo Bicknell <bicknell () ufp org> [Wed, Jun 26, 2002 at 02:35:55PM -0400]: In a message written on Wed, Jun 26, 2002 at 01:52:08PM -0400, Ralph Doncaster wrote:If I peer with network X in cities A and B, and receive the same route in both cities with an AS-path of X, how do I know which city to use for an exit? I can understand how if X uses communities to tag the geographic origin of the traffic, but I'm not aware of many networks that do this. Lots of networks claim to use cold-potato routing though, so how do they do it?Wow, I'm amazed at the wrong answers here. The vendors even document this, as do the RFC's, see http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/bgp.htm More to your question, cold-potato uses MEDS to determine the best exit. Generally they do not work for large aggregates of the peer, so they are spread out across the network. Clueful peers set the outgoing meds on their aggregates to all the same value. Set to the same value, or clobbered on inbound, if there is no MED, then the routers inside your network will choose the closest exit based on your IGP cost. This is "hot potato" routing. If, by strange chance, you have equal IGP costs to two peering points with equal MEDS, then it will choose the one with the lower router ID.
<snip> In the interest of accuracy, it's worth noting that some vendors will choose the one with the lower router ID, and others will choose the route that was learned first (at least by default), despite documentation to the contrary. mrr
Current thread:
- how is cold-potato done? Ralph Doncaster (Jun 26)
- Re: how is cold-potato done? Greg Maxwell (Jun 26)
- Re: how is cold-potato done? Jared Mauch (Jun 26)
- Re: how is cold-potato done? Ralph Doncaster (Jun 26)
- Re: how is cold-potato done? Leo Bicknell (Jun 26)
- Re: how is cold-potato done? dre (Jun 26)
- Re: how is cold-potato done? Ralph Doncaster (Jun 26)
- Re: how is cold-potato done? Stephen J. Wilcox (Jun 26)
- RE: how is cold-potato done? Daniel Golding (Jun 27)
- Re: how is cold-potato done? Mathew Richardson (Jun 26)
- Re: how is cold-potato done? dre (Jun 26)
- Re: how is cold-potato done? E.B. Dreger (Jun 26)
- Re: how is cold-potato done? Clayton Fiske (Jun 26)
- <Possible follow-ups>
- RE: how is cold-potato done? Gustavus, Wayne (Jun 26)