



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This course is about introduction to network programming. Topics covered in this are direct link networks, packet switching, internetworking, end-to-end protocols, congestion control and resource, allocation, end-to-end data, applications. This lecture includes: Internet, Protocol, Network, Host, Router, Internetwork, Concatenation, Address, Multicast, Expansion, Datagram, Format
Typology: Slides
1 / 7
This page cannot be seen from the preview
Don't miss anything!




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
host in class A network (MIT)
host in class B network (UIUC)
host in class C network
More recent classes
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
Length
Ident
Flags
Offset
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)
Version
HLen
Length
Ident
Flags
Offset
Protocol
Checksum
SourceAddr DestinationAddr
Options (variable)
Pad (variable)
Data