local area network(lan) - .:: geocities.ws · local area network(lan) sarawuth chaimool ......

22
1 Local Area Network(LAN) Sarawuth Chaimool ศราวุธ ชัยมูล [email protected] Wireless Communications Research Group (WCR) Department of Electrical Engineering King Mongkut’s Institute of Technology North Bangkok,Thailand Ch.Sarawuth LAN Objective Understand Basic LAN Devices. Understand the Evolution of Network Devices. Understand the Basics of Data Flow Through LANs. Understand the Building of LANs.

Upload: others

Post on 19-Mar-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

1

Local Area Network(LAN)

Sarawuth Chaimoolศราวธุ ชยัมลู

[email protected]

Wireless Communications Research Group (WCR)Department of Electrical Engineering

King Mongkut’s Institute of Technology North Bangkok,Thailand

Ch.Sarawuth LAN

Objective

Understand Basic LAN Devices.Understand the Evolution of NetworkDevices.Understand the Basics of Data FlowThrough LANs.Understand the Building of LANs.

Page 2: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

2

Ch.Sarawuth LAN

Outline

Basic NetworkBasic LAN DevicesBasics of Data Flow Through LANs.Building of LANs.

Ch.Sarawuth LAN

Network Topologies

PAN

LAN-PAN

MAN-LANMAN

WAN-MANWAN

PAN(Personal Area Network)LAN(Local Area Network)MAN(Metro Area Network)WAN(Wide Area Network)

Page 3: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

3

Ch.Sarawuth LAN

Local Area Network

Ch.Sarawuth LAN

Local Area Network

Page 4: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

4

Ch.Sarawuth LAN

Metropolitan Area Network

Ch.Sarawuth LAN

Wide Area Network

Page 5: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

5

Ch.Sarawuth LAN

Internetwork (Internet)

Ch.Sarawuth LAN

Page 6: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

6

Ch.Sarawuth LAN

LAN Topologies

Ch.Sarawuth LAN

Bus Topologies

Single cable connects all computersEach computer has connector to sharedcableComputers must synchronize and allowonly one computer to transmit at a time

Page 7: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

7

Ch.Sarawuth LAN

Ring Topology

Computers connected in a closed loop First passes data to second, second passes data tothird, and so onIn practice, there is a short connector cable fromthe computer to the ringRing connections may run past offices withconnector cable to socket in the office:

Ch.Sarawuth LAN

Star Topology

Previous diagram is idealized; usually,connecting cables run in parallel to computers:Result is:

Page 8: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

8

Ch.Sarawuth LAN

Multiple Topologies

Ch.Sarawuth LAN

Multiple Topologies

Each has advantages and disadvantages:Ring ease synchronization; may be disabled ifany cable is cutStar easier to manage and more robust;requires more cablesBus requires fewer cables; may be disable ifcable is cut

Bucknell has used all three; now almost entirelystar topologyIndustry is settling on star topology as mostwidely used

Page 9: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

9

Ch.Sarawuth LAN

Networking Media

basic functions of mediacarry a flow of information, in the form ofbits and bytes, through a LAN

confine network signals to a wire, cable,or fiberLayer 1 components of LANs

Ch.Sarawuth LAN

Networking Media

Page 10: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

10

Ch.Sarawuth LAN

LAN Wiring

ThickNet – 10Base5 ;Thick coax cable

ThinNet – 10Base2 ;“Thin” coax cableUse BNC connectors, “T” connectors for bus

10BaseT, 100BaseT ;Twisted PairUse central hub

Ch.Sarawuth LAN

Typical Media

Page 11: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

11

Ch.Sarawuth LAN

LAN Devices

Physical featuresFunctions (on a network)OSI layers on which the devices operate

Ch.Sarawuth LAN

Page 12: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

12

Ch.Sarawuth LAN

Ch.Sarawuth LAN

Function of Computers on the LAN

provide the user with an almost limitlessset of applications

Page 13: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

13

Ch.Sarawuth LAN

Network Interface Cards (NICs)

Separate processor, buffers incoming/outgoingdataCPU might not be able to keep up networkspeeds!Distributes processing to avoid overburdeningCPUTypically has DMA access

Ch.Sarawuth LAN

NICs

Layer 2 devices :MAC address

Page 14: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

14

Ch.Sarawuth LAN

RepeaterMay want to extend LAN medium

Ethernet - timing constraints allow longer mediumSignal strength constraints limit length

Repeater – simplest form is a bidirectional, analogamplifier that retransmits analog signals

Simply copy signals between segments; includesnoise/collisionDo not understand frame formats or addresses

• Not the case with digital repeatersHub acts as a repeater

One repeater can effectively double the length of anLAN segment, e.g. 100m to 200m

Ch.Sarawuth LAN

Repeater

Layer 1 devicesREPEATER

Page 15: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

15

Ch.Sarawuth LAN

Limits on RepeatersCan't extend Ethernet with repeaters indefinitelyCSMA/CD requires low delay; if medium is too long, CSMA/CDwon't work

Run into the problem of not being able to detect collisionswhile transmitting the frame

Ethernet standard includes limit of 4 repeaters between any twoEthernet stationsReasons for limitations

Ethernet was designed to connect a floor of a building, or acouple floors, but not across wider distancesWill need to go to routers to cross larger distances (connecttwo separate LANs)

Aside from hubs, bridges are used today in favor of repeaters

Ch.Sarawuth LAN

Hub

a multi-port repeaterpurpose

amplify and re-time network signals, at the bitlevela large number of users (e.g. 4, 8, or even 24)connect to one shared device

concentration

Page 16: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

16

Ch.Sarawuth LAN

Hub

Layer 1 devices

Ch.Sarawuth LAN

Bridge

Copies frames from one network to anotherCan operate selectively - does not copy allframes (must look at data-link headers).Extends the network beyond physical lengthlimitations.

BRIDGE

Page 17: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

17

Ch.Sarawuth LAN

Layer of Bridge

Ch.Sarawuth LAN

Bridges

Looks like one LAN to all systems

Page 18: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

18

Ch.Sarawuth LAN

Switch

concentrate connectivity, whileguaranteeing bandwidthable to combine the connectivity of ahub with the traffic regulation of abridge on each portswitches packets from incoming ports(interfaces) to outgoing ports

Ch.Sarawuth LAN

Layer of Switch

Page 19: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

19

Ch.Sarawuth LAN

Switches

Ch.Sarawuth LAN

Routerpath selection, and switching of routerroutes, and packetsEach router interface is connected to adifferent network or network segmentit is considered an inter-networkingdeviceexamine incoming packets, choose thebest path for them through the network,and then switch them to the properoutgoing port

Page 20: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

20

Ch.Sarawuth LAN

Layer of Router

Ch.Sarawuth LAN

Gateway

Operates as a routerData conversions above the network layer.Conversions:encapsulation - use an intermediate networktranslation - connect different application

protocolsencrpyption - could be done by a gateway

Page 21: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

21

Ch.Sarawuth LAN

Encapsulation Example

Gateway Gateway

Provides service connectivity eventhough intermediate network does notsupport protocols.

Ch.Sarawuth LAN

Translation

Translate from green protocol to brownprotocol

Gateway

Page 22: Local Area Network(LAN) - .:: GEOCITIES.ws · Local Area Network(LAN) Sarawuth Chaimool ... Repeater QLayer 1 devices REPEATER. 15 Ch.Sarawuth LAN Limits on Repeaters ... Qit is considered

22

Ch.Sarawuth LAN

Encryption gateway

Encryption/DecryptionGateways

SecureNetwork

Secure Network

GWGW ? ??

Insecure Network

Ch.Sarawuth LAN

Summary of Network Devices