Beruflich Dokumente
Kultur Dokumente
NETWORK MODELS
McGraw-Hill
Layered Tasks
Ex. A person sends a letter Components: Sender, Receiver, carrier
McGraw-Hill
Example 2.1
Assume Maria and Ann are neighbors with a lot of common ideas. However, Maria speaks only Spanish, and Ann speaks only English. Since both have learned the sign language in their childhood, they enjoy meeting in a cafe a couple of days per week and exchange their ideas using signs. Occasionally, they also use a bilingual dictionary. Communication is face to face and Happens in one layer as shown in Figure 2.1.
McGraw-Hill
McGraw-Hill
Example 2.2
Now assume that Ann has to move to another town because of her job. Before she moves, the two meet for the last time in the same cafe. Although both are sad, Maria surprises Ann when she opens a packet that contains two small machines. The first machine can scan and transform a letter in English to a secret code or vice versa. The other machine can scan and translate a letter in Spanish to the same secret code or vice versa. Ann takes the first machine; Maria keeps the second one. The two friends can still communicate using the secret code, as shown in Figure 2.2.
McGraw-Hill
McGraw-Hill
McGraw-Hill
McGraw-Hill
McGraw-Hill
Responsible For: Provides Services to User Apps Data Representation Communication Between Hosts, session management Multiplexing, Segmenting the data Routing Synchronization, Error Detection/Correction Medium, Interfaces, Puts Bits on Med.
The McGraw-Hill Companies, Inc., 2004
Examples
Layer 7.) Application 6.) Presentation 5.) Session 4.) Transport 3.) Network 2.) Data Link 1.) Physical
McGraw-Hill
Example HTTP, FTP, SMTP ASCII, JPEG, PGP BOOTP, NetBIOS, DHCP, DNS TCP, UDP, SPX IP, IPX, ICMP Ethernet, Token Ring, Frame Relay Bits, Interfaces, Hubs
The McGraw-Hill Companies, Inc., 2004
Mnemonics
(A)ll (P)eople (S)eem (T)o (N)eed (D)ata (P)rocessing
McGraw-Hill
7.) (A)pplication 6.) (P)resentation 5.) (S)ession 4.) (T)ransport 3.) (N)etwork 2.) (D)ata Link 1.) (P)hysical
Defines physical medium and interfaces Determines how bits are represented Controls transmission rate & bit synchronization Controls transmission mode: simplex, halfduplex, & full duplex Protocol Data Unit (PDU): Bits Devices: hubs, cables, connectors, etc
The McGraw-Hill Companies, Inc., 2004
McGraw-Hill
PDU: Frames Keeps Link alive & provides connection for upper layer protocols Based on physical address space Flow control and error detection/correction at the frame level is done. Ex: Ethernet, Token Ring, ISDN Devices: switches, bridges, NICs
The McGraw-Hill Companies, Inc., 2004
McGraw-Hill
PDU: Packet End to end delivery of packets Creates logical paths Path determination (routing) Hides the lower layers making things hardware independent Devices: routers, firewalls
McGraw-Hill
PDU: Segment It reassemble segments into data using sequence numbers Can use either connectionless or connection oriented sessions Uses acknowledgements & retransmission for error correction Example: TCP (used by things like telnet, http)
The McGraw-Hill Companies, Inc., 2004
McGraw-Hill
Connection oriented sessions require the sender to first request a connection, the receiver to acknowledge the connection, and that they negotiate how much data can be sent/received before its reception is acknowledged.
McGraw-Hill
PDU: Data The Session Layer provides the mechanism for opening, closing and managing a session between end-user application processes, i.e. a semi-permanent dialogue. Communication sessions consist of requests and responses that occur between applications. Session Layer services are commonly used in application environments that make use of remote procedure calls (RPCs).
The McGraw-Hill Companies, Inc., 2004
McGraw-Hill
In case of a connection loss this protocol may try to recover the connection. If a connection is not used for a long period, the Session Layer Protocol may close it and re-open it. It provides for either full duplex or half-duplex operation and provides synchronization points
McGraw-Hill
The Presentation Layer is responsible for the delivery and formatting of information to the application layer for further processing or display. An example of a presentation service would be the conversion of an EBCDIC-coded text file to an ASCII-coded file.
McGraw-Hill
The Application Layer contains all protocols and methods that fall into the realm of process-to-process communications via an Internet Protocol (IP) network. The common application layer services provide semantic conversion between associated application processes.
McGraw-Hill
McGraw-Hill
Layer 1
McGraw-Hill
Transmission Media
Transmission Media and Physical Layer
McGraw-Hill
Transmission Media
Transmission medium is the physical path between the transmitter and receiver. It is the Transmission medium through which information usually moves from one network device to another. In some cases, a network will utilize only one type of cable, other networks will use a variety of cable types.
McGraw-Hill
Transmission media media are located below the physical layer. Computers use signals to represent data. Signals are transmitted in form of electromagnetic energy.
McGraw-Hill The McGraw-Hill Companies, Inc., 2004
Transmission
Data Rate and Bandwidth (BPS and Hz) Distance and Attenuation (meters, dB/km) Interference Characteristics Number of receivers (broadcast vs. point to point) Cost
McGraw-Hill
Transmission Impairments
Analog signal impairments result in random modifications that impair signal quality Digital signal impairments result in bit errors (1s and 0s transposed)
McGraw-Hill
Types of Media
Two major classes Conducted or guided media use a conductor such as a wire or a fiber optic cable to move the signal from sender to receiver. Energy is confined to the medium and guided by it Wireless or unguided media use radio waves of different frequencies and do not need a wire or cable conductor to transmit signals Energy spreads out and is not confined
McGraw-Hill
McGraw-Hill
McGraw-Hill
McGraw-Hill
Providing services to the Network Layer Framing Error Control Flow Control
McGraw-Hill
Provide service interface to the network layer Dealing with transmission errors Regulating data flow
McGraw-Hill
McGraw-Hill
McGraw-Hill
A Sample Network
fig 5-1
McGraw-Hill
McGraw-Hill
The challenge is interconnecting different networks (various LAN technologies, telephone network, satellite link, ATM networks etc.).
McGraw-Hill
McGraw-Hill
The Packets coming from the transport layer must be placed in network-layer packets and sent to the data-link layer.
McGraw-Hill The McGraw-Hill Companies, Inc., 2004
Remember, the network layer must be able to operate on top of any data-link layer technology (Ethernet, Fast Ethernet, ATM etc.). All these technologies can handle a different packet length. The network layer must be able to fragment transport layer PDUs into smaller units so that they can be transferred over various data-link layer technologies.
McGraw-Hill The McGraw-Hill Companies, Inc., 2004
McGraw-Hill
McGraw-Hill
Main Functions
Divides each message into segments and reassembles them at the destination.
McGraw-Hill
Functions that you can encounter in the Transport Layer are: Error Handling Flow Control Multiplexing Connection Set-up and Release Congestion Handling Segmentation and Reassembly Addressing
McGraw-Hill The McGraw-Hill Companies, Inc., 2004
McGraw-Hill
McGraw-Hill
5. Session Layer
Example application program: Winsock, UNIX Socket Establishment, maintaining and Pres. release of session Provide dialog management
Appl. Appl. Pres. Sess. Tran. Netw. Data. Phys.
Sess.
Regulate which side transmit, Tran. when, for how long (Sync.) Netw. Provide synchronization between user tasks
McGraw-Hill
Data. Phys.
What is a Session?
A. Consecutive sessions on a transport layer connection 1 2 3 B. Consecutive sessions on a multiple transport layer connections 1 2 3
C. Both 1 2 3
McGraw-Hill
McGraw-Hill
6. Presentation Layer
Example application program: redirector (NT), SSL Translate data from Application Layer to the format suitable for session layer (the network) Provide data encryption, compression Changing or converting character set, graphic, and file format
McGraw-Hill
McGraw-Hill
7. Application Layer
Example protocols: FTP, Telnet, HTTP Entry point for application to access network Directly support user applications E.g. File transfer, email General capabilities: Network access, flow control, Error recovery
McGraw-Hill
Design Issues
Addressing Direction of Transmission Error Control Avoid loss of Sequencing Ability of receiving long messages Multiplexing
McGraw-Hill
McGraw-Hill
in which a participant can speak even if they are able to hear background music at the other end.
McGraw-Hill
The shared medium can be used for communication in each direction But the communication cannot proceed simultaneously It is analogous to using walkie-talkies where only one side can transmit at a time
McGraw-Hill
McGraw-Hill
McGraw-Hill
McGraw-Hill
McGraw-Hill
McGraw-Hill
McGraw-Hill
McGraw-Hill
McGraw-Hill
McGraw-Hill
THANK YOU!!!
McGraw-Hill