78
Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineer ing De Lin Institute of Technology [email protected] http://www.cse.dlit.edu.tw/~andres

Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology [email protected] andres

Embed Size (px)

Citation preview

Page 1: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Local Area Networks

Andres, Wen-Yuan Liao

Department of Computer Science and Engineering

De Lin Institute of Technology

[email protected]

http://www.cse.dlit.edu.tw/~andres

Page 2: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 3: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

OverviewLocal area network (LAN) devices High-speed, low-error data

networks that cover a relatively small geographic area

Connect workstations, peripherals, terminals, and other devices

Page 4: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Basic LAN Devices

The topology LAN devices in a topology NICs,Media Repeaters , Hubs, Bridges, Switches Routers Clouds , Network segments

Page 5: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Topology

Defines the structure of the network Physical topologyThe actual layout of the wire (media)

Logical topologyDefines how the media is accessed

by the hosts.

Page 6: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 7: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Physical topology

BusUses a single backbone segmentAll the hosts connect to it directly

Ring Connects one host to the next and the last

host to the first

StarConnects all cables to a central point

Page 8: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Physical topology

Extended star Links individual stars together by linking the

hubs/switches.

hierarchical Similar to an extended star The system is linked to a computer The computer controls the traffic on the topology

Mesh Each host is connected to all other hosts Internet

Page 9: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Logical topologiesBroadcastEach host sends its data to all other

hosts on the network medium (no order)

Token-passingControls network access by passing an

electronic token sequentially to each hostWhen a host receives the token, that

means that that host can send data on the network

Page 10: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 11: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

LAN devices in a topology

Devices that connect directly to a network segment are referred to as hosts Operate at all 7 layers

Page 12: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 13: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

NICsAn NIC card is a printed circuit board

Layer 2 device

Media Access Control (MAC) address

AUI (Attachment Unit Interface)

RJ-45

BNC

Page 14: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 15: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

AUI

Page 16: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 17: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Media

Carry a flow of information

Be considered Layer 1 components Cable length Cost Ease of installation

Page 18: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 19: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Repeaters

One of the disadvantages of the type of cable that we primarily use (CAT5 UTP) is cable length Repeaters: strengthen their signals over long distancesThe purpose of a repeater is regenerate and retime network signals

Page 20: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Repeaters

5-4-3 Rule: you can connect five network segments end-to-end using four repeaters but only three segments can have hosts (computers) on them

Page 21: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 22: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 23: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Hubs

Multi-port repeater

Create a central connection point for the wiring media

Increase the reliability of the network

Page 24: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 25: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Classifications I

ActiveThey take energy from a power

supply to regenerate network signals

Passive They merely split the signal for

multiple users

Page 26: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Classifications IIIntelligent hubsHave console ports, which means

they can be programmed to manage network traffic

Dumb hubsTake an incoming networking signal

and repeat it to every port without the ability to do any management

Page 27: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Repeaters

Token-ring network : Media Access Unit (MAU)

FDDIs: the MAU is called a concentrator.

Page 28: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Bridges

Layer 2 device

To filter traffic on a LAN

To keep local traffic local

Allow connectivity to other segments

Every networking device has a unique MAC address on the NIC

Page 29: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 30: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Switches

Layer 2 deviceMulti-port bridge Make decisions based on MAC addresses The purpose of a switch is to concentrate connectivity, while making data transmission more efficient.

Page 31: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 32: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 33: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Routers Layer 3 device (IP address)Connect different Layer 2 technologiesEthernet, Token-ring, and FDDI.

To examine incoming packets (Layer 3 data), choose the best path for them through the network, and then switch them to the proper outgoing port

Page 34: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 35: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 36: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 37: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Clouds

There is a way to connect to that other network (the Internet), but does not supply all the details of either the connection or the network

A collection of devices that operate at all levels of the OSI model, it is classified as a Layer 1-7 device

Page 38: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 39: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Network segments

Layer 1 segmentA segment identifies the Layer 1

media that is the common path for data transmission in a LAN

Repeater is the separator

Layer 2 segment

Page 40: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Segments

A segment as a collision domain

Segment: a Layer 4 PDU

Page 41: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 42: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Evolution of Network Devices 

Evolution of network devices

Milestones in the history of networking

Evolution of networking devices and the OSI layers

Page 43: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 44: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 45: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 46: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Devices and the OSI layers

Hosts & servers operate at Layers 2-7

Layer 1Transceivers, repeaters, and hubs Patch cables, patch panels, and other

interconnection components

Layer 1,2: NIC, Bridge, Switch

Layer 1,2,3: Router

Page 47: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 48: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 49: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Basics of Data Flow Through LANs

Encapsulation and packets review Packet flow through Layer 1 devices Packet flow through Layer 2 devices Packet flow through Layer 3 devices Packet flow through clouds and through Layer 1-7 devices A data packet's path through all seven layers of a LAN

Page 50: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Encapsulation & packets review

Transport layer: segmentsSequence numbers (order)

Network layer: packet Destination & source address

Data Link layer: frameAdd the source/destination(MAC)

address

Page 51: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Encapsulation & packets review

The bottom three layers (Network, Data Link, Physical) The primary movers of data

across an Intranet or Internet.

The gateway uses all seven of the OSI layers

Page 52: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 53: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 54: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Layer 1 devices are passive (e.g. plugs, connectors, jacks, patch panels, physical media)

Page 55: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 56: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 57: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

AUI port to RJ-45

RJ-45 electrical toST Optical

Page 58: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 59: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 60: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 61: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 62: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

selection of best path and actual switching

Page 63: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Gateway

SNALAN

Page 64: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 65: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 66: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 67: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 68: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 69: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 70: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 71: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 72: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 73: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 74: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Building LANs

Page 75: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 76: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 77: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres
Page 78: Local Area Networks Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres

Summary

LAN devices, such as routers, switches and hubs

Evolution of networking devices

basics of data flowbasics related to building LANs