Computer Networks
Computer Networks
Wardah Saleh
Contents:
IP Address
Subnet Mask
Classful IP Address
CIDR
Sub-netting
192.168.1.1 192.168.1.2
AIUB Wardah Saleh Computer
3
Networks
IP Address (Continued…)
1 1 0 0 0 0 0 0
128+64=192
• Rules:
All network bit set to “1”
All host bit set to “0”
•AIUB Network bits in SM must always contiguous
Wardah Saleh Computer
6
Networks
Subnet Mask (Continued…)
• Example:
IP address: 172.16.0.0
Subnet Mask: 255.255.0.0 (decimal)
Subnet Mask: 11111111.11111111.00000000.00000000 (binary)
Class 1st Octet 1st Octet 2nd Octet 3rd Octet 4th Octet Default SM
A 0 - 127 N H H H 255.0.0.0