Professional Documents
Culture Documents
Ethernet Basics
Ethernet
The diagram .. was drawn by Dr. Robert M. Metcalfe in 1976 to present Ethernet to the National Computer Conference in June of that year.
Topics History, Standards, Terminology Transmission media Topologies Protocol Access methods, Collision management
What is Ethernet ?
Ethernet is a certain type of a local area network (LAN) which was developed in 1972 in the renowned PARCresearch facility of Xerox in Palo Alto by Robert Metcalfe. In the meantime the companies Intel, DEC and Xerox have specified a common standard that has been established in the IEEE-standard 802.3.
Schutzvermerk nach DIN 34 beachten
History 1969 student Robert Metcalfe (founder of 3Com in 1979) develops a Host Interface Controller for DARPA (Defense Advanced Research Projects Agency) in the company DEC. the ALOHA-Net (multiple access protocol) is developed and tested at the university of Hawaii the idea is picked up by the XEROX Palo Alto Research Center (Metcalfe works there by then). The project goal is: experimental Ethernet
1970
1972
Schutzvermerk nach DIN 34 beachten
History 1976
1980 1981
1982 1985
the results of the project are published. The companies DEC, Intel and Xerox join in the company DIX and complete Ethernet to the market entry stage. Ethernet version 1.0 is passed. IEEE starts standardization efforts. The Ethernet specification is accepted without major modifications. Publication of Ethernet version 2.0 worldwide recognition of the Ethernet standard as ISO/DIS 8802/3
History 1986
1987
1991 1994 1995 1997
Publication of the 10Base2- and 10BroadT standards Standardization of the 10BaseT spezification Publication of the 10BaseF standard more than 10.000 suppliers support the Ethernet globally Standardization of the 100 Mbit/s Ethernet Standardization efforts for the Gigabit Ethernet and presentation of first products prior to the completion of the standard
Ethernet TCP/IP
LAYER 7 Modbus etc.
TCPHeader
TCP-DATA
IP-frame
Schutzvermerk nach DIN 34 beachten
EthernetHeader
Ethernet-DATA
FCS
Ethernetframe
Medium occupied
Discovered collision
Back-Off Algorithm
If a collision has occurred, the stations try to send again after a certain period of time. After the first collision there a two different back-off times available, from which one is chosen at random. Transmission probability is 50% After the second consecutive collision there are four different back-off times available, from which one is chosen at random. The transmission probability now is 75%
2 4 8 16
50% 75% 87,5% 93,75% 96,88% 98,44 99,22% 99,61% 99,80% 99,90% 99,90% 99,90%
12
13
14 15 16
... ...... ......... ............ ............... ............... ............... ............... ............... ............... ............... ...............
1024
1024 1024 1024
99,90%
99,90% 99,90% 99,90%
Which waiting times are used ? The 0...1024 fold of the double max. signal travel time between the most remote stations + Offset is used With 10 Mbit/s Ethernet that means: Station 1
25.6s 25.6s
Station 2
51.2s
The waiting time is also called collision window, the offset (9.6s) is called gap. Only after the time of the collision window has passed, you can be certain that there will be no more collision.
Example After the first collision the stations willing to send select a random waiting time of either 9.6s or 9.6s plus 51.2s (duration of the collision window). Condition: Only two stations are involved, no new stations enter the scene in the collision management phase. Waiting time(A) 9.6s 9.6s 9.6s+51.2s 9.6s+51.2s waiting time(B) transmission 9.6s NO 9.6s+51.2s YES 9.6s YES 9.6s+51.2s NO
high
High throughput
Beginning problems
Overload
delay
low
10 %
20 %
30 %
40 %
50 %
60 %
70 %
80 %
Network load
Ethernet address Also called "MAC address" Globally unique ID for each device Burnt into ROM, cannot be modified Six Bytes in which manufacturer, device model and serial number are coded Readable with many auxiliary tools e.g. WINIPCFG
Ethernet frame
Ethernet II DIX Frame:
Preamble DA SA Type Data Pad FCS
>=46
>=46
Ethernet frame
Preamble
Trailer consisting of the bit sequence 0101010101... serving the bit synchronization of the receiver. Start character consisting of the bit pattern 10101011 showing the recipient that the actual information will follow now. Evaluated by the recipients address filter; only data frames destined for this recipient will be passed on to the communication software. Senders address
LEN (Length)
Indicates the length of the subsequent data field in Bytes according to IEEE 802.3.
Ethernet frame
Ethernet Address
Naming of the cable types Example: 10base5 10 Transmission rate in Mbytes/s base Base or Broadband 5 Segment length in 100 meters UTP unshielded twisted pair STP shielded twisted pair S/STP screened shielded twisted pair
Schutzvermerk nach DIN 34 beachten
Ethernet topologies
Ethernet Media
Extension The maximum extension depends on the medium and the transmission rate; here some examples: 10base5 Segment: 500m Total: 2500m (with 4 repeaters)
100baseTX UTP
100baseFX
Schutzvermerk nach DIN 34 beachten
Hub-Station: 100m
Hub-Station: 400m 25km (with Mono mode fibre) Hub-Station: 550m
1000baseSX
Repeater / Hub
Repeater Hub
Bridge
A
E B
Bridge
C
F D
Bridge
Switch
Hub - Switch
A
H
G
A B H C G B
Hub
F
E A H B
Switch
D
D
Time F E
Hub
F E D
Cut-Trough Switch noc cheking of the data frames Store-and-Forward checking of the data frames Frames with same destination kept in internal short term memory thus queueing them discard them or create collision Broadcast messages go to all stations anyway (z.B. ARP) so switches are of no advantage here there are specific approaches of different switch manufacturers to reduce broadcast data traffic
Patch cable
Hub/Switch
Patch field
RJ 45
Hub/Switch
http://www.iaopennetworking.com/