Top Banner
Feb. 4., 2002. Kåre J. K ristoffersen Networks and Protocols - Intr oduction 1 Networks and Protocols - What is really going on when we send emails and surf the web?
38

Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Dec 11, 2015

Download

Documents

Xander Bales
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 1

Networks and Protocols

- What is really going on when we send emails and surf the web?

Page 2: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 2

The Book:

Computer Networking

A Top-Down Approach Featuring the Internet,

by James F. Kurose og Keith W. Ross, Addison-Wesley Longman, Inc., se http://www.awl.com/kurose-ross/

Kan købes på IT-Højskolen d. 6. – 7. Feb 2002 i lokale 1.05 fra 11.00 til 15.00. Pris: Kr. 645,-

Page 3: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 3

Excercises and Instructors

Rooms: 3.15 and 3.16, Glentevej 67.

Monday Afternoon (13:00 – 15:30):

Anders Ejlev, ([email protected])

Monday Evening (19:00 – 21:30):

Sune Kloppenborg Jeppesen, ([email protected])

Page 4: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 4

Examination – June 2002

20 min individual oral examn without preparation, judged using the, Dansih 13-scale, external censor. It is allowed to bring a disposition (one sheet of A4 paper for each question) The book will be available at the exam.

Page 5: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 5

Outline feb 4. 20021. What is the internet?2. What is a Protocol?3. Connection-Oriented service.4. Connectionless service.5. Multiplexing.6. Message switching (demo).7. Packet switching (demo).8. Routing.9. Access Networks.10. Delay and Packet loss i a network.11. Protocol Layering.12. Course overview.

Page 6: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 6

Some Internet Applications

•Email

•Streaming multimedia

•www

•File transfer

•Internet telephony

Page 7: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 7

Some pieces of the Internet

Page 8: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 8

A service description

The Internet:

• Allows distributed applications running on it’s end systems to exchange data with each other.

• Provides a connection-oriented and a connectionless service.

• Makes no promises about time of delivery.

Page 9: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 9

What is a protocol?

A human protocol and a computer network protocol.

Page 10: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 10

Definition (protocol):

A protocol defines the format and the order of messages exchanged between two or more communicating entities, as well as the actions taken on the transmission and/or receipt of a message or other event.

Page 11: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 11

End systems, Clients and Servers

Page 12: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 12

Connection-Oriented Service

1. Initial handshake.

2. Reliable data transfer, using acknowledgements.

3. Flow Control.

4. Congestion Control.

Note: The Transmission Control Protocol (TCP) implements a connection-oriented service.

Used by: Email, www, FTP, Telnet.

Page 13: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 13

Connectionless Service

1. No Initial handshake.

2. Unreliable data transfer.

3. No Flow Control.

4. No Congestion Control.

Used by: audio on demand, intertenet telephony, …

Note: The User Datagram Protocol (UDP) implements a connectionless service.

Page 14: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 14

The Network Core

Page 15: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 15

How to share a communication link?

1. In Curcuit switching (e.g. ordinary telephone) a curcuit is reserved for the duration of the session.

2. In Packet switching (e.g. internet) the ressource is used on demand.

Note: Sharing is called Multiplexing.

Page 16: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 16

Multiplexing (FDM)

Frequency-division multiplexing (FDM):

Each Connection gets 4 KHz of the total frequency spectrum.

Page 17: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 17

Multiplexing (TDM)

Time-division Multiplexing: Each connection get one slot in each Frame.

Frame

Page 18: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 18

Multiplexing for Packetswitching.

Page 19: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 19

Message Switching

Page 20: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 20

Packet switching

Page 21: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 21

Example: Message Switching

Page 22: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 22

Example: Packet Switching

Page 23: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 23

Demo: Packet Switching

Run the JAVA Applet on:

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

Page 24: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 24

Break

• Table Tennis

• Table soccer

Page 25: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 25

Routing: Virtual Curcuit Networks

Incoming Interface Incoming VC# Outgoing Interface Outgoing VC#

1 12 3 22

2 63 1 18

3 7 2 17

1 97 3 87

… … … …

VC number translation table for PS1:

Page 26: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 26

Routing: Datagram Networks

Tom Jones (name)

Walnut Street 421 (street)

Philadelphia (city)

Pennsylvania (state)

USA (country)

Using: Hierarchical adresse, e.g:

Page 27: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 27

Access Networks and Physical Media

•Residental access networks

•Institutional access networks

•Mobile access networks

Page 28: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 28

Residental Access Networks

• Modem (telephone line, e.g. 56 kbps)

• ISDN, 128 kbps

• ADSL, up to 8Mbps using frequency Multiplexing

- A high speed downstream channel 50 kHz – 1 MHz

- A medium-speed upstream channel 4 kHz – 50 kHz

- Ordinary telephone 0 – 4 kHz.

Page 29: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 29

HFC: Hybrid Fiber coaxial cable

Note: Cable modem needed!

Note: HFC is a shared broadcast medium.

Page 30: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 30

Company Access Networks

A Local Area Network (LAN) is used to connect end systems to an edge router.

Ethernet: A shared medium using twisted-pair copper wire or coaxial cable.

Page 31: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 31

Mobile Access

AP = Access Point.

Page 32: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 32

Delay and packet-loss

Delay through router A:

- nodal processing delay+

- Queuing delay +

- Transmission delay+

- Propagation delay

Page 33: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 33

Traffic intensityPacket size: L bits

Transmission Rate: R bits/second

Average packet arrival: a packets / second

Traffic intensity: La/R

Hopefully: Traffic intensity < 1

If Traffic Intensity > 1 then queue will overflow and packets are lost.

Page 34: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 34

Average Queuing Delay

(Traffic Intensity)

Page 35: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 35

Protocol Layering

PDU = Protocol Data Unit.

Page 36: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 36

Internet Protocol stack

Page 37: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 37

Moving data in a network

Page 38: Feb. 4., 2002. Kåre J. KristoffersenNetworks and Protocols - Introduction1 Networks and Protocols - What is really going on when we send emails and surf.

Feb. 4., 2002. Kåre J. Kristoffersen Networks and Protocols - Introduction 38

Course overview• Introduction (today)

•Application Layer

• Transport Layer

• Network Layer

• Link Layer + Physical Layer

• Multimedia Networking

• Security – Encryption

•Network Management