• No results found

CS 455/555 Intro to Networks and Communications. The Network Layer

N/A
N/A
Protected

Academic year: 2022

Share "CS 455/555 Intro to Networks and Communications. The Network Layer"

Copied!
13
0
0

Loading.... (view fulltext now)

Full text

(1)

1

CS 455/555

Intro to Networks and Communications

The Network Layer

Dr. Michele Weigle

Department of Computer Science Old Dominion University

[email protected]

http://www.cs.odu.edu/~mweigle/CS455-S13/

The Network Layer: Routing & Addressing

Outline

 

Network layer functions

 

Virtual circuits and datagram networks

 

Router architecture

 

IP Internet Protocol

»  Addressing

 

Routing algorithms

»  Least cost path computation algorithms

 

Hierarchical routing

»  Connecting networks of networks

 

Routing on the Internet

»  Intra-domain routing

»  Inter-domain routing

application transport

network link physical network

application transport

network network

(2)

3

 

Application-layer protocols define when and how

messages are sent

The Network Layer

Network Layer Functions

application transport

network link physical network

application transport

network link physical network network

link physical network network

link physical network

network link physical network

network link physical

network network link physical network

network link physical network network

link physical network

network link physical network Logical

end-to-end transport

Physical end- to-end packet

delivery

 

Transport-layer protocols

deliver data between processes on different end-systems

»  Transport protocols execute only on end systems

 

Network-layer protocols deliver data from one end-system to another

»  Network layer protocols execute on every end-system and router

 

The network-layer provides two important functions:

»  Routing: the route taken by packets from source to destination (involves all routers)

»  Forwarding (aka Switching):

the movement of packets from an input interface to an appropriate output interface (involves a single router)

  Some architectures have a 3rd important function: connection setup

The Network Layer

Network Layer Functions

(3)

5

What types of services might be offered by the network layer?

The Network Layer

Network Service Model

Example services for individual datagrams:

»  guaranteed delivery

»  guaranteed delivery with bounded delay

Example services for a flow of datagrams:

»  in-order datagram delivery

»  guaranteed minimum bandwidth to flow

»  restrictions on changes in inter-packet spacing

»  security

Network Architecture Internet

ATM

ATM

Service Model best effort

CBR

ABR

Bandwidth none

constant rate

guaranteed minimum

Loss no

yes

no

Order no

yes

yes

Timing no

yes

no

Congestion feedback no (inferred via loss) no

congestion yes

Guarantees ?

The Network Layer

Network Layer Service Models

(4)

7

The Network Layer: Routing & Addressing

Outline

 

Network layer functions

 

Virtual circuits and datagram networks

 

Router architecture

 

IP Internet Protocol

»  Addressing

 

Routing algorithms

»  Least cost path computation algorithms

 

Hierarchical routing

»  Connecting networks of networks

 

Routing on the Internet

»  Intra-domain routing

»  Inter-domain routing

application transport

network link physical network

application transport

network link physical network

Virtual Circuits and Datagram Networks

Connection and Connection-less Service

 

Datagram network provides network-layer connectionless service

 

Virtual circuit (VC) network provides network- layer connection service

 

Analogous to the transport-layer services, but:

»  service: host-to-host

»  no choice: network provides either one or the other

»  implementation: in network core

(5)

9

Virtual Circuits and Datagram Networks

Virtual Circuits

 

Call setup, teardown for each call before data can flow

 

Each packet carries VC identifier (not destination host address)

 

Every router on source-dest path maintains "state" for each passing connection

 

Link, router resources (bandwidth, buffers) may be

allocated to VC (dedicated resources = predictable service)

"source-to-dest path behaves much like telephone circuit"

»  performance-wise

»  network actions along source-to-dest path

Virtual Circuits

Implementation

 

A VC consists of:

»  path from source to destination

»  VC numbers - one number for each link along path

»  entries in forwarding tables in routers along path

 

Packet belonging to VC carries VC number (rather than destination address)

 

VC number can be changed on each link

»  New VC number comes from forwarding table

(6)

11

12 22 32

1 2 3 VC number

interface #

Incoming interface Incoming VC # Outgoing interface Outgoing VC #

1 12 3 22

2 63 1 18

3 7 2 17

1 97 3 87

… … … …

Forwarding table in northwest router:

Routers maintain connection state information!

Virtual Circuits

Forwarding Table

Virtual Circuits

Signaling Protocols

 

Used to setup, maintain, and teardown VC

 

Used in ATM, frame-relay, X.25

 

Not used in today's Internet

application transport

network data link physical

application transport

network data link physical

1. Initiate call 2. incoming call

3. Accept call 4. Call connected

5. Data flow begins 6. Receive data

(7)

13

Virtual Circuits and Datagram Networks

Datagram Networks

 

No call setup at network layer

 

Routers: no state about end-to-end connections

»  no network-level concept of "connection"

 

Packets forwarded using destination host address

»  packets between same source-dest pair may take different paths

application transport

network data link physical

application transport

network data link physical

1. Send data 2. Receive data

Datagram Networks

Forwarding Table Example

Destination Address Range Link Interface 11001000 00010111 00010000 00000000

through 0 11001000 00010111 00010111 11111111

11001000 00010111 00011000 00000000

through 1 11001000 00010111 00011000 11111111

11001000 00010111 00011001 00000000

through 2 11001000 00010111 00011111 11111111

otherwise 3

4 billion possible entries

(8)

15

Datagram Networks

Longest Prefix Matching

Prefix Match Link Interface

11001000 00010111 00010 0

11001000 00010111 00011000 1

11001000 00010111 00011 2

otherwise 3

Destination Addr: 11001000 00010111 00011000 10101010 Examples

Destination Addr: 11001000 00010111 00010110 10100001 Which interface?

Which interface?

Datagram or VC network

Why?

Internet (datagram)

 

Data exchange among computers

»  "elastic" service, no strict timing req.

 

"Smart" end systems (computers)

»  can adapt, perform control, error recovery

»  simple inside network, complexity at "edge"

 

Many link types

»  different characteristics

»  uniform service difficult

ATM (VC)

 

Evolved from telephony

 

Human conversation:

»  strict timing, reliability requirements

»  need for guaranteed service

 

"Dumb" end systems

»  telephones

»  complexity inside network

(9)

17

The Network Layer: Routing & Addressing

Outline

 

Network layer functions

 

Virtual circuits and datagram networks

 

Router architecture

 

IP Internet Protocol

»  Addressing

 

Routing algorithms

»  Least cost path computation algorithms

 

Hierarchical routing

»  Connecting networks of networks

 

Routing on the Internet

»  Intra-domain routing

»  Inter-domain routing

application transport

network link physical network

application transport

network link physical network

Router Architecture

Overview

(10)

19

Router Architecture

Input Port Functions

Decentralized switching:

  Given datagram destination, lookup output port using forwarding table in input port memory (forwarding table copied to input port)

  Goal: complete input port processing at 'line speed'

»  Lookup should take less time than time to receive next packet at input port

  Queuing: if datagrams arrive faster than forwarding rate into switch fabric

Physical layer:

bit-level reception

Data link layer:

e.g., Ethernet see chapter 5

Router Architecture

Three Types of Switching Fabrics

(11)

21

Router Architecture

Output Ports

 

Buffering required when datagrams arrive from fabric faster than the transmission rate

 

Scheduling discipline chooses among queued datagrams for transmission

Output Ports

Queuing

 

Buffering occurs when arrival rate via switch exceeds output line speed

 

Queuing (delay) and loss due to output port buffer

(12)

23

Queuing

How much buffering?

 

RFC 3439 rule of thumb: average buffering equal to

"typical" RTT (say 250 ms) times link capacity C

»  e.g., C = 10 Gbps link: 2.5 Gbit buffer

 

Recent recommendation: with N flows, buffering equal to

RTT C .

N

Queuing

At the Input Port

 

Switching fabric slower than input ports combined

»  queuing may occur at input queues

 

Head-of-the-Line (HOL) blocking

»  queued datagram at front of queue prevents others in queue from moving forward

 

Queuing delay and loss due to input buffer overflow

(13)

25

The Network Layer: Routing & Addressing

Outline

 

Network layer functions

 

Virtual circuits and datagram networks

 

Router architecture

 

IP Internet Protocol

»  Addressing

 

Routing algorithms

»  Least cost path computation algorithms

 

Hierarchical routing

»  Connecting networks of networks

 

Routing on the Internet

»  Intra-domain routing

»  Inter-domain routing

application transport

network link physical network

application transport

network link physical network

References

Related documents

3013 AXLE ARRANGEMENT 3020 DRIVE & STEERING AXLE 3061 TRANSMISSION GEARS 3063 TRANSMISSION SHAFT 3064 TRANSMISSION CASE 3065 TRANSMISSION CONTROL 3066 TRANSMISSION OIL PUMP

Overall, the ROAD traffic light approach promotes transparency and provides the flexibility to adjust the monitoring plan based on data and modelling results becoming available as

Findings did not indicate a significant difference in the proportion of the variance in terrorist incidents that was predictable from political stability in the DRC and

Un elemento que sin duda va a repercutir sobre la posibilidad de que esta nueva planificación comunitaria arraigue y poder lograr así el objetivo de una ciudad más cohesiva

Job Description : The Wind Farm Project Manager position is a high level position; this position will oversee all aspects of the technical specialities of wind power

4. Some EDI files come from mainframe computer systems. Occasionally they are formatted into columns of 80 characters long. Extra carriage return and line feed characters break

Haider, “Adaptive Design of a Global Opacity Transfer Function for Direct Volume Rendering of Ultrasound Data,” Visualization Conference, IEEE, p.. Orderud, “A Framework for

happened, and as such was an act of self-definition. Du Fu’s poetics of historical memory refers to these transformations enacted in and through poems on the identities of place