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
340
341
342
343
344
345
346
347
348
349
|
---------
^L
< INC-PROJECT, WINSTON-RFC.NLS.6, >, 11-Jun-85 21:31-PDT JBP ;;;;
Winston [Page 0]
^L
Network Working Group Ira Winston
Request for Comments: 948 University of Pennsylvania
June 1985
TWO METHODS FOR THE TRANSMISSION OF IP DATAGRAMS OVER
IEEE 802.3 NETWORKS
Status of this Memo
This memo describes two methods of encapsulating Internet
Protocol (IP) [1] datagrams on an IEEE 802.3 network [2]. This RFC
suggests a proposed protocol for the ARPA-Internet community, and
requests discussion and suggestions for improvements. Distribution
of this memo is unlimited.
Introduction
The IEEE 802 project has defined a family of standards for Local Area
Networks (LANs) that deals with the Physical and Data Link Layers as
defined by the ISO Open System Interconnection Reference Model
(ISO/OSI). Several Physical Layer standards (802.3, 802.4, and
802.5) [2, 3, 4] and one Data Link Layer Standard (802.2) [5] have
been defined. The IEEE Physical Layer standards specify the ISO/OSI
Physical Layer and the Media Access Control Sublayer of the ISO/OSI
Data Link Layer. The 802.2 Data Link Layer standard specifies the
Logical Link Control Sublayer of the ISO/OSI Data Link Layer.
The 802.3 standard is based on the Ethernet Version 2.0 standard [6].
The Ethernet Physical Layer and the 802.3 Physical Layer are
compatible for all practical purposes however, the Ethernet Data Link
Layer and the 802.3/802.2 Data Link Layer are incompatible.
There are many existing Ethernet network installations that transmit
IP datagrams using the Ethernet compatible standard described in [7].
IEEE 802.3 Physical Layer compatible connections can be added to
these networks using an an Ethernet Data Link Layer compatible method
for transmitting IP datagrams without violating the 802.3 standard.
Alternatively, an 802.2/802.3 Data Link Layer compatible method for
transmitting IP datagrams can be used.
Ethernet Compatible Method
IEEE 802.3 networks must use 48-bit physical addresses and 10
megabit/second bandwidth in order to be Ethernet compatible.
The IEEE 802.3 packet header is identical to Ethernet packet header
except for the meaning assigned to one of the fields in the header.
In an Ethernet packet header this field is used as a protocol type
field and in an 802.3 packet header the field is used as a length
field. The maximum allowed length field value on a 10 megabit/second
Winston [Page 1]
^L
RFC 948 June 1985
Transmission of IP Datagrams Over IEEE 802.3 Networks
802.3 network is 1500. The 802.3 standard states that packets with a
length field greater than the maximum allowed length field may be
ignored, discarded, or used in a private manner. Therefore, the
length field can be used in a private manner as a protocol type field
as long as the protocol types being used are greater than 1500. The
protocol type for IP, ARP and trailer encapsulation are all greater
than 1500. Using this technique, the method for transmitting IP
datagrams on Ethernet networks described in [7] can be used to
transmit IP datagrams on IEEE 802.3 networks in an Ethernet
compatible manner.
IEEE 802.2/802.3 Compatible Method
Frame Format
IP datagrams are transmitted in standard 802.2/802.3 LLC Type 1
Unnumbered Information format with the DSAP and SSAP fields of the
802.2 header set to 96, the IEEE assigned global SAP value for
IP [8]. The data field contains the IP header followed
immediately by the IP data.
IEEE 802.3 packets have minimum size restrictions based on network
bandwidth. When necessary, the data field should be padded (with
octets of zero) to meet the 802.3 minimum frame size requirements.
This padding is not part of the IP packet and is not included in
the total length field of the IP header.
IEEE 802.3 packets have maximum size restrictions based on the
network bandwidth. Implementations are encouraged to support
full-length packets.
Gateway implementations MUST be prepared to accept full-length
packets and fragment them when necessary.
Host implementations should be prepared to accept full-length
packets, however hosts MUST NOT send datagrams longer than 576
octets unless they have explicit knowledge that the destination
is prepared to accept them. A host may communicate its size
preference in TCP based applications via the TCP Maximum
Segment Size option [9].
Note: Datagrams on 802.3 networks may be longer than the general
Internet default maximum packet size of 576 octets. Hosts
connected to an 802.3 network should keep this in mind when
sending datagrams to hosts not on the same 802.3 network. It may
Winston [Page 2]
^L
RFC 948 June 1985
Transmission of IP Datagrams Over IEEE 802.3 Networks
be appropriate to send smaller datagrams to avoid unnecessary
fragmentation at intermediate gateways. Please see [9] for
further information on this point.
Address Mappings
The mapping of 32-bit Internet addresses to 16-bit or 48-bit 802.3
addresses can be done in several ways. A static table could be
used, or a dynamic discovery procedure could be used.
Static Table
Each host could be provided with a table of all other hosts on
the local network with both their 802.3 and Internet addresses.
Dynamic Discovery
Mappings between 32-bit Internet addresses and 802.3 addresses
could be accomplished through a protocol similar to the
Ethernet Address Resolution Protocol (ARP) [10]. Internet
addresses are assigned arbitrarily on some Internet networks.
Each host's implementation must know its own Internet address
and respond to 802.3 Address Resolution packets appropriately.
It should also use ARP to translate Internet addresses to 802.3
addresses when needed.
Broadcast Address
The broadcast Internet address (the address on that network
with a host part of all binary ones) should be mapped to the
broadcast 802.3 address (of all binary ones).
The use of the ARP dynamic discovery procedure is strongly
recommended.
Trailer Formats
Some versions of Unix 4.2bsd use a different encapsulation method
in order to get better network performance with the VAX virtual
memory architecture. Consenting systems on the same 802.3 network
may use this format between themselves. Details of the trailer
encapsulation method may be found in [11].
Winston [Page 3]
^L
RFC 948 June 1985
Transmission of IP Datagrams Over IEEE 802.3 Networks
Byte Order
As described in Appendix B of the Internet Protocol specification
[1], the IP datagram is transmitted over 802.2/802.3 networks as a
series of 8-bit bytes.
Conclusion
The two encapsulation methods presented can be mixed on the same
local area network; however, this would partition the network into
two incompatible subnetworks. One host on a network could support
both methods and act as a gateway between the two subnetworks;
however, this would introduce a significant performance penalty and
should be avoided.
The IEEE 802.2/802.3 compatible encapsulation method is preferable to
the Ethernet compatible method because the IEEE 802.2 and IEEE 802.3
standards have been accepted both nationally and internationally and
because the same encapsulation method could be used on other IEEE 802
Physical Layer implementations. However, there are many existing
installations that are using IP on Ethernet and a controlled
transition from Ethernet to IEEE 802.2/802.3 is necessary.
To this end, all new implementations should allow for a static choice
of encapsulation methods and all existing implementations should be
modified to provide this static choice as well. During the
transition, all hosts on the same network would use the Ethernet
compatible method. After 802.2/802.3 support has been added to all
existing implementations, the IEEE 802.2/802.3 method would be used
and the transition would be complete.
References
[1] Postel, J. "Internet Protocol". RFC-791, USC/Information
Sciences Institute, September 1981.
[2] The Institute of Electronics and Electronics Engineers, Inc.
"IEEE Standards for Local Area Networks: Carrier Sense Multiple
Access with Collision Detection (CSMA/CD) Access Method and
Physical Layer Specifications". The Institute of Electronics
and Electronics Engineers, Inc., New York, New York, 1985.
[3] The Institute of Electronics and Electronics Engineers, Inc.
"IEEE Standards for Local Area Networks: Token-Passing Bus
Access Method and Physical Layer Specifications". The Institute
of Electronics and Electronics Engineers, Inc., New York, New
York, 1985.
Winston [Page 4]
^L
RFC 948 June 1985
Transmission of IP Datagrams Over IEEE 802.3 Networks
[4] The Institute of Electronics and Electronics Engineers, Inc.
"IEEE Standards for Local Area Networks: Token Ring Access
Method and Physical Layer Specifications". The Institute of
Electronics and Electronics Engineers, Inc., New York, New York,
1985.
[5] The Institute of Electronics and Electronics Engineers, Inc.
"IEEE Standards for Local Area Networks: Logical Link Control".
The Institute of Electronics and Electronics Engineers, Inc.,
New York, New York, 1985.
[6] "The Ethernet, Physical and Data Link Layer Specifications,
Version 2.0". Digital Equipment Corporation, Intel Corporation,
and Xerox Corporation, 1982.
[7] Hornig, C. "A Standard for the Transmission of IP Datagrams
over Ethernet Networks". RFC-894, Symbolics Cambridge Research
Center, April 1984.
[8] Reynolds, J., and Postel, J. "Assigned Numbers". RFC-943,
USC/Information Sciences Institute, April 1985.
[9] Postel, J. "The TCP Maximum Segment Size Option and Related
Topics". RFC-879, USC/Information Sciences Institute,
November 1983.
[10] Plummer, D. "An Ethernet Address Resolution Protocol".
RFC-826, Symbolics Cambridge Research Center, November 1982.
[11] Leffler, S., and Karels, M. "Trailer Encapsulations". RFC-893,
University of California at Berkeley, April 1984.
Winston [Page 5]
^L
|