• No results found

Lecture 28: Internet Protocols

N/A
N/A
Protected

Academic year: 2021

Share "Lecture 28: Internet Protocols"

Copied!
44
0
0

Loading.... (view fulltext now)

Full text

(1)

Lecture 28: Internet Protocols

15-110 Principles of Computing, Spring 2016

(2)

Reminder: Exam 2

Exam 2 will take place next Monday, on April 4.

Further details will be provided in next class.

(3)

This unit

Internet fundamentals

• Computer networks

• Important ideas:

• Abstraction and protocols

• Connection-oriented vs connectionless

• Current issues: network neutrality

Internet protocols

(4)

This unit

Internet fundamentals

• Computer networks

• Important ideas:

• Abstraction and protocols

• Connection-oriented vs connectionless

• Current issues: network neutrality

Internet protocols

• IP, TCP, UDP, domain names, world wide web

Internet security

• encryption

3

(5)

This unit

Internet fundamentals

Internet protocols

• Internet networking architecture (TCP/IP model)

• Layer-specific protocols of TCP/IP model:

• Network/Internet: IP

• Transport: TCP and UDP

• Application:

• Client-server: HTTP, DNS

(6)

Recap

(7)
(8)

Recap: abstraction for networking software

6

physical medium layer 1

computer 1

[A. S. Tanenbaum. Computer Networks. 5th Edition.]

(9)
(10)

Recap: abstraction for networking software

7

physical medium layer 1

computer 1

[A. S. Tanenbaum. Computer Networks. 5th Edition.]

(11)

Recap: abstraction for networking software

computer 1 layer 2 layer 3 layer 4 computer 2 layer 2 layer 3 layer 4 interface interface interface layer 3 carries out a conversation

(12)

Recap: abstraction for networking software

7

physical medium layer 1

computer 1

[A. S. Tanenbaum. Computer Networks. 5th Edition.]

layer 2 layer 3 layer 4 layer 1 computer 2 layer 2 layer 3 layer 4 interface interface interface layer 3 carries out a conversation

with peer layer 3

protocol protocol

protocol

protocol

the rules are governed by implemented

(13)
(14)

Recap: abstraction for networking software

8

physical medium layer 1

computer 1

[A. S. Tanenbaum. Computer Networks. 5th Edition.]

(15)
(16)

Recap: abstraction for networking software

8

physical medium layer 1

computer 1

[A. S. Tanenbaum. Computer Networks. 5th Edition.]

(17)

Recap: service offered by layer: two kinds

Connection-oriented (circuit switching)

• Connection is established, used, and then released.

• Like a tube where sender pushes objects in at one end and receiver takes them out.

• Real-world example: telephone system

Connectionless (packet switching)

(18)

Internet networking architecture:

TCP/IP model

(19)

A model networking architecture

Application Transport

Network

sending of finite-length messages between routing of messages within entire network, congestion handling (e.g., IP)

source-to-destination communication (e.g., TCP, UDP)

programs that make use of internet (e.g., HTTP, SMTP, DNS)

(20)

A model networking architecture

11

[A. S. Tanenbaum. Computer Networks. 5th Edition.]

Application Transport

Network Link

Physical transmission of bits as signals across different physical media

sending of finite-length messages between directly connected computers

routing of messages within entire network, congestion handling (e.g., IP)

source-to-destination communication (e.g., TCP, UDP)

programs that make use of internet (e.g., HTTP, SMTP, DNS)

Tasks:

(21)

A model networking architecture

Application Transport

Network

sending of finite-length messages between routing of messages within entire network, congestion handling (e.g., IP)

source-to-destination communication (e.g., TCP, UDP)

programs that make use of internet (e.g., HTTP, SMTP, DNS)

Tasks:

textbook networking architecture

(22)

Other networking architectures

12

[A. S. Tanenbaum. Computer Networks. 5th Edition.]

Network Data Link Physical Transport Session Presentation Application ISO OSI

(23)

Other networking architectures

Network Transport Session Presentation Application ISO OSI

(Open Systems Interconnection)

(24)

Other networking architectures

12

[A. S. Tanenbaum. Computer Networks. 5th Edition.]

Network Data Link Physical Transport Session Presentation Application ISO OSI

(Open Systems Interconnection)

model developed by ISO to serve as reference for networking architectures

separate standards for layer-specific protocols available, but not used in

(25)

Other networking architectures

Network Transport Session Presentation Application ISO OSI

(Open Systems Interconnection)

model developed by ISO to serve as reference for networking architectures

separate standards for layer-specific protocols available, but not used in

(26)

Other networking architectures

13

[A. S. Tanenbaum. Computer Networks. 5th Edition.]

Network Data Link Physical Transport Session Presentation Application ISO OSI

(27)

Other networking architectures

Network Transport Session Presentation Application ISO OSI

(Open Systems Interconnection)

Internet Transport Application

(28)

Other networking architectures

13

[A. S. Tanenbaum. Computer Networks. 5th Edition.]

Network Data Link Physical Transport Session Presentation Application ISO OSI

(Open Systems Interconnection)

Internet Link Transport Application TCP/IP model architecture of the

(29)

Other networking architectures

Network Transport Session Presentation Application ISO OSI

(Open Systems Interconnection)

Internet Transport Application

TCP/IP model

architecture of the

internet, named after its two primary protocols

protocols were developed first, then model as a description of

(30)

Other networking architectures

14

[A. S. Tanenbaum. Computer Networks. 5th Edition.]

Network Data Link Physical Transport Session Presentation Application ISO OSI

(Open Systems Interconnection)

Internet Link

Transport Application

(31)

Other networking architectures

Network Transport Session Presentation Application ISO OSI

(Open Systems Interconnection)

(32)

Other networking architectures

14

[A. S. Tanenbaum. Computer Networks. 5th Edition.]

Network Data Link Physical Transport Session Presentation Application ISO OSI

(Open Systems Interconnection)

Internet Link Transport Application TCP/IP model Network Link Physical Transport Application “textbook” architecture

OSI model without

(33)

Other networking architectures

Network Transport Session Presentation Application ISO OSI

(Open Systems Interconnection)

(34)

TCP/IP model

15

[A. S. Tanenbaum. Computer Networks. 5th Edition.]

Internet Link

Transport Application

TCP/IP model Protocols:

HTTP, DNS, SMTP, RTP, POP, IMAP, FTP, and many more (see Wikipedia)

TCP, UDP, and many more (see Wikipedia) IP, ICP, and many more (see Wikipedia)

(35)

TCP/IP model

Internet Transport Application

TCP/IP model Protocols:

HTTP, DNS, SMTP, RTP, POP, IMAP, FTP, and many more (see Wikipedia)

(36)

Protocols of TCP/IP model

(37)

Internet Layer: IP (Internet Protocol)

Transports fixed-length

packages

from source to

destination.

Abstracts network boundaries: delivery irregardless of

whether machines are on same network or whether there

are other networks in between.

(38)

IP addresses

Network address of a host or router on the internet, used

in source and destination address fields in IP packets.

An IP address refers to the network interface, not the

physical machine. E.g., a router has an IP address for

each network it is part of.

IP addresses are hierarchical, with a network portion and

a host portion. Network portion is the same for all hosts

on a single network.

Hierarchical routing allows routers to ignore host part,

resulting in smaller routing tables.

(39)

IP addresses

Originally, IP addresses were 32-bit long. They are

defined by the IP Version 4 (IPv4) protocol.

IPv4 limits the address space to roughly 4.3 billions.

To prevent expected address exhaustion, IPv6 has been

developed.

(40)

Transport layer

Transport

data

from process on source machine to

process on destination machine.

Provides abstraction that applications need to use the

network. Assigns port number to application.

Splits up application data into packages.

Note: transport-layer software runs entirely on user’s

machine, network-layer software runs on routers too.

(41)

Transport layer protocols: TCP vs UDP

TCP (Transmission Control Protocol)

• connection-oriented protocol

• reliable, end-to-end byte stream over unreliable network

• predominantly used

UDP (User Datagram Protocol)

• connection-less protocol

(42)

Application layer

Actual internet applications and supporting protocols

Client-server

architecture (predominant)

• distinguishes provider (server) of a shared resource from its clients

• clients send requests to server, server responds with service

• Examples: HTTP, DNS

Peer-to-peer

architecture

• many computers pool their resources to form a content distribution system

• computers are peers because they both act as clients and servers

• Examples: BitTorrent, Skype, Bitcoin

(43)

Application layer protocols: HTTP and DNS

HTTP (HyperText Transfer Protocol)

• Defines interaction between web client application (e.g., Firefox, Safari) and web server application (e.g., Apache).

• Agreement on how to ask for a web page, on how to send data entered into a form, on how to report errors, etc.

DNS (Domain Name System)

(44)

This unit

Internet fundamentals

Internet protocols

• Internet networking architecture (TCP/IP model)

• Layer-specific protocols of TCP/IP model:

• Network/Internet: IP

• Transport: TCP and UDP

• Application:

• Client-server: HTTP, DNS

• Peer-to-peer: BitTorrent, Skype, Bitcoin

Internet security

24

References

Related documents

Internet Protocol Stack application transport network link © 2005–2007 Antonio Carzaniga.. Internet Protocol Stack application transport network

[r]

Network Link Transport Application Presentation Session Transport Network Link Physical.. The 7-layer OSI Model The

With these gaps in the extant literature in mind, the present study seeks to empirically examine the effect of key account management orientation (KAMO) on the

As an example of non-state actors in early modern diplomatic history, this article focuses on the well-documented encounters between embassies from Chosŏn Korea and their Japanese

For large speed ratio and large sprocket utilized it is recommended cast_______ material since the large sprocket teeth are having fewer engagement.. Roller bearing

In FY14, Kennedy-King surpassed its transitions to college credit target by 39%, with 127 students transitioning from adult education to credit courses.. Kennedy-King Success

Moreover, meander wavelength reconstruction from the Street Shops (Fiema 1998) indicates that the floodwater velocity exiting Wadi Mataha would have trebled again to