Subnetting
128 64 32 16 8 4 2 1
0 1 1 0 1 1 0 1 = 111
Determining the number of available valid subnets:
- How many valid subnets exist on the 10.0.0.0 255.240.0.0 network? 16
- How many valid subnets are on the 10.0.0.0/12 network? --->prefix notation 16
255.254.0.0 converts to 11111111 11110000 00000000 00000000
Class A 1-126 255.0.0.0 8 network bits, 24 host bits
Class B 128-191 255.255.0.0 16 network bits, 16 host bits
Class C 192-223 255.255.255.0 24 network bits, 8 host bits
Subnetting is performed by borrowing host bits ONLY.
Number of valid subnets = (2 to the power of the number of subnet bits)
10.0.0.0 is Class A with 8 network bits. 12-8= 4 2 to the power of 4=16
150.10.0.0 /21 is class B so 21-16= 5 2 to the power of 5 =32
200.1.1.0/27 is class C so 27-24=3 2 to the power of 3 =8
Determining the number of available valid hosts:
(2 to the power of the number of host bits)-2=# of valid host addresses on the subnet
200.10.10.0 /26 is class C so 32-26 =6 2 to the power of the number of 6 = 64 64-2=62 Therefore, there are 62 valid hosts per subnet on 200.10.10.0 /26
The first address in the subnet is the subnet number itself.
The last address in the subnet is the broadcast address for that subnet.
Determining the subnet number of an IP Address:
To determine which subnet contains 10.17.2.14/18 follow this simple three-step process:
1. Convert the IP address to a binary string.
2. Add up the network and subnet bits only.
Subnet's broadcast address and range of valid address:
What is the range of valid IP addresses for the subnet 210.46.111.0 /25?
210.46.111.1 - 210.46.111.126/25
210.46.444.0 11010010 00101110 01101111 00000000
(Subnet address)
210.46.111.127 11010010 00101110 01101111 01111111
(B' cast address)
Determine the broadcast address and the range of valid IP addresses for the subnet 150.10.64.0 /18
Broad case address is 150.10.127.255
Range of valid address is 150.10.64.1 - 150.10.127.254 /18
Subnetting:
1. Use network 150.50.0.0
2. We need at least 200 subnets.
3. We want 120-150 hosts per subnet.
Number of valid subnets: 2 to the 9th power = 512
Number of valid hosts: (2 to the 7th power)-2=126
The winning ask: 255.255.255.128 also expressed as /25.
Comments
Post a Comment