local area network(lan) - .:: geocities.ws · local area network(lan) sarawuth chaimool ......
TRANSCRIPT
1
Local Area Network(LAN)
Sarawuth Chaimoolศราวธุ ชยัมลู
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.
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)
3
Ch.Sarawuth LAN
Local Area Network
Ch.Sarawuth LAN
Local Area Network
4
Ch.Sarawuth LAN
Metropolitan Area Network
Ch.Sarawuth LAN
Wide Area Network
5
Ch.Sarawuth LAN
Internetwork (Internet)
Ch.Sarawuth LAN
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
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:
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
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
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
11
Ch.Sarawuth LAN
LAN Devices
Physical featuresFunctions (on a network)OSI layers on which the devices operate
Ch.Sarawuth LAN
12
Ch.Sarawuth LAN
Ch.Sarawuth LAN
Function of Computers on the LAN
provide the user with an almost limitlessset of applications
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
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
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
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
17
Ch.Sarawuth LAN
Layer of Bridge
Ch.Sarawuth LAN
Bridges
Looks like one LAN to all systems
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
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
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
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
22
Ch.Sarawuth LAN
Encryption gateway
Encryption/DecryptionGateways
SecureNetwork
Secure Network
GWGW ? ??
Insecure Network
Ch.Sarawuth LAN
Summary of Network Devices