+ All Categories
Home > Documents > Lecture 1 Internet

Lecture 1 Internet

Date post: 05-Jan-2016
Category:
Upload: mayes
View: 29 times
Download: 0 times
Share this document with a friend
Description:
Lecture 1 Internet. CPE 401 / 601 Computer Network Systems. slides are modified from Dave Hollinger and Daniel Zappala. Network. “ ... communication system for connecting end-systems” End-systems a.k.a. “hosts” PCs, workstations dedicated computers network components. - PowerPoint PPT Presentation
Popular Tags:
30
Lecture 1 Internet CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger and Daniel Zappala
Transcript
Page 1: Lecture 1 Internet

Lecture 1

Internet

CPE 401 / 601Computer Network Systems

slides are modified from Dave Hollinger and Daniel Zappala

Page 2: Lecture 1 Internet

Network

“ ... communication system for connecting end-systems”

End-systems a.k.a. “hosts”PCs, workstationsdedicated computersnetwork components

Internet 2

Page 3: Lecture 1 Internet

Multiaccess vs. Point-to-point Multiaccess means shared medium.

many end-systems share the same physical communication resources (wire, frequency, ...)

There must be some arbitration mechanism.

Point-to-point only 2 systems involved no doubt about where data came from !

Internet 3

Page 4: Lecture 1 Internet

LAN - Local Area Network

connects computers that are physically close together ( < 1 mile). high speed multi-access

Technologies: Ethernet 10 Mbps, 100Mbps Token Ring 16 Mbps FDDI 100 Mbps

Internet 4

Page 5: Lecture 1 Internet

WAN - Wide Area Network

connects computers that are physically far apart. “long-haul network”. typically slower than a LAN. typically less reliable than a LAN. point-to-point

Technologies: telephone lines Satellite communications

Internet 5

Page 6: Lecture 1 Internet

MAN - Metropolitan Area Network

Larger than a LAN and smaller than a WAN- example: campus-wide network- multi-access network

Technologies: coaxial cable microwave

Internet 6

Page 7: Lecture 1 Internet

Internetwork Connection of 2 or more distinct (possibly

dissimilar) networks. Requires some kind of network device to

facilitate the connection.

Net A Net B

Internet 7

Page 8: Lecture 1 Internet

The Internet millions of

connected computing devices: hosts = end systems running network

apps

communication links fiber, copper, radio,

satellite

routers: forward packets (chunks of data)

Internet 8

Home network

Institutional network

Mobile network

Global ISP

Regional ISP

router

PC

server

wirelesslaptop

cellular handheld

wiredlinks

access points

Page 9: Lecture 1 Internet

The Internet

Internet 9Internet Mapping Project, Bill Cheswick

Page 10: Lecture 1 Internet

A Network of Networks roughly hierarchical

Tier-1 ISPs provide national, international coverage

Tier-2 ISPs provide regional coverage

Tier-3 and lower levels provide local coverage

any tier may sell to business and residential customers

any ISP may have a link to any other ISP (not strictly hierarchical)

Internet 10

Page 11: Lecture 1 Internet

Internet 11

Page 12: Lecture 1 Internet

Many Different Internet Service Providers Each network is

independent

Interoperability requires using Internet standards: IP, TCP the Internet is global and

must run these standards your private intranet can do

whatever you want it to do

Internet 12

Page 13: Lecture 1 Internet

Internet Design Goals primary goal: interoperability among existing

networks a network of networks obey administrative boundaries

secondary goals fault tolerance multiple transport protocols support a variety of networks distributed management cost effective, low effort for host attachment,

accountability

first three were more important, so remaining four did not receive as much attention

no mention of security Internet 13

Page 14: Lecture 1 Internet

Internet Design Principles minimal assumptions about services

network should support ability to send packets no reliability or security

end-to-end principle keep the core of the network as simple as

possible, put complex functionality at the edges exception: significant performance

improvement

Internet 14

Page 15: Lecture 1 Internet

Network Models

Using a formal model allows us to deal with various aspects of Networks abstractly.

We will look at a popular model (OSI reference model).

The OSI reference model is a layered model.

Internet 15

Page 16: Lecture 1 Internet

Layering

Divide a task into pieces and then solve each piece independently (or nearly so).

Establishing a well defined interface between layers makes porting easier.

Major Advantages: Code Reuse Extensibility

Internet 16

Page 17: Lecture 1 Internet

The Internet Hourglass

Internet 17

Page 18: Lecture 1 Internet

The Internet at each Hop

Internet 18

Page 19: Lecture 1 Internet

Interface protocols describe communication between layers on the same endpoint.

Peer-to-peer protocols describe communication between peers at the same layer.

Interface and Peer-to-peer Protocols

Process

Transport

Network

Data Link

Process

Transport

Network

Data Link

Interface Protocols

Peer-to-peer Protocols

Internet 19

Page 20: Lecture 1 Internet

What’s a protocol?human protocols: “what’s the time?” “I have a question” introductions

… specific msgs sent… specific actions

taken when msgs received, or other events

network protocols: machines rather

than humans all communication

activity in Internet governed by protocols

Internet 20

Page 21: Lecture 1 Internet

What’s a protocol?a human protocol and

a computer network protocol:

Internet 21

Q: Other human protocols?

Hi

Hi

Got thetime?

2:00

TCP connection request

TCP connectionresponseGet http://www.awl.com/kurose-ross

<file>time

Page 22: Lecture 1 Internet

Protocol An agreed upon convention for communication.

both endpoints need to understand the protocol.

Protocols must be formally defined and unambiguous!

Protocols define format, order of msgs sent and received among network

entities, actions taken on msg transmission, receipt

We will study lots of existing protocols and perhaps develop a few of our own.

Internet 22

Page 23: Lecture 1 Internet

Programs & Processes

A program is an executable file.

A process or task is an instance of a program that is being executed.

A single program can generate multiple processes.

Internet 23

Page 24: Lecture 1 Internet

Client - Server

A server is a process - not a machine !

A server waits for a request from a client.

A client is a process that sends a request to an existing server and (usually) waits for a reply.

Internet 24

Page 25: Lecture 1 Internet

Client - Server Examples

Server returns the time-of-day.

Server returns a document.

Server prints a file for client.

Server does a disk read or write.

Server records a transaction.

Internet 25

Page 26: Lecture 1 Internet

Servers

Servers are generally more complex (more interesting).

Basic types of servers: Iterative - server handles one client at a time. Concurrent - server handles many clients at a

time.

We will study the differences later.

Internet 26

Page 27: Lecture 1 Internet

Thought Exercise

Come up with an example of a layered system.

Describe the interface and peer-to-peer protocols for your example.

Internet 27

Page 28: Lecture 1 Internet

Layering Example: Federal Express Letter in envelope, address on outside FedX guy adds addressing information, barcode. Local office drives to airport and delivers to hub. Sent via airplane to nearest city. Delivered to right office Delivered to right person

Letter

LetterAddressed Envelope

Addressed Envelope

Internet 28

Page 29: Lecture 1 Internet

Layered Software Systems

Network software

Operating systems

Windowing systems

Internet 29

Page 30: Lecture 1 Internet

Unix is a Layered System

Applications

Libraries

System Calls

Kernel

Internet 30


Recommended