L10 - Addressing in A Network - 2022
L10 - Addressing in A Network - 2022
Computer Systems
Computer networks
Lecture 10
Addressing in a Network
Lecture Outline
IPv4 Addressing
Classful Addresses
Addresses
Physical Logical
Port Addresses
Addresses Addresses
▪ Used to identify the source and destination processes for communication
▪ Ex: Port address
What is the layer of IOS-OSI Ref. model the PORT addresses are introduced?
What is the layer of IOS-OSI Ref. model the MAC addresses are introduced?
• There are two major versions of IP addresses
IPv4
IP Addresses
IPv6
What is the layer of IOS-OSI Ref. model the IP addresses are introduced?
IP version 4 (IPv4)
Activity
➢ Change the following IP addresses from binary notation to dotted decimal notation.
10000001 00001011 00001011 11101111
➢ Change the following IP addresses from dotted decimal notation to binary notation.
111.56.45.78
✓227.12.14.87
✓193.14.56.22
✓14.23.120.8
✓252.5.15.111
✓134.11.78.56
Network ID (Net ID) and Host ID
• When an organization reserves a set of IP addresses from their ISP (Internet
Service Provider) to use for the hosts used within that organization,
Network ID Host ID
http://www.vlsm-calc.net/ipclasses.php
Masking Concept
• Each LAN is owned by a particular organization, the net ID/Network Address is what
differentiates one LAN from another in Internet terms
• Finding the net ID is extremely important because net ID is used by routers to route the packets
from one LAN to another LAN over the Internet
NET2 ID/Address
192.168.8.0
NET1 ID/Address
172.16.0.0
Masking Concept Cont.
Default Masks
Mask in
Class Mask in binary Mask in dotted decimal slash (/)
notation
Bitwise AND
operation
Activity 0 0 0
0 0
• Find the subnet mask for following addresses 0
✓ 35.56.7.91 ➔ 255.0.0.0
✓ 68.87.34.68
✓ 140.30.1.21
✓ 210.50.60.1
✓ 188.1.1.1
✓23.56.7.91
✓72.87.34.10
✓130.10.1.21
✓200.50.60.1
✓198.1.1.1
Public Addresses vs Private Addresses
IPv4 Private
Address Ranges
• Following ranges are
reserved to be used in
Local Area Networks for
private addresses.