Lecture 01 02 Overview TCP Osi PDF
Lecture 01 02 Overview TCP Osi PDF
Outline
Introduction OSI Model TCP/IP Model IPv4 vs. IPv6
What is a Protocol?
A standard that allows entities (i.e.
application programs) from different systems to communicate Shared conventions for communicating information Includes syntax, semantics, and timing
TCP/IP: widely implemented OSI: less used, still useful for modeling/conceptualizing
Internet Standards
Email related standards
IMAP, POP, X.400, SMTP, CMC, MIME, binhex, uuencode http, CGI, html/xml/vrml/sgml X.500, LDAP http, FTP, telnet, gopher, wais H.320, H.323, Mpeg-1, Mpeg-2
Application standards
Videoconferencing standards
What is OSI?
Developed by the International Organization for
Standardization (ISO) in 1984 The primary architectural model for intercomputer communications. A conceptual model composed of seven layers, each specifying particular network functions. Describes how information from a software application in one computer moves through a network medium to a software application in another computer.
The model
Model that allows any two different systems
to communicate regardless of their underlying architecture. Purpose OSI: to open communicate between different systems without requiring changes to the logic of the underlying hardware and software OSI not protocol but a model Consist of seven separate but related layers, each of which defines a segment of the process of moving information across a network.
WCB/McGraw-Hill
Physical Layer
Coordinate the functions required to
transmit a bit stream over a physical medium. It deals with the mechanical and electrical specifications of the interface and transmission medium. It also defines the procedures and functions that physical devices and interfaces have to perform for transmission to occur.
Physical Layer
WCB/McGraw-Hill
*Physical-layer Implementation
facility, to a reliable and is responsible for node-to-node delivery. DLL makes the physical layer appear error free to the upper layer. SPECIFIC RESPONSIBILITIES of the DLL are the following: Framing. The DLL divides the stream of bits received from the n/w layer into manageable data units called frames Physical addressing. Adds a header to the frame to define the physical address of the sender (source address) and/ or receiver (destination address) of the frame.
WCB/McGraw-Hill
WCB/McGraw-Hill
Network Layer
NL is responsible for the source-to-dest
delivery of a packet possibly across multiple n/w (links) Whereas the DL oversees the delivery of the packet between two systems on the same n/w, the n/w layer ensures that each packet gets from its point of origin to its final destination. Specific responsibilities
Network Layer
WCB/McGraw-Hill
WCB/McGraw-Hill
WCB/McGraw-Hill
Transport Layer
Concerned with reliable transfer of
information between applications Independent of the nature of the application Includes aspects like flow control and error checking
Transport layer
The transport layer is responsible for source-todestination (end-to-end) delivery of the entire message. Whereas the NL oversees end-to-end delivery of individual packets, it doesnt recognize any relationship between those packets. It treats each one independently, as though each piece belonged to a separate message, whether or not it does. The transport layer, on the other hand, ensures that the whole message arrives intact and in order, overseeing both error control and flow control at the source-to-destination level.
File conversion from ASCII to EBDIC Invoking character sequences to generate bold, italics, etc on a printer
Presentation layer
Concerned with the syntax and
semantics of the information exchanged between two systems. Responsibilities
Application Layer
The application layer enables the user,
whether human or software, to access the network. It provides user interfaces and support for services such as electronic mail, remote file access and transfer, shared database management, and other types of distributed information services.
WCB/McGraw-Hill
Networks Computers Applications Network access layer Transport layer Application layer
TCP/IP
Transmission control Protocol/Internet
Protocol Developed by DARPA No official protocol standard Can identify five layers
OSI Model
Network Access
Physical layer
(HDLC)
Sender
Application Layer
HTTP Request
Receiver
Application Layer
HTTP Request
Transport Layer
TCP HTTP
Request
Transport Layer
TCP HTTP
Request
Network Layer
IP
TCP HTTP
Request
Network Layer
IP
TCP HTTP
Request
Ethernet IP
TCP HTTP
Request
Ethernet IP
TCP HTTP
Request
Physical Layer
Physical Layer
http://en.wikipedia.org/wiki/Internet_Protocol_Suite
Another Internet Model Instantiations of the TCP/IP stack operating on two hosts each connected to its router on the Internet. Shown is the flow of user data through the layers used at each hop.
http://en.wikipedia.org/wiki/Internet_Protocol_Suite
Internet Protocol Suite Application Layer BGP DHCP DNS FTP HTTP IMAP IRC LDAP MGCP NNTP NTP POP RIP RPC RTP SIP SMTP SNMP SOCKS SSH Telnet TLS/SSL XMPP (more) Transport Layer
TCP UDP DCCP SCTP RSVP ECN (more) Internet Layer IP (IPv4, IPv6) ICMP ICMPv6 IGMP IPsec (more) Link Layer ARP/InARP NDP OSPF Tunnels (L2TP) PPP Media Access Control (Ethernet, DSL, ISDN, FDDI) (more)
http://en.wikipedia.org/wiki/Internet_Protocol_Suite
RFC 1122 [7] Tanenbaum Cisco Academy[8] Kurose[9] Forouzan [10] Comer[11] Kozierok[12] Stallings[13] Arpanet Reference Model 1982 (RFC 871)
Five layers
"Five-layer Internet model" or "TCP/IP protocol suite" Application
Four+one layers
"TCP/IP 5layer reference model"
Five layers
Three layers
"Internet model"[citation
needed]
"Internet model"
"TCP/IP model"
Application
[14][17]
Application
Application
Application
Application/Pr ocess
Host-to-host
Network interface
*TCP/IP
Application Presentation Session TELNET FTP SMTP DNS SNMP RIP RTP RTCP IGMP Network Internet Protocol Transmission Control Protocol User Datagram Protocol OSPF ICMP DHCP
Transport
ARP
Data link Physical
Ethernet
Token Bus
Token Ring
FDDI
Internetworking
Interconnected networks, usually
implies TCP/IP Can appear to users as a single large network The global Internet is the largest example, but intranets and extranets are also examples
Internetworking
Routing Addressing
IP Packet version
IP4
1
1 2 3 4 5 6 7 8
7
4 bits 4 bits 8 bits 16 bits 16 bits 3 bits 13 bits 8 bits
8
9 10 11 12 13 14 15 16
10
11
12
13
14
8 bits 16 bits 32 bits 32 bits varies varies 24 bits 8 bits
Version number Header length Type of Service Total length Identifiers Flags Packet offset Hop limit IP6 1 15 4 16 8
Protocol CRC 16 Source address Destination Address Options User data Flow name Next header
11 (128 bits)
12 (128 bits)
14
IPv4 Header
Version (4 bits) Internet header length
(4 bits) Type of Service (8 bits) Total Length (16 bits) Identification (16 bits) Flags (3 bits Fragment Offset (13 bits)
bits) Source Address ( 32 bits) Destination Address (32 bits) Options (variable) Padding (variable)