IP Addressing & Subnetting!!!
Look at me!!!
Know me!!!
Memorize me!!! 126 16,384 2,097,152 65,534 254 16,777,214
Let’s Play!! IP Address: 192.168.1.10 Class: Binary Equivalent: Subnet Mask:
Let’s Play!! IP Address: 192.168.1.10 /24 Class: C Binary Equivalent: 11000000.10101000.00000001.00001010 Subnet Mask: 255.255.255.0
Practice-Binary: Translate these addresses into binary: 213.45.37.123 192.167.24.64 17.32.193.250 What classes do they belong to?
Practice- Binary: Translate these addresses into binary: 213.45.37.123: 11010101.00101101.00100101.01111011 192.167.24.64: 11000000.10100111.00011000.01000000 17.32.193.250: 00010001.00100000.11000001.11111010 What classes do they belong to? C, C, A
Magic Number: In binary, which bit of the subnet mask (left to right) switches from 1’s to 0’s? Ex: /24: 255.255.255.0 11111111.11111111.11111111.00000000 Now you try: /28
Magic Number: Now you try: /28 255.255.255.240 11111111.11111111.11111111.11110000
Magic Number: Why is this important? /28 255.255.255.240 11111111.11111111.11111111.11110000 Subtract the value of that octet from 256. 11110000=240 256-240= 16 Calculate the multiples of your magic number (16) from 0 up to 256 16 32 48 64…etc
*interesting octet is the octet in which the 1’s change to 0’s 144 Find the multiple of the magic number that is closest to but no greater than the IP address’s interesting octet value 160 16 176 32 192 48 208 64 224 80 240 96 112 128 *interesting octet is the octet in which the 1’s change to 0’s 144
*interesting octet is the octet in which the 1’s change to 0’s 144 Find the multiple of the magic number that is closest to but no greater than the IP address’s interesting octet value 160 16 176 32 192 48 208 64 224 80 240 96 112 128 *interesting octet is the octet in which the 1’s change to 0’s 144
Practice-Subnetting: You have been given the IP address 213.45.37.0 /24 You require at least 15 subnets. List: The required subnet mask The number of total subnets The number of available hosts per subnet The first four subnet addresses The valid range of host addresses for the first four subnets The Broadcast address for each subnet
Practice-Subnetting: You have been given the IP address 213.45.37.0 /24 You require at least 15 subnets. List: The required subnet mask: 255.255.255.240 (/28) The number of total subnets: 16 The number of available hosts per subnet: 14 The first four subnet addresses: 213.45.37.0 213.45.37.16 213.45.37.32 213.45.37.48 The valid range of host addresses for the first four subnets 213.45.37.1 - 14 213.45.37.17 - 30 213.45.37.33 - 46 213.45.37.49 - 62 The Broadcast address for each subnet 213.45.37.15 213.45.37.31 213.45.37.47 213.45.37.63
You have been given the IP address 200. 100. 50 You have been given the IP address 200.100.50.0 /24 You require at least 3 subnets. List: The required subnet mask The number of total subnets The number of available hosts per subnet The first four subnet addresses The valid range of host addresses for the first four subnets The Broadcast address for each subnet
The required subnet mask: /26: 255.255.255.192 You have been given the IP address 200.100.50.0 /24 You require at least 3 subnets. List: The required subnet mask: /26: 255.255.255.192 The number of total subnets: 4 The number of available hosts per subnet: 62 The first four subnet addresses: 200.100.50.0 200.100.50.64 200.100.50.128 200.100.50.192 The valid range of host addresses for the first four subnets 200.100.50.1-62 200.100.50.65-126 200.100.50.129-190 200.100.50.193-254 The Broadcast address for each subnet 200.100.50.63 200.100.50.127 200.100.50.191 200.100.50.255
You have been given the IP address 10. 1. 5 You have been given the IP address 10.1.5.10 /29 You require at least 6 subnets. List: The required subnet mask The number of total subnets The number of available hosts per subnet The first four subnet addresses The valid range of host addresses for the first four subnets The Broadcast address for each subnet
You have been given the IP address 10. 1. 5 You have been given the IP address 10.1.5.10 /21 You require at least 6 subnets. What subnet mask should you use? You have a host at the address of 10.1.5.120 that is experiencing issues. In order to troubleshoot, what is the address of that subnet?
What subnet mask should you use? You have been given the IP address 10.1.5.10 /21 You require at least 6 subnets. What subnet mask should you use? /21: 255.255.248.0 You have a host at the address of 10.1.5.120 that is experiencing issues. In order to troubleshoot, what is the address of that subnet? 10.1.5.0
10.5.10.200 /26 You need to have no more than 25 hosts in each subnet. Go.
Subnets: Ranges: Broadcast: 10.5.10.192 10.5.10.224 10.5.10.193 – 222 10.5.10.225 – 254 Broadcast: 10.5.10.223 10.5.10.255