Introduction to Computer Communications Networks : IP Addressing- PPT, Engg. Sem. Notes | EduRev

Created by: Urvashi Sharma

: Introduction to Computer Communications Networks : IP Addressing- PPT, Engg. Sem. Notes | EduRev

 Page 1


CSE/EE 461: Introduction to Computer
Communications Networks
Autumn 2010
Module 9
 IP Addressing
John Zahorjan
zahorjan@cs.washington.edu
534 Allen Center
Page 2


CSE/EE 461: Introduction to Computer
Communications Networks
Autumn 2010
Module 9
 IP Addressing
John Zahorjan
zahorjan@cs.washington.edu
534 Allen Center
10/26/2010 CSE 461 10au
Last Time: Addresses Imply Location
• All 128.208 addresses 
are this way
• …
128.208.1.142
128.208.1.140
140.142.13.107
140.142.13.107
142.150.210.12
Routing table
Page 3


CSE/EE 461: Introduction to Computer
Communications Networks
Autumn 2010
Module 9
 IP Addressing
John Zahorjan
zahorjan@cs.washington.edu
534 Allen Center
10/26/2010 CSE 461 10au
Last Time: Addresses Imply Location
• All 128.208 addresses 
are this way
• …
128.208.1.142
128.208.1.140
140.142.13.107
140.142.13.107
142.150.210.12
Routing table
10/26/2010 CSE 461 10au
This Lecture
IP Addresses
–
Address allocation and discovery 
• DHCP
• ARP
• NAT
• STUN
Physical
Data Link
Network
Transport
Session
Presentation
Application
Page 4


CSE/EE 461: Introduction to Computer
Communications Networks
Autumn 2010
Module 9
 IP Addressing
John Zahorjan
zahorjan@cs.washington.edu
534 Allen Center
10/26/2010 CSE 461 10au
Last Time: Addresses Imply Location
• All 128.208 addresses 
are this way
• …
128.208.1.142
128.208.1.140
140.142.13.107
140.142.13.107
142.150.210.12
Routing table
10/26/2010 CSE 461 10au
This Lecture
IP Addresses
–
Address allocation and discovery 
• DHCP
• ARP
• NAT
• STUN
Physical
Data Link
Network
Transport
Session
Presentation
Application
10/26/2010 CSE 461 10au
Address Allocation and Discovery
128.208.1.142
128.208.1.140
140.142.13.107
140.142.13.107
142.150.210.12
R0
R1
R2
R3
The yellow node boots.  It 
has a MAC address.
•
It needs an IP address.
•
It needs to know to use 
router R3.
•
R3 needs to discover 
the new host’s MAC 
address.
DHCP is used.
ARP is used.
Bridge
Page 5


CSE/EE 461: Introduction to Computer
Communications Networks
Autumn 2010
Module 9
 IP Addressing
John Zahorjan
zahorjan@cs.washington.edu
534 Allen Center
10/26/2010 CSE 461 10au
Last Time: Addresses Imply Location
• All 128.208 addresses 
are this way
• …
128.208.1.142
128.208.1.140
140.142.13.107
140.142.13.107
142.150.210.12
Routing table
10/26/2010 CSE 461 10au
This Lecture
IP Addresses
–
Address allocation and discovery 
• DHCP
• ARP
• NAT
• STUN
Physical
Data Link
Network
Transport
Session
Presentation
Application
10/26/2010 CSE 461 10au
Address Allocation and Discovery
128.208.1.142
128.208.1.140
140.142.13.107
140.142.13.107
142.150.210.12
R0
R1
R2
R3
The yellow node boots.  It 
has a MAC address.
•
It needs an IP address.
•
It needs to know to use 
router R3.
•
R3 needs to discover 
the new host’s MAC 
address.
DHCP is used.
ARP is used.
Bridge
10/26/2010 CSE 461 10au
Topic 1: Obtaining an IP address
• Old fashioned way: sysadmin configured each machine
– E.g., a local file contained the IP address to use
– Imagine deploying 50 new machines in one of the labs…
• Future fashioned way (IPV6): Stateless Autoconfiguration
– Addresses are wide / plentiful 
– Form IPv6 address by concatenating “network’s address” (prefix) 
with your own MAC address
– Learn “network address” portion from router
• Current (IPv4) way: Dynamic Host Configuration Protocol 
(DHCP)
– Addresses are narrow (32-bits) / scarce
• Have to hand them out carefully
– Use a DHCP server that provides bootstrap info to hosts
• Host’s IP address, gateway address, …
– An immediate problem: how does a host without an IP address 
communicate with the DHCP server?
Read More
Offer running on EduRev: Apply code STAYHOME200 to get INR 200 off on our premium plan EduRev Infinity!