Documente Academic
Documente Profesional
Documente Cultură
Computer Networks
• Need:
– Hide type of subnet
– Ethernet, Token Ring, FDDI ...
– Hide topology of subnets
• Provides:
– Uniform addressing
– Packet delivery
Prof . Aniruddha sahoo, KReSIT, IIT Bombay Network Layer 6.2
Addressing
IP characteristics
• IP can run on
– Ethernet (CSMA/CD)
– FDDI (token ring)
– telephone trunks (SONET or PDH)
– wireless links (CSMA/CA)
– satellite links (ALOHA)
– other technologies like X.25, ISDN
• underlying technology can be upgraded
without affecting TCP/IP
• Internetworking
– uniform addressing scheme
• Routing
– choice of appropriate paths from
source to destination
• Congestion Control
– avoid overload on links/routers
Prof . Aniruddha sahoo, KReSIT, IIT Bombay Network Layer 6.4
Addressing
Addressing
– unicast: node-specific
– broadcast: all nodes on a
network
– multicast: some subset of nodes
on the network
223.1.1.1 223.1.2.1
223.1.1.4 223.1.2.9
223.1.1.2
223.1.2.2
223.1.1.3
11011111 00000001 00000001 00000001
223 1 1 1
Prof . Aniruddha sahoo, KReSIT, IIT Bombay Network Layer 6.8
Addressing
IPv4 addresses
128.0.0.0 to
B 10 network host 191.255.255.255
192.0.0.0 to
C 110 network host 239.255.255.255
240.0.0.0 to
D 1110 multicast address 247.255.255.255
32 bits
Prof . Aniruddha sahoo, KReSIT, IIT Bombay Network Layer 6.13
Addressing
IP address issues
• Inefficient: wasted addresses
• Inflexible: fixed interpretation
• Not scalable:
– Number of networks is growing
– Not enough network numbers
• redirect
– advice sending host of a better
route
• echo request,echo-reply (query)
– testing if destination is reachable
and alive
• timestamp request, timestamp-
reply
Prof . Aniruddha sahoo, KReSIT, IIT Bombay Network Layer 6.31
– sampling delay characteristics Addressing
ICMP header
• 8-byte header
8-bit type 8-bit code 16-bit checksum