Download presentation
Presentation is loading. Please wait.
Published byMarcia Horton Modified over 9 years ago
1
4.8 Repeaters, Hubs, Bridges, Switches and Routers 1
2
Repraters A repeater is a physical layer device that receives, amplifies (i.e., regenerates), and retransmits signals in both directions. Repeaters do not understand frames, packets, or headers. They understand the symbols that encode bits as volts. 2
3
Hubs A hub has a number of input lines that it joins electrically. Frames arriving on any of the lines are sent out on all the others. If two frames arrive at the same time, they will collide. Hubs differ from repeaters in that – they do not (usually) amplify the incoming signals – They are designed for multiple input lines. Like repeaters, hubs are physical layer devices that do not examine the link layer addresses or use them in any way. 3
4
Bridges and Switches A bridge connects two or more LANs. A switch has multiple ports, usually enough for 4 to 48 input lines of a certain type. Bridges were developed when classic Ethernet was in use, so they tend to join relatively few LANs and thus have relatively few ports. Switches. use point-to-point links, such as twisted-pair cables, so individual computers plug directly into a switch and thus the switch will tend to have many ports. 4
5
Bridges and Switches (cont.) When a frame arrives, the bridge or the switch extracts the destination address from the frame header and looks it up in a table to see where to send the frame. Therefore, they only output incoming frames to the ports for which those frames are destined. None of the other ports even knows the frame exists. As well as, The bridge or switch can forward multiple frames at the same time. 5
6
Bridges and Switches (cont.) From the outside, a switch looks just like a hub. They are both boxes, typically with 4 to 48 ports, each with a standard RJ-45 connector for a twisted-pair cable. Each cable connects the switch or hub to a single computer. In a hub, all stations are in the same collision domain. They must use the CSMA/CD algorithm to schedule their transmissions. In a switch, Unlike in a hub, each port is isolated to be in its own independent collision domain; and if the port has a full-duplex point-to-point line, the CSMA/CD algorithm is not needed. 6
7
Hubs, Bridges and Switches (a) A hub. (b) A bridge. (c) a switch. 7
8
Routers When a packet comes into a router is passed to the routing software. This software uses the packet header to choose an output line (the best routing path). The routing software does not see the frame addresses and does not even know whether the packet came in on a LAN or a point-to- point line. 8
9
4.3 ETHERNET
10
IEEE STANDARDS In 1985, the Computer Society of the IEEE started a project, called Project 802, to set standards to enable intercommunication among equipment from a variety of manufacturers. In 1985, the Computer Society of the IEEE started a project, called Project 802, to set standards to enable intercommunication among equipment from a variety of manufacturers. Project 802 is a way of specifying functions of the physical layer and the data link layer of major LAN protocols. Project 802 is a way of specifying functions of the physical layer and the data link layer of major LAN protocols. 10
11
IEEE standard for LANs 11
12
12
13
Ethernet evolution 13 Classic Standard Ethernet. Standard Ethernet hubs. Switched Ethernet: – Standard Ethernet:10 Mbps – Fast Ethernet100 Mbps – Gigabit Ethernet1 Gbps – 10-Gigabit Ethernet10 Gbps
14
4.3.1 Classic Standard Ethernet The Ethernet starts about the same time as that of ALOHA The first local area network was designed and implemented in 1976. It used a single long, thick coaxial cable and ran at 3 Mbps. This system called Ethernet Classic Ethernet snaked around the building as a single long cable to which all the computers were attached. The problems of classic Ethernet associated with finding breaks or loose connections 14
15
4.3.1 Classic Standard Ethernet 15
16
4.3.1 Classic Standard Ethernet (2) Two types of Classic Ethernet: Thick Ethernet: (used thick coaxial cable) – a yellow garden hose, with markings every 2.5 meters to show where to attach computers. Thin Ethernet: (used thin coaxial cable) – which bent more easily and made connections using industry-standard BNC connectors. – much cheaper and easier to install. – but it could run for only 185 meters per segment (instead of 500 m with thick Ethernet). – each segment could handle only 30 machines (instead of 100 with thick Ethernet). 16
17
4.3.1 Classic Standard Ethernet (3) Each version of Ethernet has a maximum cable length per segment (i.e., unamplified length) over which the signal will propagate. To allow larger networks, multiple cables (segments) can be connected by repeaters. 17
18
4.3.4 Standard Ethernet hubs The problems associated with finding breaks or loose connections drove it toward Ethernet hubs 18
19
4.3.4 Standard Ethernet hubs Advantages: – ease of maintenance : Adding or removing a station is simpler in this configuration by plugging or unplugging a wire, and it is easy to find most faults since a flaky cable or port will usually affect just one station; (cable breaks can be detected easily). – being able to reuse existing wiring (i.e. the twisted pairs wires of telephone company). Disadvantages: – it reduced the maximum cable run from the hub to 100 meters (200 meters if high quality Category 5 twisted pairs were used). – hubs do not increase capacity because they are logically equivalent to the single long cable of classic Ethernet. 19
20
4.3.4 Switched Ethernet Fortunately, there is an another way to deal with increased load: switched Ethernet. 20
21
4.3.4 Switched Ethernet: pros A switch has the same advantages as a hub. However, A switch improves performance over a hub in two ways. – First, since there are no collisions, the capacity is used more efficiently. – Second, with a switch multiple frames can be sent simultaneously (by different stations). 21
22
4.3.4 Switched Ethernet: pros (2) The Ethernet that use Switches has security benefits. – With a hub, every computer that is attached can see the traffic sent between all of the other computers. – With a switch, traffic is forwarded only to the ports where it is destined. 22
23
4.3.4 Switched Ethernet: pros (3) In the common case with the switch that the cable is full duplex, – Full Duplex: both the station and the port can send a frame on the cable at the same time, without worrying about other ports and stations. Collisions in full duplex are impossible and CSMA/CD is not needed. However, if the cable is half duplex, the station and the port must contend for transmission with CSMA/CD in the usual way. 23
24
Standard Ethernet cabling 24
25
4.3.5 Fast Ethernet The basic idea behind fast Ethernet was simple: keep all the old frame formats, interfaces, and procedural rules (make it compatible with Standard Ethernet), but reduce the bit time from 100 nsec to 10 nsec (Upgrade the data rate to 100 Mbps). 25
26
4.3.5 Fast Ethernet 26
27
4.3.5 Fast Ethernet (2) Users quickly started to deploy fast Ethernet, but they were not about to throw away 10-Mbps Ethernet cards on older computers. As a consequence, virtually all fast Ethernet switches can handle a mix of 10-Mbps and 100-Mbps stations. To make upgrading easy, the standard (802.3) itself provides a mechanism called autonegotiation Autonegotiation: a mechanism that lets two stations automatically negotiate the optimum speed (10 or 100 Mbps) and duplexity (half or full). It works well most of the time but is known to lead to duplex mismatch problems when one end of the link autonegotiates but the other end does not 27
28
4.3.6 Gigabit Ethernet The 802 committee’s goals for gigabit Ethernet were essentially the same as the committee’s goals for fast Ethernet: increase performance tenfold while maintaining compatibility with all existing Ethernet standards. the bit time is reduced from 10 nsec to 1 nsec (the data rate is Upgraded to 1 Gbps). 28
29
Gigabit Ethernet and Fast Ethernet like fast Ethernet, gigabit Ethernet supports two different modes of operation: full-duplex mode and half-duplex mode. – Full duplex (the normal mode) is used when the computers are connected to a switch. – Half-duplex mode, is used when the computers are connected to a hub rather than a switch. In this mode, collisions are possible, so the standard CSMA/CD protocol is required. Autonegotiation is supported just as in fast Ethernet, only now the choice is among 10, 100, and 1000 Mbps. 29
30
4.3.6 Gigabit Ethernet 30
31
4.3.7 10-Gigabit Ethernet 10-Gigabit Ethernet followed much the same pattern as the previous Ethernet standards. But 10 Gbps is 1000x faster than the original Ethernet (10Mbps). The long distance connections use optical fiber, while the short connections may use copper or fiber. 31
32
4.3.7 10-Gigabit Ethernet (2) All versions of 10-gigabit Ethernet support only full-duplex operation. Therfore, CSMA/CD is no longer part of the design. Where could it be needed? The answer is – inside data centers – exchanges to connect high-end routers switches, and servers. – in long-distance. 32
33
4.3.7 10-Gigabit Ethernet 33
34
4.3.8 Retrospective on Ethernet Ethernet has been around for over 30 years and has no serious competitors in sight, so it is likely to be around for many years to come. Probably the main reason for its longevity is that Ethernet is simple and flexible. simple translates into reliable, cheap, and easy to maintain. 34
35
4.3.8 Retrospective on Ethernet (2) Ethernet is reliable ; – Once the hub and switch architecture was adopted, failures became extremely rare. Ethernet is cheap; – Twisted-pair wiring is relatively inexpensive as are the hardware components. – It allowed the existing cabling (Twisted-pair) to be reused for a time. 35
36
4.3.8 Retrospective on Ethernet (3) Ethernet is easy to maintain; – There is no software to install (other than the drivers; Also no require to change their software) – Also, adding new hosts is as simple as just plugging them in. – cable breaks can be detected easily – Another point is that Ethernet interworks easily with TCP/IP (The most widely used communications protocol), which has become dominant. 36
37
4.3.8 Retrospective on Ethernet (4) Many alternative technologies were faster than Ethernet when they were introduced. this list includes – FDDI (Fiber Distributed Data Interface) – Fibre Channel,† two ring based optical LANs. Both were incompatible with Ethernet. Neither one made it. They were too complicated, which led to complex chips and high prices. 37
38
4.3.8 Retrospective on Ethernet (5) Eventually, Ethernet caught up with them in terms of speed, often by borrowing some of their technology, for example, the 4B/5B coding from FDDI and the 8B/10B coding from Fiber Channel. 38
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.