Download presentation
Presentation is loading. Please wait.
1
COMP1321 Digital Infrastructure
Richard Henson February 2016
2
Week 14: WANs, LANs, Communications Protocols
Objectives: Naming systems for LANs and WANs OSI model and why seven layers Roles of individual layers Simplifying the OSI model
3
Network Topologies LANs use some kind of star arrangement
WANs use some kind of mesh arrangement Need to ensure that an alternative route is available in case the preferred route cannot carry a signal
4
Device Naming Essential to be logical, so no duplicates
Needs to be designed into the communications protocol Early efforts based on telephone networks & circuit switching development of the STD code no two telephone numbers alike…
5
WANs, LANs and getting the message through
In principle, routing is the same on a LAN and a WAN In practice… LANs infrastructure owned and managed by organisation themselves (or a third party on their behalf) WAN infrastructure managed by a specialist organisation and offered as a service
6
WAN, LAN and “naming” All networks need a naming system
sometimes use numbers no duplicates allowed! the bigger the network, the longer the network names… LANs need a system not too many devices to name… WANs often International e.g. Internet naming more sophisticated
7
Naming and Addressing Words used almost interchangeably…
“address” tends to be numerical “name” tends to be based on words Fulfill essentially the same purpose: unique network identity for each device provides location for data to be sent to provides source location for data sent
8
LAN naming systems From first IEEE (802) spec…. Data sent as “frames”
used “hardware” (MAC) address of device Data sent as “frames” transfer very fast… Typical MAC address: xx.xx.xx.xx.xx.xx (where x= a hexadecimal number)
9
Packet-based LAN naming
NetBIOS names WINS names Active Directory naming…
10
Internet naming systems
Originates from TCP/IP naming system typical IPv4 name: x.x.x.x where x = a number, 0 to 255 decimal now IPv6 IPv4 running out of unique numbers!
11
WAN and LAN combination
Organisational data often travels through LANs and WANs… May need a combination of naming systems… dealt with through software that will deliver a unique name
12
Communications Protocols and Software Layers
Software for a WAN communication protocol needs to cover SEVEN (!) layers why? partly because software has to manage a diverse range of newtork issues partly for historical reasons (compromise between IBM and Internet community, but other players involved)
13
The OSI Model (a 1978 compromise…)
Benefits of OSI compatible software: other manufacturers products would be able to communicate with their own consumer would no longer be “locked in” to specific vendor products vendors would be able to produce products that work at specific layers only specialise and hence produce better products
14
Layer Communication (Sending)
Each layer in the OSI model considers itself to be talking to a peer layer in another computer adds/removes its own “header” (formatting info) e.g. application layer adds a header to the user data on screen passed to the presentation layer as a single block e.g. presentation layer adds its header to the block of data passed on to session layer as a single block… and so on…
15
The OSI reference model
Transmit Station Receive Station AH DATA PH SH TH NH LH LT Physical Layer Data link Network Transport Session Presentation Application Physical Layer Data link Network Transport Session Presentation Application DATA AH PH SH TH NH LT LH Initially, the diagram shows the seven network software layers in the sending computer. It then shows how extra header data is added to screen data by each of the network layers until it is send out onto the physical network via the physical layer. It then shows all this data arriving at the receiving computer and the header data being stripped away layer by layer until what appears on the screen is just the data that was originally on the sending computer’s screen. Link
16
Layer Communication (Receiving)
Each layer in the OSI model strips away its own header e.g. physical layer removes header from data block passed to the data link layer e.g. data link layer removes header to the block of data passed on to network layer and so on…
17
The OSI model Link Transmit Receive Station Station Physical Layer
AH DATA PH SH TH NH LH LT Physical Layer Data link Network Transport Session Presentation Application Physical Layer Data link Network Transport Session Presentation Application DATA AH PH SH TH NH LT LH Repeat of earlier slide Link
18
Simplifying The OSI model
Layers can be sub-divided into two groups The top 3 layers (interworking layers) user applications and support services The lower 4 layers (interconnection layers) the network (and navigation of packets) Memory aids: PDNTSPA Please Do Not Throw Sausage Pizza Away!
19
Interworking Layers All about servicing needs of users
support for the application layer… includes presentation layer and session layer
20
Application Layer Interface for applications to use to gain access to network services: Networked file transfer Message handling Database query processing Controls generalised network access: supports applications which exchange data provides error & status information for applications If network is peer-peer… authenticates peer partners determines if peers are ready to communicate
21
Presentation Layer Responsible (sending) for converting data from
application-specific format to a generic (machine-independent) format that can be passed across a network Receiving… for converting incoming data from a generic format to one that makes sense to the receiving application Also responsible for protocol conversion, encryption & decryption, and graphics commands The redirector (software for handling service requests) also operates at this layer: If a service cannot be resolved locally, it sends the request out to the network resource that can offer the required service
22
Session Layer Sets up a logical connection between machines called a “session”, which allows networked resources to communicate Manages the setting up of a user “session”, exchange of information, and “tear down” as the session ends Manages issues such as who may transmit data at a certain time, and for how long, also ensuring that the system doesn’t “time out” after inactivity Ensures data is routed to the correct application on the local machine Synchronises services between tasks at each end of the communications channel in half duplex communications
23
Interconnection Layers
Concerned with packets of data and navigating them through the network Transport Network Data Link Physical
24
The Four Layers Model Introduced with Unix (mid-1970s, pre-OSI)
based on Internet protocols… “application” “transport” Shows four names in boxes: application, transport, network, physical “network” “physical”
25
TCP/IP Evolved with the Unix four layers… Application,
presentation, session TCP IP As previous slide but application, presentation, session all together in top layer Next layer: TCP Third layer: IP Fourth layer: connecting with physical medium Connecting with physical medium
26
Transport Layer (from Unix)
Manages the transmission of level 4 data from sender to corresponding layer in receiver segments data streams into chunks of a given packet size for the medium being used checks for errors due to corruption, requests retransmission etc. Gateways can operate at this layer
27
Transport Layer (from Unix)
Other roles: managing flow control providing acknowledgement of successful transmission of chunks of data software multiplexing routing in an Internetwork Manages OSI levels 1-4 so messages travel between network nodes via pairs of “sockets” After slide text: socket A (sender) in a box, arrow from box to socket B (receiver) in another box socket A (sender) socket B (receiver)
28
Transport layer Socket A Socket B End User Peer-to-Peer communications
Physical Layer Data link Network Transport Upper OSI Layers End User Peer-to-Peer communications Socket A Socket B Similar to previous diagrams showing all seven network layers. This time, transport layer on sender identified at socket A, and transport layer on receiver is socket B. Arrow linking to two together as “peer-peer” communication, Diagram also shows two intermediate routers, where data is not converted up the stack beyond the network layer, before forwarding. Network A Network B
29
End-end v logical neighbour communications
Top four OSI layers communicate logically with remote peer… regardless of topology or distance The lower layers all communicate physically with their nearest neighbour in a network dependent on topology and routing to get the packets through
30
Network Layer Responsibilities: packet (IP) addressing and sequencing
determining to route from source to destination computer Routers operate up to this level
31
Network Layer Functions
Provides messages with an address for delivery (e.g. IP address) Translates logical network addresses/names into physical equivalents Handles packet switching and routes packets to their destination on the local network Controls network packet congestion Ensures packets conform to the network's format
32
Network Layer Transport Layer Network Layer
User Specifies Service Transport Layer Network Service Network Layer Diagram shows the all important communication between transport layer (user oriented service) and network layer (network oriented service) Network provides Service Network layer service definitions
33
Data Link Layer Responsible for error free physical transmission of data, using frames may include an error recovery mechanism and also a flow control mechanism, although this may be done at the transport layer Mechanism (down): data from the upper layers (i.e. the network layer) is converted by the data link layer into frames Mechanism (up) arranges raw data bits received via the physical layer into frames, for passing on to the upper layers Naming system for devices: MAC addresses Bridges/Switches operate up to this level
34
Physical Layer Responsible for communicating with the network media
Bits are converted into electrical signals and vice versa Issues include modulation of signals and timing Manages the interface between a computer and the network medium, but cable type and speeds of transmission are deliberately omitted to allow future technology to be easily included Repeaters work only at this level
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.