summaryrefslogtreecommitdiff
path: root/doc/rfc/rfc2270.txt
blob: 08041a2de2e2ff97bdb9cd2ae11f8c1a9bc9a768 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
Network Working Group                                          J. Stewart
Request for Comments: 2270                                            ISI
Category: Informational                                          T. Bates
                                                               R. Chandra
                                                                  E. Chen
                                                                    Cisco
                                                             January 1998


       Using a Dedicated AS for Sites  Homed to a Single Provider

Status of this Memo

   This memo provides information for the Internet community.  It does
   not specify an Internet standard of any kind.  Distribution of this
   memo is unlimited.

Copyright Notice

   Copyright (C) The Internet Society (1998).  All Rights Reserved.

Abstract

   With the increased growth of the Internet, the number of customers
   using BGP4 has grown significantly. RFC1930 outlines a set of
   guidelines for when one needs and should use an AS. However, the
   customer and service provider (ISP) are left with a problem as a
   result of this in that while there is no need for an allocated AS
   under the guidelines, certain conditions make the use of BGP4 a very
   pragmatic and perhaps only way to connect a customer homed to a
   single ISP.  This paper proposes a solution to this problem in line
   with recommendations set forth in RFC1930.

1.  Problems

   With the increased growth of the Internet, the number of customers
   using BGP4 [1],[2] has grown significantly. RFC1930 [4] outlines a
   set of guidelines for when one needs and should use an AS. However,
   the customer and service provider (ISP) are left with a problem as a
   result of this in that while there is no need for an allocated AS
   under the guidelines, certain conditions make the use of BGP4 a very
   pragmatic and perhaps only way to connect a customer homed to a
   single ISP. These conditions are as follows:

   1) Customers multi-homed to single provider






Stewart, et. al.             Informational                      [Page 1]
^L
RFC 2270                     Dedicated AS                   January 1998


   Consider the scenario outlined in Figure 1 below.



                        +-------+      +-------+
                           +----+       |      |       |
                +------+   |    | ISP A +------+ ISP B |
                | Cust.+---+    |       |      |       |
                |   X  +--------+       |      |       |
                +------+        ++-----++\     +-------+
                                 |     |  \
                                 |     |   \  +--------+
                                ++-----++   +-|        |
                                | Cust. |     |  ISP C |
                                |   Y   |     |        |
                                +-------+     +--------+

          Figure 1: Customers multi-home to a single provider

   Here both customer X and customer Y are multi-homed to a single
   provider, ISP A. Because these multiple connections are "localized"
   between the ISP A and its customers, the rest of the routing system
   (ISP B and ISP C in this case) doesn't need to see routing
   information for a single multi-homed customer any differently than a
   singly-homed customer as it has the same routing policy as ISP A
   relative to ISP B and ISP C.  In other words, with respect to the
   rest of the Internet routing system the organization is singly-homed,
   so the complexity of the multiple connections is not relevant in a
   global sense.  Autonomous System Numbers (AS) are identifiers used in
   routing protocols and are needed by routing domains as part of the
   global routing system.  However, as [4] correctly outlines,
   organizations with the same routing policy as their upstream provider
   do not need an AS.

   Despite this fact, a problem exists in that many ISPs can only
   support the load-sharing and reliability requirements of a multi-
   homed customer if that customer exchanges routing information using
   BGP-4 which does require an AS as part of the protocol.

   2) Singly-homed customers requiring dynamic advertisement of NLRI's

      While this is not a common case as static routing is generally
      used for this purpose, if a large amount of NLRI's need to be
      advertised from the customer to the ISP it is often
      administratively easier for these prefixes to be advertised using
      a dynamic routing protocol. Today, the only exterior gateway
      protocol (EGP) that is able to do this is BGP. This leads to the
      same problem outlined in condition 1 above.



Stewart, et. al.             Informational                      [Page 2]
^L
RFC 2270                     Dedicated AS                   January 1998


   As can be seen there is clearly a problem with the recommendations
   set forth in [4] and the practice of using BGP4 in the scenarios
   above. Section 2 proposes a solution to this problem with following
   sections describing the implications and application of the proposed
   solution.

   It should also be noted that if a customer is multi-homed to more
   than one ISP then they are advised to obtain an official allocated AS
   from their allocation registry.

2.  Solution

   The solution we are proposing is that all BGP customers homed to the
   same single ISP use a single, dedicated AS specified by the ISP.

   Logically, this solution results in an ISP having many peers with the
   same AS, although that AS exists in "islands" completely disconnected
   from one another.

   Several practical implications of this solution are discussed in the
   next section.

3. Implications

3.1 Full Routing Table Announcement

   The solution precludes the ability for a BGP customer using the
   dedicated AS to receive 100% full routes.  Because of routing loop
   detection of AS path, a BGP speaker rejects routes with its own AS
   number in the AS path.  Imagine Customer X and Customer Y maintain
   BGP peers with Provider A using AS number N. Then, Customer X will
   not be able to received routes of Customer Y.  We do not believe that
   this would cause a problem for Customer X, though, because Customer X
   and Customer Y are both stub networks so default routing is adequate,
   and the absence of a very small portion of the full routing table is
   unlikely to have a noticeable impact on traffic patterns guided by
   MEDs received.

   A BGP customer using the dedicated AS must carry a default route
   (preferably receiving from its provider via BGP).

3.2  Change of External Connectivity

   The dedicated AS specified by a provider is purely for use in peering
   between its customers and the provider. When a customer using the
   dedicated AS changes its external connectivity, it may be necessary
   for the customer to reconfigure their network to use a different AS
   number (either a globally unique one if homed to multiple providers,



Stewart, et. al.             Informational                      [Page 3]
^L
RFC 2270                     Dedicated AS                   January 1998


   or a dedicated AS of a different provider).

3.3  Aggregation

   As BGP customers using this dedicated AS are only homed to one ISP,
   their routes allocated from its providers CIDR block do not need to
   be announced upstream by its provider as the providers will already
   be originating the larger block. [6].

3.4  Routing Registries

   The Internet Routing Registry (IRR) [5] is used by providers to
   generate route filtering lists.  Such lists are derived primarily
   from the "origin" attribute of the route objects.  The "origin" is
   the AS that originates the route.  With multiple customers using the
   same AS, finer granularity will be necessary to generate the correct
   route filtering.  For example, the "mntner" attribute or the
   "community" attribute of a route object can be used along with the
   "origin" attribute in generating the filtering lists.

4. Practice

   The AS number specified by a provider can either be an AS from the
   private AS space (64512 - 65535) [4], or be an AS previously
   allocated to the provider.  With the former, the dedicated AS like
   all other private AS's should be stripped from its AS path while the
   route is being propagated to the rest of the Internet routing system.

5.  Security Considerations

   The usage of AS numbers described in this document has no effective
   security impact.  Acceptance and filtering of AS numbers from
   customers is an issue dealt with in other documents.

6.  Acknowledgments

   The authors would like to thank Roy Alcala of MCI and Arpakorn
   Boonkongchuen for their input to this document.  The members of the
   IDR Working Group also provided helpful comments.

7.  References

   [1] Rekhter, Y., and T. Li, "A Border Gateway Protocol 4 (BGP-4)",
   RFC 1771, March 1995.

   [2] Rekhter, Y., and P. Gross, "Application of the Border Gateway
   Protocol in the Internet", RFC 1772, March 1995.




Stewart, et. al.             Informational                      [Page 4]
^L
RFC 2270                     Dedicated AS                   January 1998


   [3] Rekhter, Y., "Routing in a Multi-provider Internet", RFC 1787,
   April 1995.

   [4] Hawkinson, J., and T. Bates, "Guidelines for creation, selection,
   and registration of an Autonomous System (AS)", RFC 1930, March 1996.

   [5] Bates, T., Gerich, E., Joncheray, L., Jouanigot, J-M, Karrenberg,
   D., Terpstra, M., and J. Yu., "Representation of IP Routing Policies
   in a Routing Registry (ripe-81++)", RFC 1786, March 1995.

   [6] Chen, E., and J. Stewart., "A Framework for Inter-Domain Route
   Aggregation", Work in Progress.

8.  Authors' Addresses

   John Stewart
   USC/ISI
   4350 North Fairfax Drive
   Suite 620
   Arlington, VA  22203

   EMail: jstewart@isi.edu


   Tony Bates
   Cisco Systems, Inc.
   170 West Tasman Drive
   San Jose, CA 95134

   EMail: tbates@cisco.com


   Ravi Chandra
   Cisco Systems, Inc.
   170 West Tasman Drive
   San Jose, CA 95134

   EMail: rchandra@cisco.com


   Enke Chen
   Cisco Systems, Inc.
   170 West Tasman Drive
   San Jose, CA 95134

   EMail: enkechen@cisco.com





Stewart, et. al.             Informational                      [Page 5]
^L
RFC 2270                     Dedicated AS                   January 1998


9.  Full Copyright Statement

   Copyright (C) The Internet Society (1998).  All Rights Reserved.

   This document and translations of it may be copied and furnished to
   others, and derivative works that comment on or otherwise explain it
   or assist in its implementation may be prepared, copied, published
   and distributed, in whole or in part, without restriction of any
   kind, provided that the above copyright notice and this paragraph are
   included on all such copies and derivative works.  However, this
   document itself may not be modified in any way, such as by removing
   the copyright notice or references to the Internet Society or other
   Internet organizations, except as needed for the purpose of
   developing Internet standards in which case the procedures for
   copyrights defined in the Internet Standards process must be
   followed, or as required to translate it into languages other than
   English.

   The limited permissions granted above are perpetual and will not be
   revoked by the Internet Society or its successors or assigns.

   This document and the information contained herein is provided on an
   "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
   TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
   BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
   HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
























Stewart, et. al.             Informational                      [Page 6]
^L