cs 350 chapter-6. a brief history of tcp/ip 1983 tcp/ip came to arpanet arpanet and milnet dissolved...

15
CS 350 Chapter-6

Upload: berniece-lane

Post on 24-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CS 350 Chapter-6. A brief history of TCP/IP 1983 TCP/IP came to ARPAnet ARPAnet and MILNET dissolved in 1990 BSD UNIX

CS 350Chapter-6

Page 2: CS 350 Chapter-6. A brief history of TCP/IP 1983 TCP/IP came to ARPAnet ARPAnet and MILNET dissolved in 1990 BSD UNIX

A brief history of TCP/IP

1983 TCP/IP came to ARPAnet

ARPAnet and MILNET dissolved in 1990

BSD UNIX

Page 3: CS 350 Chapter-6. A brief history of TCP/IP 1983 TCP/IP came to ARPAnet ARPAnet and MILNET dissolved in 1990 BSD UNIX

TCP/IP and the DoD Model

Process/Application

Host-to-Host

Internet

Network Access

Page 4: CS 350 Chapter-6. A brief history of TCP/IP 1983 TCP/IP came to ARPAnet ARPAnet and MILNET dissolved in 1990 BSD UNIX

The Application Layer Protocols

Telnet

File Transfer Protocol (FTP)

Secure File Transfer Protocol (SFTP)

Trivial File Transfer Protocol (TFTP)

Network File System (NFS)

Page 5: CS 350 Chapter-6. A brief history of TCP/IP 1983 TCP/IP came to ARPAnet ARPAnet and MILNET dissolved in 1990 BSD UNIX

The Application Layer Protocols

Simple Mail Transfer Protocol (SMTP)

Post Office Protocol (POP)

Internet Message Access Protocol, Version 4(IMAP4)

Transport Layer Security (TLS)

Session Initiation Protocol (SIP) (VOIP)

Real-time Transport Protocol (RTP) (VOIP)

Page 6: CS 350 Chapter-6. A brief history of TCP/IP 1983 TCP/IP came to ARPAnet ARPAnet and MILNET dissolved in 1990 BSD UNIX

The Application Layer Protocols

Line Printer Daemon (LPD) -- printer

Line Printer Remote(LPR) -- client

X Window

Simple Network Management Protocol (SNMP)

Secure Shell (SSH)

Hyper Transfer Protocol (HTTP)

Hyper Transfer Protocol Secure (HTTPS)

Page 7: CS 350 Chapter-6. A brief history of TCP/IP 1983 TCP/IP came to ARPAnet ARPAnet and MILNET dissolved in 1990 BSD UNIX

The Application Layer Protocols

Network Time Protocol (NTP)

Network News Transfer Protocol (NNTP)

Secure Copy Protocol (SCP)

Lightweight Directory Access Protocol (LDAP)

Internet Group Management Protocol (IGMP)

Domain Name Service (DNS)

Dynamic Host Configuration Protocol (DHCP)

Page 8: CS 350 Chapter-6. A brief history of TCP/IP 1983 TCP/IP came to ARPAnet ARPAnet and MILNET dissolved in 1990 BSD UNIX

The Host-to-Host Layer Protocols

Transmission Control Protocol (TCP)

Source port (16 bits) Destination Port (16 bits)

Sequence number (32)

Acknowledge number (32)

Header length(

4)

Reserved (6)

Code Bits (6)

Window (16)

Checksum (16) Urgent (16)

Options (0 or 32 if any)

Data (varies)

Page 9: CS 350 Chapter-6. A brief history of TCP/IP 1983 TCP/IP came to ARPAnet ARPAnet and MILNET dissolved in 1990 BSD UNIX

The Host-to-Host Layer Protocols

User Datagram Protocol (UDP)

Source port (16 bits) Destination Port (16 bits)

Length (16) Checksum(16)

Data (if any)

Page 10: CS 350 Chapter-6. A brief history of TCP/IP 1983 TCP/IP came to ARPAnet ARPAnet and MILNET dissolved in 1990 BSD UNIX

The Host-to-Host Layer ProtocolsTCP UDP

Sequenced Unsequenced

Reliable Unreliable

Connection-oriented Connectionless

Virtual circuit No virtual circuit

High overhead Low overhead

Acknowledgements No acknowledgements

Windowing flow control No Windowing or flow control

Page 11: CS 350 Chapter-6. A brief history of TCP/IP 1983 TCP/IP came to ARPAnet ARPAnet and MILNET dissolved in 1990 BSD UNIX

Port Number

TCP UDP

Telnet 23 SNMP 161

SMTP 25 TFTP 69

HTTP 80 DNS 53

FTP 20, 21 BOOTPS/DHCP 67

DNS 53

HTTPS 443

SSH 22

Page 12: CS 350 Chapter-6. A brief history of TCP/IP 1983 TCP/IP came to ARPAnet ARPAnet and MILNET dissolved in 1990 BSD UNIX

The Internet Layer Protocols

Internet Protocol (IP)

Version(4)

Header Length

(4)

Priority and Type of Service(8)

Total Length(16 bits)

Identification (16) Flags(3)

Fragment offset (13)

Time to Live (8) Protocol (8) Header Checksum (16)

Source IP Address (32)

Destination IP Address (32)

Options (0 or 32 if any)

Data (varies if any)

Page 13: CS 350 Chapter-6. A brief history of TCP/IP 1983 TCP/IP came to ARPAnet ARPAnet and MILNET dissolved in 1990 BSD UNIX

Internet Control Message Protocol

(ICMP)CharacteristicsProvide hosts with network problem information

Encapsulated in IP datagrams

ICMP messagesDestination Unreachable

Buffer full

Hops – reach hop number

Ping – check connectivity

Traceroute – discover the path

Page 14: CS 350 Chapter-6. A brief history of TCP/IP 1983 TCP/IP came to ARPAnet ARPAnet and MILNET dissolved in 1990 BSD UNIX

ARP and RARP

Page 15: CS 350 Chapter-6. A brief history of TCP/IP 1983 TCP/IP came to ARPAnet ARPAnet and MILNET dissolved in 1990 BSD UNIX

Data Encapsulation

Data transmission

Address in layers