The Network Layer Computer Communication Course Computer - - PDF document

the network layer
SMART_READER_LITE
LIVE PREVIEW

The Network Layer Computer Communication Course Computer - - PDF document

The Network Layer Computer Communication Course Computer Communication Course 15 February, 2001 1 Why do We Need Network Layer?


slide-1
SLIDE 1

1

15 February, 2001 1

The Network Layer

Computer Communication Course Computer Communication Course

2 15 February, 2001 The Computer Communications Course

Why do We Need Network Layer?

slide-2
SLIDE 2

2

3 15 February, 2001 The Computer Communications Course

Interconnection through Switching Elements

  • 4

15 February, 2001 The Computer Communications Course

Hosts and the Subnet

Subnet Router LAN Host

slide-3
SLIDE 3

3

5 15 February, 2001 The Computer Communications Course

The Network Layer Functions

  • 6

15 February, 2001 The Computer Communications Course

The Network Layer: End to End Service

Transport Network Data Link Physical Transport Network Data Link Physical

slide-4
SLIDE 4

4

7 15 February, 2001 The Computer Communications Course

Network Layer Design Issues

✂ ✄✆☎ ✝ ✞ ✟ ✠ ✂ ✠☛✡ ☞
✌ ✍ ✎✑✏ ☞ ✒ ✠✓✡
✂ ✄✆☎ ✝ ✞ ✟ ✠ ✂ ✠☛✡ ☞
✌ ✍ ✎✑✏ ☞ ✒ ✠✓✡
✂ ✄✆☎ ✝ ✞ ✟ ✠ ✂ ✠☛✡ ☞
✌ ✍ ✎✑✏ ☞ ✒ ✠✓✡
✂ ✄✆☎ ✝ ✞ ✟ ✠ ✂ ✠☛✡ ☞
✌ ✍ ✎✑✏ ☞ ✒ ✠✓✡
✂ ✄✆☎ ✝ ✞ ✟ ✠ ✂ ✠☛✡ ☞
✌ ✍ ✎✑✏ ☞ ✒ ✠✓✡
✂ ✄✆☎ ✝ ✞ ✟ ✠ ✂ ✠☛✡ ☞
✌ ✍ ✎✑✏ ☞ ✒ ✠✓✡
✂ ✄✆☎ ✝ ✞ ✟ ✠ ✂ ✠☛✡ ☞
✌ ✍ ✎✑✏ ☞ ✒ ✠✓✡
✂ ✄✆☎ ✝ ✞ ✟ ✠ ✂ ✠☛✡ ☞
✌ ✍ ✎✑✏ ☞ ✒ ✠✓✡ ✠ ✌ ✌ ✡ ☞ ✒ ✠ ✂ ☞ ☎
✝ ✠
✌ ☎ ✝ ✂
✂ ✄✆☎ ✝ ✞ ✟ ✠ ✂ ✠☛✡ ☞
✌ ✍ ✎✑✏ ☞ ✒ ✠✓✡ ✠ ✌ ✌ ✡ ☞ ✒ ✠ ✂ ☞ ☎
✝ ✠
✌ ☎ ✝ ✂
✂ ✄✆☎ ✝ ✞ ✟ ✠ ✂ ✠☛✡ ☞
✌ ✍ ✎✑✏ ☞ ✒ ✠✓✡
  • 8

15 February, 2001 The Computer Communications Course

The Network Layer Service Paradigms

slide-5
SLIDE 5

5

9 15 February, 2001 The Computer Communications Course

The Network Layer Service Paradigms

  • 10

15 February, 2001 The Computer Communications Course

Subnet Structure: Virtual Circuits

slide-6
SLIDE 6

6

11 15 February, 2001 The Computer Communications Course

Virtual Circuits: Signaling Protocols

  • 12

15 February, 2001 The Computer Communications Course

Routing in VC Subnets

  • The routing table of each intermediate node is a translation table

from the pair (Linein, VCin) to (Lineout, VCout)

  • When a packet arrives, the node puts VCout in the packet’s VC

field, and send the packet on the designated output line

slide-7
SLIDE 7

7

13 15 February, 2001 The Computer Communications Course

Routing Tables in VC Subnets

A B C D I B 1 C 1 A 1 C 2 A 2 D 1 A B C D I B 1 C 1 A 1 C 2 A 2 D 1

14 15 February, 2001 The Computer Communications Course

Some VC Design Issues

  • Choosing connection number

each router chooses VC numbers independently

ambiguities should be avoided

  • When should VCs be released?

Each process is required to indicate when it stops using VC

In public networks VC release is enforced by charging for the connect time

  • How should the VC setup packet be routed?

Use the datagram routing tables (see next slides)

slide-8
SLIDE 8

8

15 15 February, 2001 The Computer Communications Course

Choosing Connection Numbers for Full-Duplex Communication (III)

A B C D D 2 => B 1 B 1 => D 2 B 1 = > ??? 1 1 X Y C 3 => A 1 A 1 => C 3 A 1 => ??? 2 3

16 15 February, 2001 The Computer Communications Course

Choosing Connection Numbers for Full-Duplex Communication (II)

A B C D 3 2 X Y D 2 => B 1 B 1 => D 2 C 3 => A 1 A 1 => C 3 1 1

slide-9
SLIDE 9

9

17 15 February, 2001 The Computer Communications Course

Choosing Connection Numbers for Full-Duplex Communication (III)

A B C D D 2 => B 1 B 1 => D 2 B 1 = > ??? 1 1 X Y C 3 => A 1 A 1 => C 3 A 1 => ??? 2 3

18 15 February, 2001 The Computer Communications Course

Subnet Structure: Datagram Subnets

slide-10
SLIDE 10

10

19 15 February, 2001 The Computer Communications Course

Datagram Networks: the Internet Model

  • 20

15 February, 2001 The Computer Communications Course

C A B D E B B C E D B E E A A C E D D E E A E B B C E E E

Routing Tables in Datagram Subnets

slide-11
SLIDE 11

11

21 15 February, 2001 The Computer Communications Course

Datagram Subnets Design Issues

  • 22

15 February, 2001 The Computer Communications Course

VC vs Datagram

VC subnet Datagram subnet Initial Setup Required None Addressing During Setup (parsing) Short VC # on each packet On each packet State information One per VC none Routing Route is chosen at setup. All packets follow this route Each packet is routed independently Effects of Router failure All VCs passing through this router are terminated None Congestion control Simple: allocate enough buffers at setup Difficult

slide-12
SLIDE 12

12

23 15 February, 2001 The Computer Communications Course

Routing State vs. Bandwidth

  • 24

15 February, 2001 The Computer Communications Course

Service X Subnet Structure

Upper layer Type of Subnet UDP over IP UDP over IP over ATM TCP over IP ATM AAL1 over ATM

Connectionless Connection-oriented Datagram Virtual Circuit