Docsity

Internet Protocol-Advance Computer Networking-Lecture Slides, Slides of Computer Networks

Partial preview of the text

Download Internet Protocol-Advance Computer Networking-Lecture Slides and more Slides Computer Networks in PDF only on Docsity!

  • Lecture No.

Internet Protocol (IP)

Network protocol for the Internet

Operates on all hosts and routers (routers connectdistinct networks into the Internet)

…

TFTP

NV

HTTP

FTP

UDP

TCP

IP

FDDI

Ethernet

ATM

IP Addresses

  • 18.10.5.

host in class A network (MIT)

  • 130.126.143.

host in class B network (UIUC)

  • 192.12.70.

host in class C network

More recent classes

  • Multicast (class D): starts with 1110– Future expansions (class E): starts with 1111

Network

Host

7

bits (126 nets)

24

bits (16 million hosts)

0

Class A:

Network

Host

14

bits (16k nets)

16

bits (64K hosts)

1

0

Class B:

Network

Host

21

bits (2 million nets)

8

bits (256)

1

1

0

Class C:

Datagram Format

4-bit version (4 for IPv4, 6 for IPv6)

4-bit header length (in words, minimum of 5)

8-bit type of service (TOS); more or less unused

16-bit datagram length (in bytes)

8-bit protocol

(e.g

., TCP=6 or UDP=17)

Version

HLen

TOS

Length

Ident

Flags

Offset

TTL

Protocol

Checksum

SourceAddr DestinationAddr

Options (variable)

Pad (variable)

Data

Datagram Format

16-bit IP checksum on header

32-bit source IP address

32-bit destination IP address

Options and padding (variable length)

  • Source-based routing (typically disabled)– Record route– Several others

Version

HLen

TOS

Length

Ident

Flags

Offset

TTL

Protocol

Checksum

SourceAddr DestinationAddr

Options (variable)

Pad (variable)

Data