Professional Documents
Culture Documents
03.data Communication Basics - IP Subnetting
03.data Communication Basics - IP Subnetting
0.0.0.0
0.0.0.1
32
2 ……
5 types
255.255.255.255
Types of IP Addresses
Types of IP Addresses (Network Part and Host Part)
Network Mask
• Unicast
• Broadcast
• Multicast
PC2
PC3
Multicast receiver
PC1
Multicast source
PC5 PC4
Multicast receiver
Types of IP Network Communication
• Unicast
• Broadcast
• Multicast
PC2
PC3
PC1
PC5 PC4
Types of IP Network Communication
• Unicast
• Broadcast
• Multicast
PC2
PC3
PC1
PC5 PC4
Types of IP Network Communication
• Unicast
• Broadcast
• Multicast
PC2
PC3
Multicast receiver
PC1
Multicast source
PC5 PC4
Multicast receiver
IP Address Types
• Broadcast address: Indicates a special address used to send data to all hosts on a
network. In a broadcast address, the host bits are all 1s. An example is 192.168.1.255/24.
• Host address: Indicates the IP address that can be allocated to a network node. The
network address or broadcast address cannot be directly used by a network node.
IP Address Types
Taking class C address 192.168.1.0 as an example, what are the network address,
broadcast address, and the IP addresses that can be allocated to hosts?
VLSM
• Why IP subnetting?
……
172.16.0.0
• Why IP subnetting?
172.16.1.0
172.16.3.0
172.16.4.0
172.16.2.0
Subnet 1: 172.16.0.0
Mask: 255.255.128.0
Host: 172.16.0.1 – 172.16.127.254
Broadcast address: 172.16.127.255
Subnet 2: 172.16.128.0
Mask: 255.255.128.0
Host: 172.16.128.1 – 172.16.255.254
Broadcast address: 172.16.255.255
Network bits Host bits
Subnet bit
How to Perform Subnetting for 192.168.1.0/25
Default mask/24
192.168.1.0
Default mask/24
192.168.1.0
New mask/25
How to Perform Subnetting for 192.168.1.0/25
192.168.1.0
Default mask/25
192.168.1.0
New mask/25
Here, n indicates the number of remaining bits after m bits are borrowed
from the host part.
The reason for -2 is that the network address and broadcast address in
each subnet are unavailable.
Can 192.168.1.64/27 Be Allocated to PCs?
IP Address Types