lecture 15 internetworking: address structure fragmentation and reassembly

22
Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly

Upload: marvin-mathews

Post on 29-Jan-2016

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly

Lecture 15

Internetworking:

Address Structure

Fragmentation and Reassembly

Page 2: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly
Page 3: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly

Protocol layers across an internetwork

Page 4: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly

IP-service model

• Datagram

• Best Effort

• Error reporting

Page 5: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly
Page 6: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly

IP-datagrams crossing a network with various MTU’s

Page 7: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly

Header Fields for IP over ethernet

Page 8: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly

IP-Address Classes

Page 9: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly

IP Addresses

Dotted Decimal Representation

• 01111111.00000101.11111111.00111111

• 255.255.255.255—broadcast address

• 0.0.0.0-forbidden

Page 10: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly

Hierarchy and Network Classes

Page 11: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly

Datagram Forwarding

• Host and routers with same network address can communicate directly

• Routers exchange packets between networks

Page 12: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly

if(NetworkNum of dest.=NetworkNum of one of my interfaces) then deliver packet to destination over that interface

else

if (NetworkNium of dest. is in my forwarding table) then deliver packet to NextHop router

else

deliver packet to default router

Page 13: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly

Forwarding table for R2

NetworkNum NextHop

1 R3

2 R1

3 Interface 1

4 Interface 0

Page 14: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly

Local Delivery Address Translation

• Address Resolution Protocol (ARP)• ARP request induces the target to broadcast

its IP and Local address across the LAN. Requesting router then knows how to deliver the message

• Target keeps the senders local address and IP address in its own ARP table—in case it needs to ACK

Page 15: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly
Page 16: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly

Host Configuration

• Dynamic Host Configuration Protocol (DHCP)

• DHCP Server-assigns dynamic IP addresses• New hosts broadcast DHCPDISCOVER

message to 255.255.255.255-this message does not go to other networks

• Request may use a DHCP Relay Agent to reach a server on another network

Page 17: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly
Page 18: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly
Page 19: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly

Error Reporting

• Internet Control Message Protocol (ICMP)– Host unreachable– Reassembly failed– TTL=0– IP header checksum failed– ICMP-Redirect

Page 20: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly

Virtual Private Network

Page 21: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly

Tunnel Concept

Page 22: Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly

Forwarding table for router R1

NetworkNum NextHop

1 Interface 0

2 Virtual interface 0

Default Interface 1