Docsity

The Network Layer - Computer Networks - Lecture Slides, Slides of Computer Networks

Partial preview of the text

Download The Network Layer - Computer Networks - Lecture Slides and more Slides Computer Networks in PDF only on Docsity!

Computer Networking

Technology I

The Network Layer

The Network Layer

So, the transport layer provides process to process communication

The network layer is expected to provide host to host communication

Cool.

Um, how?

The Network Layer

Recall the network layer is expected to Receive segments from the transport layer Encapsulate them into datagrams (how much does data weigh?) And pass them through the network

The job of most routers is to look at the network header information, and determine which link to pass the datagram The application and transport layer information are invisible and irrelevant to routers

The Network Layer

A router has a forwarding table which tells which link to take,

based on the header’s destination address

The forwarding table is written based on output from a routing

algorithm

Routing algorithms may be centrally controlled and then downloaded to each router; or each router may follow their own algorithm

Network Service Model

What services could we expect from a network layer? Guaranteed delivery of all packets Delivery within a specified time (bounded delay) Delivery of packets in order Guaranteed minimal bandwidth Guaranteed maximum jitter (delay variation) Security services Would be nice, huh?

Network Service Model

What do we get from the Internet? Best-effort service Meaning, none of the above!!

Some VC networks, such as ATM, can provide many of the ideal services (see p. 322) Constant Bit Rate (CBR) and Available Bit Rate (ABR) are types of ATM service

Virtual Circuit Networks

A VC Network needs to have

A path from source to destination VC numbers, one per link along the path Entries in the forwarding table in each router along the path

Each packet carries a VC number which changes as it goes along

each link in the VC

This keeps from having to store and coordinate VC numbers across routers

Virtual Circuit Networks

Each router has to know the VC numbers for incoming and outgoing links Incoming Link # Incoming VC# and Outgoing Link # Outgoing VC # Each foursome of in/out link and VC numbers corresponds to how one VC is handled in that router; so each VC being created adds one line of data (which is later removed)

Virtual Circuit Networks

Data transfer is the intended purpose

of the

VC connection

VC teardown is when sender or receiver

tells the VC it wants to end the

connection; then the forwarding tables

Virtual Circuit Networks

The messages to set up and tear

down a

VC are signaling messages , which

have their own protocols, e.g. ATM’s

Q.

No, we’re not going to dissect them Docsity.com

Datagram Networks

Each router between hosts uses the

address to forward the packet using a

forwarding table

If our addresses had 32 bits, there

could be 4,294,967,296 entries in that

table! Docsity.com

Datagram Networks

Fortunately, we don’t need to look at

ALL of the address to determine its

correct link (a key observation!)

Instead, match the address’ prefix with

forwarding table entries

Use the longest prefix matching rule

Datagram Networks

So even though there is no

connection data, routers in datagram

networks need to maintain the

forwarding tables

The routing algorithm typically updates

them every 1-5 minutes Docsity.com

More History

The VC network came about because of

its similarity to telephone networks

But the Internet was connecting complex

computers, so the datagram network was

created because the computers could

handle more complex operations than the