local area networks: the basics

73
Local Area Networks: The Basics CST 246 Roosevelt University Dr. Roger G. Clery Lesson 7 LANs

Upload: networksguy

Post on 20-Jan-2015

1.479 views

Category:

Documents


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Local Area Networks: The Basics

Local Area Networks: The Basics

CST 246 Roosevelt University

Dr. Roger G. Clery

Lesson 7 LANs

Page 2: Local Area Networks: The Basics

2

Objectives

•State the definition of a local area network

•List the primary function, activities, and application areas of a local area network

•Cite the advantages and disadvantages of local area networks

•Identify the physical and logical topologies of local area networks

Page 3: Local Area Networks: The Basics

3

Objectives (continued)

•Cite the characteristics of wireless local area networks and their medium access control protocols

•Specify the different medium access control techniques

•Recognize the different IEEE 802 frame formats

•Describe the common local area network systems

Page 4: Local Area Networks: The Basics

4

•Local area network - communication network

•Interconnects a variety of data communicating devices within a small geographic area

•Broadcasts data at high data transfer rates with very low error rates

•Since the local area network first appeared in the 1970s, its use has become widespread in commercial and academic environments

Introduction to LANs

Page 5: Local Area Networks: The Basics

5

You need a NIC

Page 6: Local Area Networks: The Basics

6

You need Cable

Page 7: Local Area Networks: The Basics

7

You need HUBor a cross-over cable

Page 8: Local Area Networks: The Basics

8

You need Software

Page 9: Local Area Networks: The Basics

9

History of LAN

• ARC Attached Resources Computing - Data Point 1977, three architectural components to the ARC: file processors, application

processors, and hubs, all connected with coax cable

• Ethernet - Xerox, Intel, DEC -Bob Metcalf– Slow– Unreliable– Difficult to install In 1983 IEEE 802.3 10Base5 was approved, in 1986 10Base2, in 1991 10BaseT, in 1994-1995

10BaseF. In 1995 100 Mbps Ethernet was released, and in 1998-1999 Gigabit Ethernet.

Page 10: Local Area Networks: The Basics

10

•To provide access to hardware and software resources that will allow users to perform one or more of the following activities:

•File serving - large storage disk drive acts as a central storage repository

•Print serving - Providing authorization to access a particular printer, accept and queue print jobs, and user access to print queue to perform administrative duties

Primary Function of a LAN

Page 11: Local Area Networks: The Basics

11

Primary Function of a LAN (continued)

•Video transfers - High speed LANs are capable of supporting video image and live video transfers

•Manufacturing support - LANs can support manufacturing and industrial environments

•Academic support – In classrooms, labs, and wireless

•E-mail support

•Interconnection between multiple systems

Page 12: Local Area Networks: The Basics

12

Advantages of Local Area Networks

•Ability to share hardware and software resources

•Individual workstation might survive network failure

•Component and system evolution are possible

•Support for heterogeneous forms of hardware and software

•Access to other LANs and WANs (Figure 7-1)

•Private ownership

•Secure transfers at high speeds with low error rates

Page 13: Local Area Networks: The Basics

13

Advantages of Local Area Networks (continued)

Page 14: Local Area Networks: The Basics

14

Disadvantages of Local Area Networks

•Equipment and support can be costlyEquipment No, Support YES 10X to 15X the cost of equipment Roger

•Level of maintenance continues to grow•Private ownership?•Some types of hardware may not interoperate•Just because a LAN can support two different kinds of packages does not mean their data can interchange easily•A LAN is only as strong as it weakest link, and there are many links

Page 15: Local Area Networks: The Basics

15

Topology • The shape of a Local Area Network (LAN)

or other communications system. Topologies are either physical or logical.

Page 16: Local Area Networks: The Basics

16

Topology

• Logical - the way it works

• Physical - the way it looks

Page 17: Local Area Networks: The Basics

17

There are four principal topologies used in LANs.

• bus topology: All devices are connected to a central cable, called the bus or backbone. Bus networks are relatively inexpensive and easy to install for small networks. Ethernet systems use a bus topology.

• ring topology : All devices are connected to one another in the shape of a

closed loop, so that each device is connected directly to two other devices, one on either side of it. Ring topologies are relatively expensive and difficult to install, but they offer high bandwidth and can span large distances.

Page 18: Local Area Networks: The Basics

18

• star topology: All devices are connected to a central hub. Star networks are

relatively easy to install and manage, but bottlenecks can occur because all data must pass

through the hub.

• tree topology: A tree topology combines characteristics of linear bus and

star topologies. It consists of groups of star-configured workstations connected to a linear bus

backbone cable.

Four principal topologies used in LANs continued

Page 19: Local Area Networks: The Basics

19

Basic Local Area Network Topologies

Local area networks are interconnected using one of four basic configurations:

1. Bus/tree

2. Star-wired bus

3. Star-wired ring

4. Wireless

Page 20: Local Area Networks: The Basics

20

Bus/Tree Topology

•The original topology

•Workstation has a network interface card (NIC) that attaches to the bus (a coaxial cable) via a tap

•Data can be transferred using either

•Baseband digital signals

•Broadband analog signals

Page 21: Local Area Networks: The Basics

21

Bus/Tree Topology (continued)

Page 22: Local Area Networks: The Basics

22

Bus/Tree Topology (continued)

Page 23: Local Area Networks: The Basics

23

Bus/Tree Topology (continued)

•Baseband signals •Bidirectional

•More outward transmitting from the workstation in both directions

•Broadband signals •Usually uni-directional

•Transmit in only one direction special wiring considerations are necessary

•Buses can be split and joined, creating trees

Page 24: Local Area Networks: The Basics

24

Bus/Tree Topology (continued)

Page 25: Local Area Networks: The Basics

25

Bus/Tree Topology (continued)

Page 26: Local Area Networks: The Basics

26

Star-Wired Bus Topology

•Logically operates as a bus - physically looks like a star

•Star design based on hub

•All workstations attach to hub

•Unshielded twisted pair usually used to connect workstation to hub•Hub takes incoming signal and immediately broadcasts it out all connected links•Hubs can be interconnected to extend network size

Page 27: Local Area Networks: The Basics

27

Star-Wired Bus Topology (continued)

Page 28: Local Area Networks: The Basics

28

Star-Wired Bus Topology (continued)

Page 29: Local Area Networks: The Basics

29

Star-Wired Bus Topology (continued)

•Modular connectors and twisted pair make installation and maintenance of star-wired bus better than standard bus

•Hubs can be interconnected with twisted pair, coaxial cable, or fiber optic cable

•Biggest disadvantage: when one station talks, everyone

hears it called a shared network

•All devices are sharing the network medium

Page 30: Local Area Networks: The Basics

30

Star-Wired Ring Topology

•Logically operates as a ring but physically appears as a star

•Based on MAU (multi-station access unit) which functions similarly to a hub

•Where a hub immediately broadcasts all incoming signals onto all connected links, the MAU passes the signal around in a ring fashion

•Like hubs, MAUs can be interconnected to increase network size

Page 31: Local Area Networks: The Basics

31

Star-Wired Ring Topology (continued)

Page 32: Local Area Networks: The Basics

32

Star-Wired Ring Topology (continued)

Page 33: Local Area Networks: The Basics

33

Wi-Fi 802.11

Page 34: Local Area Networks: The Basics

34

Wireless LANs

•Not really a specific topology

•Workstation in wireless LAN can be anywhere as long as within transmitting distance to access point

•Several versions of IEEE 802.11 standard defines various forms of wireless LAN connections

•Workstations reside within a basic service set

•Multiple basic service sets create an extended service set

Page 35: Local Area Networks: The Basics

35

Wireless LANs (continued)

•Two basic components necessary: •Client Radio - usually PC card with integrated antenna installed in a laptop or workstation

•Access Point (AP) - Ethernet port plus transceiver

•AP acts as bridge between wired and wireless networks

•Can perform basic routing functions

•Workstations with client radio cards reside within a basic service set•Multiple basic service sets create extended service set

Page 36: Local Area Networks: The Basics

36

Wireless LANs (continued)

Page 37: Local Area Networks: The Basics

37

Wireless LANs (continued)

Page 38: Local Area Networks: The Basics

38

Wireless LANs (continued)

•IEEE 802.11 – The original wireless standard, capable of transmitting data at 2 Mbps

•IEEE 802.11b – The second wireless standard, capable of transmitting data at 11 Mbps

•In actual tests, 11 Mbps 802.11b devices managed 5.5 Mbps (from July 2000 test by Network Computing)

Page 39: Local Area Networks: The Basics

39

Wireless LANs (continued)

•With directional antennae designed for point-to-point transmission (rare), 802.11b can transmit for more than 10 miles

•With an omni-directional antenna on a typical AP, range may drop to as little as 100 feet

Page 40: Local Area Networks: The Basics

40

Wireless LANs (continued)

•IEEE 802.11a – One of the more recent standards, capable of transmitting data at 54 Mbps using 5 GHz frequency range

•IEEE 802.11g – The other recent standard, also capable of transmitting data at 54 Mbps but using the same frequencies as 802.11b (2.4 GHz)

•Backwards compatible with 802.11b

Page 41: Local Area Networks: The Basics

41

Wireless LANs (continued)

•HiperLAN/2 (European standard, 54 Mbps in 5 GHz band)•To provide security, most systems use either Wired Equivalent Privacy (WEP)

•Provides either 40- or 128-bit key protection

•Or a more advanced standard such as WPA (more on security in Chapter Thirteen)•Wireless LANs may also be configured without access point

•These configurations are called “ad-hoc”

Page 42: Local Area Networks: The Basics

42

Wireless LANs (continued)

Page 43: Local Area Networks: The Basics

43

Comparison of Bus, Star-Wired Bus, Star-Wired Ring, and Wireless Topologies

Page 44: Local Area Networks: The Basics

44

Medium Access Control Protocols

• How does a workstation get its data onto the LAN medium?

• Medium access control protocol - software that allows workstations to “take turns” at transmitting data

• Two basic categories:

1. Contention-based protocols

2. Round robin protocols

Page 45: Local Area Networks: The Basics

45

Contention-Based Protocols

•Essentially first come first served

•Most common example:

•Carrier sense multiple access with collision detection (CSMA/CD)

•If no one is transmitting, a workstation can transmit

•If someone else is transmitting, workstation “backs off” and waits

Page 46: Local Area Networks: The Basics

46

Contention-Based Protocols (continued)

•If two workstations transmit at the same time •Collision occurs

•When the two workstations hear the collision•Stop transmitting immediately

•Each workstation backs off a random amount of time and tries again

•Hopefully, both workstations do not try again at the exact same time

•CSMA/CD: example of non-deterministic protocol

Page 47: Local Area Networks: The Basics

47

Contention-Based Protocols (continued)

Page 48: Local Area Networks: The Basics

48

Round Robin Protocols

•Each workstation takes turn transmitting turn is passed around the network from workstation to workstation•Most common example is token ring LAN:

•Software token is passed from workstation to workstation

•Token ring: example of deterministic protocol•Token ring more complex than CSMA/CD. What happens if token is lost? Duplicated? Hogged?•Token ring LANs are losing the battle with CSMA/CD LANs

Page 49: Local Area Networks: The Basics

49

Token Ring

Page 50: Local Area Networks: The Basics

50

IEEE 802

• To better support local area networks, data link layer of the OSI model was broken into two sublayers:1. Logical link control sublayer

2. Medium access control sublayer

• Medium access control sublayer defines the frame layout • More closely tied to specific medium at physical layer

• Thus, when people refer to LANs they often refer to its MAC sublayer name, such as 10BaseT

Page 51: Local Area Networks: The Basics

51

IEEE 802

Page 52: Local Area Networks: The Basics

52

IEEE 802.3 and 802.5 Frame Formats

•IEEE 802 suite of protocols defines frame formats for CSMA/CD (IEEE 802.3) and token ring (IEEE 802.5)

•Each frame format describes how data package is formed

•Note how the two frames are different

•If a CSMA/CD network connects to a token ring network, frames have to be converted from one to another

Page 53: Local Area Networks: The Basics

53

IEEE 802.3 and 802.5 Frame Formats

Page 54: Local Area Networks: The Basics

54

IEEE 802.3 and 802.5 Frame Formats

Page 55: Local Area Networks: The Basics

55

Local Area Network Systems

•Ethernet or CSMA/CD

•Most common form of LAN today

•Star-wired bus is most common topology but bus topology also available

•Ethernet comes in many forms depending on:

•Medium used

•Transmission speed

•Technology

Page 56: Local Area Networks: The Basics

56

Ethernet

•Originally, CSMA/CD was 10 Mbps

•Then 100 Mbps was introduced

•Most NICs sold today are 10/100 Mbps

•Then 1000 Mbps (1 Gbps) was introduced

•10 Gbps is now beginning to appear

Page 57: Local Area Networks: The Basics

57

Ethernet (continued)

•1000 Mbps introduces a few interesting wrinkles:

•Transmission is full duplex (separate transmit and receive) no collisions

•Prioritization is possible using 802.1p protocol

•Topology can be star or mesh (for trunks)

Page 58: Local Area Networks: The Basics

58

Ethernet (continued)

•Cabling can be either UTP or optical

•10 Gbps Ethernet may not work over UTP due to radio frequency interference

•Where 10 Mbps Ethernet has less than 30% utilization due to collisions

•1000 Mbps is limited only by traffic queueing

•Distance with 10 Mbps is limited by CSMA/CD propagation time

•1000 Mbps limited only by media

Page 59: Local Area Networks: The Basics

59

Ethernet (continued)

Page 60: Local Area Networks: The Basics

60

IBM Token Ring

•Deterministic LAN offered at speeds of 4, 16 and 100 Mbps

•Very good throughput under heavy loads

•More expensive components than CSMA/CD

•Losing ground quickly to CSMA/CD

•May be extinct soon

Page 61: Local Area Networks: The Basics

61

MAU

Page 62: Local Area Networks: The Basics

62

Logical Ring Physical Star MAU

Page 63: Local Area Networks: The Basics

63

Fiber Distributed Data Interface (FDDI)

•Based on token ring design using 100 Mbps fiber connections

•Allows for two concentric rings

•Inner ring can support data travel in opposite direction or work as backup

•Token is attached to outgoing packet, rather than waiting for outgoing packet to circle entire ring

Page 64: Local Area Networks: The Basics

64

FDDI

Page 65: Local Area Networks: The Basics

65

Fiber Distributed Data Interface (FDDI)

Page 66: Local Area Networks: The Basics

66

LANs In Action: A Small Office Solution

•What type of system will interconnect twenty workstations in one room and fifteen workstations in another room to a central server, offering:

•Internal e-mail

•A database that contains all customer information

• High quality printer access

Page 67: Local Area Networks: The Basics

67

LANs in Action: A Small Office Solution (continued)

Page 68: Local Area Networks: The Basics

68

LANs in Action: A Small Office Solution (continued)

Page 69: Local Area Networks: The Basics

69

LANs in Action: A Home Office Solution

•What if you have two computers at home and want both to share a printer and connection to the Internet?

•Some type of Small Office/Home Office (SOHO) solution might solve this problem

•LAN with 2- or 3-port hub, connecting cables, and software

•In some models, hub also acts as a router to the Internet

Page 70: Local Area Networks: The Basics

70

LANs in Action: A Home Office Solution (continued)

Page 71: Local Area Networks: The Basics

71

Summary

• Local area networks

• Medium access control techniques

• IEEE 802 frame formats

Page 72: Local Area Networks: The Basics

72

Protocol Comparison

Page 73: Local Area Networks: The Basics

73

END 7• http://cs.roosevelt.edu/ru-telecom/Classes.h

tm Return to Class menu