790 likes | 1.17k Views
Ethernet. Ethernet is now the predominant LAN technology in the world. History of Ethernet. Derived from Aloha Net (U. of Hawaii) Xerox Corporation's Palo Alto Research Center (PARC) developed Ethernet in the 1970s IEEE 802.3 was based on Ethernet & released in 1980
E N D
Ethernet is now the predominant LAN technology in the world.
History of Ethernet • Derived from Aloha Net (U. of Hawaii) • Xerox Corporation's Palo Alto Research Center (PARC) developed Ethernet in the 1970s • IEEE 802.3 was based on Ethernet & released in 1980 • Digital, Intel & Xerox jointly developed and released an Ethernet 2.0, that was substantially compatible with IEEE 802.3.
LLC LLC is implemented in software, and its implementation is independent of the physical equipment.
Logical Topology (of Ethernet) • The underlying logical topology of Ethernet is a multi-access bus. • This means that all the nodes (devices) in that network segment share the medium. • This further means that all the nodes in that segment receive all the frames transmitted by any node on that segment.
Reasons for Ethernet Success • Simplicity and ease of maintenance • Ability to incorporate new technologies • Reliability • Low cost of installation and upgrade
Historic Ethernet 10BASE5 (Thicknet) 10BASE2 (Thinnet)
Migration from Hub-based to Switch-based Ethernet (collision management)
Current Ethernet Development • Moving to G-bits & beyond • Ethernet Beyond the LAN • Can now be applied across a city in what is known as a Metropolitan Area Network (MAN).
So, there are two Ethernet standards … Ethernet Frame
FCS : Frame Check Sequence frame will be dropped if FCS is incorrect
Ethernet Frame Size • Originally between 64 bytes and 1518 bytes. • includes all bytes from the Destination MAC Address field through the Frame Check Sequence (FCS) field. • The Preamble and Start Frame Delimiter fields are not included • The IEEE 802.3ac standard, released in 1998, extended the maximum allowable frame size to 1522 bytes. • to accommodate a technology called Virtual Local Area Network (VLAN). (will be presented in a later course)
Ethernet Frame Size • If the size of a transmitted frame is less than the minimum or greater than the maximum, the receiving device drops the frame. • Dropped frames are likely to be the result of collisions or other unwanted signals and are therefore considered invalid.
Addressing in Ethernet MAC Address burned in ROM on NIC card & will be copied into RAM when start-up.
MAC address structure In DOS command window, type “ipconfig/all” to view MAC address
MAC vs IP Address • The Network layer address enables the packet to be forwarded toward its destination. • The Data Link layer address enables the packet to be carried by the local media across each segment.
Ethernet Uni-cast & Broadcast Uni-cast Broadcast
Ethernet Multicast A special value that begins with 01-00-5E in hexadecimal. The value ends by converting the lower 23 bits of the IP multicast group address into the remaining 6 hexadecimal characters of the Ethernet address. The remaining bit in the MAC address is always a "0".
Collision 以後? Jam signal: maybe a 32-bitrepeating one, zero, one, zeropattern)
Collision 以後? Backoff Timing Each computer has different backoff time
Ethernet Delay (Latency) More latency, more likely the collision
Ethernet 的 Timing 限制 • 想像一個極端的例子 … • A電腦送出一個 Ethernet 所能允許的最小封包, 這個封包在旅行了 Ethernet 所能允許的最遠距離後, 剛好與遠端的 B 電腦送出的封包發生碰撞, 然後, 在這發生碰撞後的封包傳回原發送封包之 A 電腦前, 該 A電腦的封包已經傳完 ….. • OOPS, 所以, A電腦以為它剛送出的封包已經成功傳送, 但, 實際上不然! • Houston, we’ve got a problem!
Ethernet 的 Timing 限制 • 因此, Ethernet 在 … • 傳輸速度 (rate) : R • 最大傳輸距離間來回之傳輸延遲 (delay time) : T • 最小封包大小 (size) : S 間需滿足以下條件T < S / R
Ethernet 的 Timing 限制 • 舉例而言, 在 UTP 線上之傳輸 “速度” 約為 20.3 cm per nanosecond • 一個直徑 100 m 的 LAN 之來回 delay 為 2 x 100 (m) x 100 (cm) / 20.3 = 985 (ns) • 一個直徑 200 m 的 LAN 之來回 delay 為 2 x 200 (m) x 100 (cm) / 20.3 = 1970 (ns) • 一個直徑 400 m 的 LAN 之來回 delay 為 2 x 400 (m) x 100 (cm) / 20.3 = 3940 (ns) • 別忘了, Repeaters (Hubs) 及電腦本身也會有 delay ㄛ!
Bit Time vs Slot Time • Bit-time:Time to transmit one bit • Slot-time: 最大傳輸距離間來回之傳輸延遲
Slot Time • 電腦傳送完成最小 size 封包 (64-byte) 所需時間 should be ≧ max. two-way latency = 64 bytes > 0.985 μs (100 m) = 64 bytes > 0.985 μs (100 m) = 512 bytes > 0.985 μs (100 m) Operates at full-duplex only, no CSMA/CD is required Why not use 512 bit time?
How timing affects Ethernet Topology 10Base2 Ethernet Installation specification (5-4-3 rules) Why 5-4-3?
Inter-frame Spacing • The minimum spacing between two non-colliding frames is also called the inter-frame spacing Inter-frame Spacing allows: 1. media time to stabilize after the transmission of the previous frame 2. devices time to process the frame and prepare for the next frame
Ethernet Physical Layer • The differences between standard Ethernet, Fast Ethernet, Gigabit Ethernet, and 10 Gigabit Ethernet occur at the Physical layer, often referred to as the Ethernet PHY.
Types of Ethernet 10Gbps
1000BASE-T Ethernet • 1000BASE-T Ethernet provides full-duplex transmission using all four pairs in Category 5 or later UTP cable. • Gigabit Ethernet over copper wire enables an increase from 100 Mbps per wire pair to 125 Mbps per wire pair • 500 Mbps for the four pairs. • Each wire pair signals in full duplex, doubling the 500 Mbps to 1000 Mbps.
1000BASE-T Ethernet • Wire pairs are no longer separated into a pair for transmitting and a pair for receiving • Any wire pair can be used for transmitting or receiving at the same time if necessary. • This means that there are permanent collisions on the wire. • Hybrid circuits at the ends of each wire pair can separate out transmission signals from receive signals.
1000BASE-SX and 1000BASE-LX • Advantages over UTP • noise immunity • small physical size • increased unrepeated distances and bandwidth.
10 Gbps Ethernet • IEEE 802.3ae standard was adapted to include 10 Gbps, full-duplex transmission over fiber-optic cable. • The 802.3ae standard and the 802.3 standards for the original Ethernet are very similar. • 10-Gigabit Ethernet (10GbE) is evolving for use not only in LANs, but also for use in WANs and MANs.
10Gbps vs other varieties of Ethernet • Frame format is the same, allowing interoperability between all varieties Ethernet, with no reframing or protocol conversions necessary. • Bit time is now 0.1 ns. All other time variables scale accordingly. • Because only full-duplex fiber connections are used, there is no media contention and CSMA/CD is not necessary. • The IEEE 802.3 sub-layers within OSI Layers 1 and 2 are mostly preserved, with a few additions to accommodate 40 km fiber links and interoperability with other fiber technologies.
With 10Gbps Ethernet … • Flexible, efficient, reliable, relatively low cost end-to-end Ethernet networks become possible.
Future Ethernet Speeds • 1-Gigabit Ethernet is now widely available and 10-Gigabit products are becoming more available • IEEE and the 10-Gigabit Ethernet Alliance are working on 40-, 100-, or even 160-Gbps standards.
HUB-based Ethernet Lack of scalability Increased latency Increased latency