Lecture 6 - IP Address-Subnet and CIDR
Lecture 6 - IP Address-Subnet and CIDR
Principles of Networking
IP (Internet
Protocol) Addressing
1
IP Addresses
Structure of an IP address
Subnetting
CIDR (Classless Inter-Domain
Routing)
IP Version 6 addresses
What is an IP Address?
An IP address:
is a 32 bit long identifier.
encodes a network number (network prefix)
and a host number
128.143.137.144
Network prefix and Host number
The network prefix identifies a network and the
host number identifies a specific host (actually,
interface on the network).
network prefix host number
128.143 137.144
Subnetting
Basic Idea of Subnetting
* There are different ways of subnetting. Commonly used netmasks for university
networks with /16 prefix (Class B) are 255.255.255.0 and 255.255.0.0
Subnet Masks
Subnet Masks
Example: 192.168.137.144
Advantages of Subnetting
With subnetting, IP addresses use a 3-layer
hierarchy:
Network
Subnet
Host
Improves efficiency of IP addresses by not
consuming an entire address space for each
physical network.