Ethernet, Fast Ethernet, and Gigabit Ethernet
Ethernet, Fast Ethernet, and Gigabit Ethernet
In this presentation, we will take a closer look at Ethernet, Fast Ethernet, and Gigabit Ethernets.
12-1
Ethernets
12- 2
The packets sent by the hosts on the same collision domain may collide with each other. 12- 3
2 pairs
No matter whether the device is a hub or a switch, 2 pairs of wires in a UTP cable are always used to connect a host to the device.
12- 4
12- 5
No matter whether full or half-duplex mode is used, 2 pairs of wires in a UTP cable are always used to connect a host to a hub/switch port. 12- 6
The bytes of a multi-byte field are sent from first byte to last byte, with each byte sent in Little Endian bit order.
12- 9
Every vendor (e.g., 3COM) is assigned a vendor block code. Therefore, every globally administered address is globally unique. 12- 10
Fast Ethernet
12- 12
Encoding Method
12- 13
If a switch uses full-duplex mode, the above two methods wont work. We need an explicit flow control for switched full-duplex Ethernet switches.
12- 15
12- 16
12- 17
12- 18
PAUSE Function
Implement a simple stop-start flow control scheme. If a device wants to temporarily inhibit incoming frames, it sends a PAUSE frame to the full-duplex partner. This PAUSE frame contains a parameter indicating the length of time the partner should wait before sending more frames. If the device wants to cancel the timer at its partner which is set up by its previous PAUSE frame, the device can send another PAUSE frame that contains a parameter of zero time.
12- 19
12- 20
12- 21
P2 P2
12- 27
Because link speed is one of the parameter that needs to negotiate, the auto-negotiation message cannot be transferred at a chosen speed (e.g., 10 or 100 Mbps). Instead, it is transmitted at a predetermined clock rate. 12- 28
12- 29
12- 30
Encoding Method
12- 31
Longwave laser
12- 32
12- 33
12- 34
Carrier Extension
Gigabit Ethernet does not want to modify application programs.
We want application programs to still use 64 bytes as the minimum frame size. Ideally, they should not need to know whether they are using Ethernet, Fast Ethernet, or Gigabit Ethernet.
However, to be able to detect collision, the minimum frame size must be enlarged from 64 bytes to 512 bytes (4096 bits). Carrier extension is introduced to insert padding at the MAC layer so that every transmitted frame is at least 512 bytes.
12- 36
Carrier Extension
12- 37
Frame Bursting
Although carrier extension solves the collision detection problem, the link utilization can be very low.
If every transmitted frame is a minimum-sized frame, because in every transmitted 512 bytes, there are only 64 useful bytes. The effective link utilization is only 64/512 = 12.5%
Frame Bursting
If the source host has many small frames to send, it can send them in a burst after a MAC arbitration. Except for the first frame, other frames sent in a burst need not be carrier-extended. If the first frame is larger than 512 bytes, it need not be carrier-extended. The burst can be as long as 8192 bytes. 12- 39
Second, if there is carrier extension and collision is detected in this period, the sending host knows that only the first frame should be retransmitted. Third, if there is carrier extension and there is no collision detected in this period, the sending host can be assured 12- 40 that no collision will happen in the future.
12- 42
No more 4 consecutive ones or zeros will be generated in a 10-bit code. The imbalance between the number of ones and zeros in a 10-bit code is at most 1. 12- 45
12- 46
1000BASE-X Connectors
One jack is for transmission. The other jack is for reception. To connect two hosts together, you need to cross-over the transmission and reception jacks by yourself.
12- 47
12- 48