Beruflich Dokumente
Kultur Dokumente
in
LAN Topology
Each device has a dedicated point-to-point link to a central controller, called a hub. Advantages :Less expensive, fault isolation is easy & each device needs only one link Disadvantage : If hub fails, whole network will be down
HUB
Mesh Topology
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004
Star Topology
4
HUB
Bus Topology
Drop line Cable End Drop line Drop line Drop line Cable End
Tap
Tap
Tap
Tap
Advantages : Multi point, Ease of installation & Uses less cables than mesh/star/tree topologies Disadvantage: Difficult to add new devices & A fault in the bus cable stops all transmission000
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 5
Ring Topology
HUB
Hybrid Topology Mixed topology using Star/Mesh & Ring according to the need
HUB
Star
Bus
Ring
Inter-working Devices
Inter-working Devices
Hub
Hubs
Hubs are essentially physical-layer repeaters: bits coming from one link go out all other links at the same rate no frame buffering no CSMA/CD at hub: adapters detect collisions
twisted pair
hub
10
Hubs
The active central element of the star layout. When a single station transmits, the hub repeats the signal on the outgoing line to each station. Physically a star; logically a bus. Hubs can be cascaded in a hierarchical configuration.
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 11
Hubs
Operating at the physical layer, hubs are very simple devices that pass all traffic in both directions between the LAN sections they link. They may connect different types of cable, but use the same data link and network protocol. Strictly speaking, hubs are not considered part of a backbone network, but are usually repeaters or amplifiers.
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 12
hub or switch
13
hub
hub
hub
14
Bridges
15
Bridges
Allow connections between LANs and to WANs Operates at Layer 2 (Data Link Layer) of OSI Used between networks using identical physical and link layer protocols Provide a number of advantages
Reliability: Creates self-contained units Performance: Less contention Security: Not all data broadcast to all users Geography: Allows long-distance links
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 16
Bridges
17
Bridge Functions
Read all frames from each network Accept frames from sender on one network that are addressed to a receiver on the other network Retransmit frames from sender using MAC protocol for receiver Must have some routing information stored in order to know which frames to pass
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 18
Bridges
If a bridge receives a packet with a destination address that is not in the address table, it forwards the packet to all networks or network segments except the one on which it was received. Bridges are a combination of both hardware and software, typically a black box that sits between the two networks, but can also be a computer with two NICs and special software.
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 19
Bridge Operation
20
LAN Switch
21
Switch: Forwarding
1 switch
hub
hub
hub
How do determine onto which LAN segment to forward frame? Looks like a routing problem...
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 22
23
Switch: Filtering/Forwarding
When switch receives a frame:
Searches the switch table using MAC destination address If entry found for destination then forward the frame on interface indicated, if it has not come from the same segment Else drop the frame If no match found in the switch table, flood on all the other interfaces
24
Switch example
1 switch 2 3 hub D F G hub I E H address interface A B E G 1 1 2 3
A B C
hub
Frame received by D
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 25
Switch example
switch address interface A B E G C 1 1 2 3 1
A B
hub
hub
D F G
hub I
Frame received by C
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 26
hub
hub
collision domain
collision domain
27
switch
C B A
28
Switches
Like bridges, switches operate at the data link layer. Switches connect two or more computers or network segments that use the same data link and network protocol. They may connect the same or different types of cable.
29
Switches
Switches operate at the same layers as bridges but differ from them in two ways:
First, most switches enable all ports to be in use simultaneously, making them faster than bridges. Second, unlike bridges, switches dont learn addresses, and need to have addresses defined.
30
31
Switched Ethernet
A simple concept behind switched Ethernet - replace the LAN hub with a switch. Each computer now has its own dedicated point-topoint circuit. By increasing the number of connections from the server to the switch, the throughput of the server will be improved because of more circuits.
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 32
Switched Ethernet
33
Types of Switches
Switch establishes a connection between two segments just long enough to send the current packet Incoming packets (part of an Ethernet frame) are saved to a temporary memory area (buffer) MAC address contained in the header is read and then compared to a list of addresses maintained in the switch's lookup table
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 34
Types of Switches
Cut-through Switching
After storing the MAC Address (6 bytes) immediately begin sending the packet to the destination node, even as the rest of the packet is coming into the switch.
No CRC Checking (disadvantage) Fast switching (advantage)
36
Store-and-forward Switching
Switch will save the entire packet to the buffer and check it for CRC errors or other problems before sending. Otherwise, the switch looks up the MAC address and sends the packet on to the destination node.
Slow (disadvantage) Error free operation (advantage)
37
Fragment-free Switching Works like cut-through except that it stores the first 64 bytes of the packet before sending it on. The reason for this is that most errors, and all collisions, occur during the initial 64 bytes of a packet.
Still CRC cannot be checked (disadvantage) faster (advantage)
38
Layer 3 Switches
Problems With Layer 2 Switches
Broadcast overload because of the single MAC broadcast address (e.g. using ARP for Data Link Layer address resolution) Lack of multiple links - only one path
Normally, the above problems can be solved with several subnets connected by routers. However,
A MAC broadcast frame is then limited to only the devices and switches contained in a single subnet. A router does all IP-level processing, some of which could be not necessary. It is implemented in software and slow.
40
Transparent Bridging
A Technology that allows a switch to learn everything it needs to know about the location of nodes on the network without the network administrator having to do anything. Transparent bridging has five parts:
Learning Flooding Filtering Forwarding Aging
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 41
Transparent Bridging
Switch A
Node A
Node C
H U B
Segment-A
HUB
Switch B
Node B
Switch C
Segment-B
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 42
44
Broadcast Storms
Node B
Switch A
Segment-C
Segment-A
HUB
Switch B
Node A
Switch C
Segment-B
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 49
Broadcast Storms
When switches are connected in a loop, a packet from a node could quite possibly come to a switch from two different segments. In this scenario, imagine that Node B is connected to Switch A, and needs to communicate with Node A on Segment B. Switch A does not know who the destination Node A is, so it floods the packet. Packet travels via Segment A or Segment C to the other two switches (B and C).
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 50
Broadcast Storms
Switch B will add Node B to the lookup table it maintains for Segment A, while Switch C will add it to the lookup table for Segment C. Each switch will take the packet sent by the other switch and flood it back out again immediately, since they still don't know who the destination Node A is. Switch A will receive the packet from each segment and flood it back out on the other segment. This causes a broadcast storm as the packets are broadcast, received and re-broadcasted by each switch.
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 51
52
Spanning Tree
Prevents broadcast storms Standardized as the 802.1d specification by IEEE. Spanning Tree uses the spanningtree algorithm (STA) that:
senses that the switch has more than one way to communicate with a node determines which way is best and blocks out the other duplicate path(s)
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 53
55
60
62
Routers
Routers operate at the network layer. Routers connect two or more LANs that use the same or different data link protocols, but the same network protocol. Routers may be black boxes, computers with several NICs, or special network modules in computers. In general they perform more processing on each message than bridges and therefore operate more slowly.
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 63
Routers
64
Routers
Segments LANs into distinct networks and subnetworks;
e.g. the distinct red, green and blue LANs with distinct network numbers.
Ethernet switch
3rd floor
2nd floor
1st floor
router
Routers
66
Routers vs Bridges
Routers can choose the best route. Routers also only process messages specifically addressed to it. Routers can connect networks using different data link layer protocols. Therefore, routers are able to change data link layer packets. Routers may split a message into several smaller messages for transmission.
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 67
Routers maintain routing tables, implement routing algorithms Switches maintain switch tables, implement filtering, learning algorithms
68
69
switch
IP subnet
hub
hub
hub
71
Gateways
Gateways operate at the network layer and use network layer addresses in processing messages. Gateways connect two or more LANs that use the same or different (usually different) data link and network protocols. The may connect the same or different kinds of cable. Gateways process only those messages explicitly addressed to them.
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 72
Gateways
Gateways translate one network protocol into another, translate data formats, and open sessions between application programs, thus overcoming both hardware and software incompatibilities. A gateway may be a stand-alone microcomputer with several NICs and special software, a FEP connected to a mainframe computer, or even a special circuit card in the network server.
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 73
Gateways
One of the most common uses of gateways is to enable LANs that use TCP/IP and ethernet to communicate with IBM mainframes that use SNA. The gateway provides both the basic system interconnection and the necessary translation between the protocols in both directions.
74
Gateways
75
Backbone Architecture
76
Core Layer
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004
Access Layer
78
Routed Backbones
Routed backbones move packets using network layer addresses Each LAN is a separate and isolated network. LANs can use different data link layer protocols. Main advantage:
LAN segmentation.
Main disadvantages:
Routers introduce more delay and require more mgmt. compared to bridging/ switching
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 79
Routed Backbones
80
Bridged Backbones Forwards the packet based on their data link layer addresses. The entire bridged backbone falls under one subnet. Bridged backbones are cheaper Performance
performs well For small networks for large networks broadcast messages lower performance.
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 81
Bridged Backbones
82
Collapsed Backbones
Collapsed backbones use a star topology The backbone has fewer devices. Advantages are:
simultaneous access and much higher performance a simpler & more easily managed network.
Disadvantages are:
use more cable if the central switch fails, the network goes down.
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 83
Collapsed Backbones
84
Rack-based Collapsed Backbones Rack-based backbones collapse the into a single room using
Main Distribution Facility (MDF)
Devices are connected using short patch cables. Moving computers between LANs is relatively simple
85
86
Uses a large chassis switch that has slots into which modules can be inserted. Chassis switch designs include a number of open slots and have an internal capacity capable of supporting all active modules.
87
88
Ethernet Technology
89
DL MAC committees 802.4/802.5 802.4 for Token Bus Burroughs, concord data systems, Honeywell, western digital, general motors & Boeing took over 802.4 802.5 for Token Ring IBM worked on 802.5
93
94
Ethernet_II
DIX-Ethernet Layers
Ethernet_II
OSI model
95
Preamble: 7 bytes with pattern 10101010 followed by one byte with pattern 10101011 Used to synchronize receiver, sender clock rates
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 96
97
98
99
Ethernet_II- Frame
64~1518B
8B
PREAMBLE
6B
DESTINATION HARDWARE ADDRESS
72~1526B 6B
SOURCE HARDWARE ADDRESS
2B
T Y P E
46~1500B
LAYER 3 DATA
4B
CRC
100
U/L I/G
Most Significant Byte Least Significant Byte
CSMA/CD
Ethernet Uses Carrier Sense Multiple Access with Collision Detection (CSMA/CD) as access method Any station wishing to transmit must listen for Carrier on the line If no carrier is detected, the line is idle and transmission can be initiated Two or more stations transmits at the same time, when there was no carrier, results in collision which is indicated by high voltage on the line After collision retry is done at staggered time by different devices CSMA/CD reduces the number of collision but does not eliminate them
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 103
104
DSAP 1B
SSAP
Control 12 B
1B
DATA 43~1497B
SOURCE HARDWARE ADDRESS
3B S N F HARDWARE D
ADDRESS DESTINATIO
PREAMBLE
LE N GT H
802.2 PDU
CRC
7B
1B
6B
6B
72~1526B
2B
64~1518B
46~1500B
4B
107
802.2 PDU
Upper layer information between 46-1500 bytes
CRC (4 bytes)
for error detection information
109
DSAP
C/R
SSAP
Control
OUI 3B
DSAP 1B
SSAP 1B
Control 12 B
DATA 38~1492B
SOURCE HARDWARE ADDRESS
8B S N F HARDWARE D
ADDRESS DESTINATIO
PREAMBLE 7B
LE N GT H 2B 64~1518B
CRC 4B
1B
6B
6B 72~1526B
111
10 Base 2
Uses Thin Coaxial Cable
10 Base T
Uses Unshielded Twisted pair cable
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 116
R
2 6
1 5
2.5 M
50 M
Segment 1
3
500 M; 200 Stations 4 5 Segments; 2500 M; 1000 Stations 1-NIC(Network Interface Card) 3-Cable Terminator 2-RG-8 Thick Coaxial Cable 4-Transceiver Vampire Tap
3 1 4 185 M 1-NIC(Network Interface Card) 3-BNC-T Connector 2-RG-58 Thin Coaxial Cable 4-Cable Terminator 2
120
10BaseT
A star topology LAN All individual transceiver functions and networking operations are placed in an intelligent hub with a port for each station Hub fans out any transmitted frame to all its connected stations Frame will be read by all, but will only be processed by the station to which it is addressed
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 121
Manchester encoding
Used in 10BaseT Each bit has a transition Allows clocks in sending and receiving nodes to synchronize to each other
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 122
10BaseT
1 2 100 M
10Base-T Hub
4 100 M
123
124
802.3u
Most popular spec. in 100Mbps over cat 5 UTP or cat 5 plus
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 125
Need for Media Independent Interface (MII) Fast Ethernet requires faster interface than 10 Mbps Ethernet 10 Mbps Ethernet uses Attachment Unit Interface (AUI) to connect Ethernet segment MAC is to remain constant for any physical layer technologies AUI cannot support 100 Mbps Ethernet because of high frequencies( AUI Uses 2.5 MHz clock in Ethernet- 10 Mbps) 100 base T needed new interfacemedia Independent Interface (MII)
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 126
127
128
Fast Ethernet
100 Base-TX
Uses 2 pairs (1 pair towards hub and other pair from hub) of CAT-5 UTP or STP Encoding used is 4B/5B Distance between hub & station be < 100 M
100 Base-FX
Uses 2 optical Fibers (1 fibre towards hub and other fibre from hub) Encoding used is 4B/5B Distance between hub & station be < 2000 M
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 130
Fast Ethernet
100 Base-T4
Makes use of already exiting telephone cables Uses 4 pairs of voice grade UTP CAT-3 2 pairs are bi-directional and the other 2 are uni-directional At a time 3 pairs are used to carry data in each direction at a data rate of 33.33 Mbps i.e. 2 pairs carry data bi-directionally Encoding used is 8B/6T (8Binary/6Ternary) Distance between hub & station be < 100 M
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 131
full/half
full half full half half full half
twisted pair
hub
134
136
Gigabit Ethernet
4 implements have been designed:
1000 1000 1000 1000
FEATURE
MEDIUM SIGNAL
1000Base-LX
Optical Fiber (Multi mode; Single mode) Long-Wave Laser
MAXIMU 550 Meters M Multi mode; 550 Meters DISTAN 5000 Meters ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 CE Single mode
25M
25M
137
138
Combines physical configuration of Ethernet (a bus topology) and the collision free feature of Token Ring Token bus is a physical bus that operates as logical ring using tokens (Round Robin)
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 139
141
142
143
144
Token loss: The token crashes before being transmitted - lost a free token A computer in the ring crashes - lost a busy token A token is always busy. A solution for the lost token problem: Designate one computer to be the token monitor and another computer to be a backup token monitor. If no token circulated through the network for a certain length of time or if a busy token circulates too often, the token monitor will create a new free token (and destroy the busy token if necessary.)
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 145
146
FDDI
Fiber Distributed Data Interface, standardised by ANSI and the ITU-T High speed alternative to Ethernet and Token Ring Copper version of FDDI is known as CDDI Uses Token passing as access method Implemented in dual ring In most cases, data transmission is confined to the primary ring The secondary ring is provided in case the primary ring fails
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 147
I/G U/L
Most Significant Byte Least Significant Byte
Secondary Ring
Primary Ring
Fault
149
150
Topology
The FDDI standard assumes a maximum of 1000 stations and a 200-kilometers (120 miles) path that requires a repeater every 2kilometers. The second ring is for backup. Single attachment stations (SAS) and dualattachment stations (DAS) are both computer that can connect to one or both of the rings, respectively. If the cable in the FDDI ring is broken, the ring can still operate in a limited fashion.
151
Topology
152
Topology
153
154
157
159
160
Gigabit Ethernet
Still under development Retains CSMA/CD protocol and Ethernet format, ensuring smooth upgrade path Uses optical fiber over short distances 1-Gbps switching hub provides backbone connectivity May not be good for LAN (explain why) and has been used in backbone networks for point-to-point connections.
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 161
Gigabit Ethernet
1000BASE-LX: Long-wavelength, supports up to 550m (m-mode fiber) or 5km (single-mode fiber) 1000BASE-SX: Short-wavelength, supports up to 275 - 550 m(m-mode fiber) 1000BASE-CX: uses copper jumpers in a single room or equipment rack 1000BASE-T: uses 4 pairs of Cat-5 UTP
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 162
163
164
Fibre Channel
combine the best features of channel and protocol-based technologies
the simplicity and speed of channel communications the flexibility and inter-connectivity that characterize protocol-based network communications.
more like a traditional circuit-switched or packet-switched network, in contrast to the typical shared-medium LAN
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 165
N_port
F_port
166
Fabric
Collection of switching elements between systems Each element includes multiple F_ ports Responsible for buffering and for routing frames between source and destination nodes
ALTTC/ DX Faculty/ KSK/ LAN Technology/ Nov 2004 167
400Mbps
200Mbps
100Mbps
10,000m
10,000m
10,000m
10,000m
M-mode
Coaxial Cable
500m
1,000m
2,000m
--
50m
71m
100m
100m
STP
28m
46m
57m
80m
170
171
174