IP Address - Subnetting - Lecture 03
IP Address - Subnetting - Lecture 03
1
Figure 5-1
3
Note
4
Figure 5-3
5
Finding the Subnet Address
6
Figure 5-5
Default mask and subnet mask
7
Straight Method
In the straight method, we use binary
notation for both the address and the
mask and then apply the AND operation
to find the subnet address.
8
Example 9
9
Solution
10
Short-Cut Method
** If the byte in the mask is 255, copy
the byte in the address.
** If the byte in the mask is 0, replace
the byte in the address with 0.
** If the byte in the mask is neither 255
nor 0, we write the mask and the address
in binary and apply the AND operation.
11
Example 10
12
Figure 5-6
Solution
13
Figure 5-7
14
Subnetting is done by borrowing bits from the host part and add them
the network part. Subnetting increases the length of the netid and
decreases the length of hostid.
15
Designing Subnets
This explain how a network manager designs subnets for his/her company
Steps:
16
Designing Subnets
The first address in each subnet (with HostID all 0s) is the
subnetwork address
18
Finding The Subnet Mask
Steps:
19
Finding the Range of Address in Each Subnet
1. The first address in the first subnet is the first address in the block
2. We add the number of addresses in each subnet to get the last address
3. Then we add one to this address to find the first address in the next subnet
4. We repeat the process for this subnet, and so on.
20
Example
Solution
22
Solution (Continued)
24
Example
28
Figure 5-10
Variable-length subnetting
29