Network Lecture 11 Lecture Subneting
Network Lecture 11 Lecture Subneting
Farman Ullah
Subnetting
Disadvantages:
Identification of a station is difficult
Types of Subnetting
subnets can be of two types
Fixed Length Subnetting
Variable Length Subnetting
Fixed Length Subnetting
We need 2 subnets, so we need 1 bit to represent the two subnets (2^1 = 2).
We'll borrow 1 bit from the host portion of the IP address.
Subnet 2:
We need 4 subnets, so we need 2 bits to represent the four subnets (2^2 = 4).
We'll borrow 2 bits from the host portion of the IP address.
Subnet 2 and 3:
Require 62 hosts, so we need 6 bits for the host portion (2^6 - 2 = 62).
This leaves 26 bits for the network portion.
Subnet mask: 255.255.255.192 (26 bits in binary)
Creating the Subnets
Subnet 1:
Network address: 192.1.2.0
Subnet mask: 255.255.255.128
Usable host range: 192.1.2.1 - 192.1.2.126
Broadcast address: 192.1.2.127
Subnet 2:
Details Network address: 192.1.2.128
Subnet mask: 255.255.255.192
Usable host range: 192.1.2.129 - 192.1.2.190
Broadcast address: 192.1.2.191
Subnet 3:
Network address: 192.1.2.192
Subnet mask: 255.255.255.192
Usable host range: 192.1.2.193 - 192.1.2.254
Broadcast address: 192.1.2.255
Can We Make a Subnet of Any Size?
Short answer: Not exactly.