1.7 Magic Number Subnetting Flashcards
N10-009 Obj. 1.7 Given a scenario, use appropriate IPv4 network addressing (11 cards)
What calculation helps determine the number of subnets and hosts per subnet?
Number of subnets = 2^subnet bits
Number of hosts per subnet = (2^host bits) - 2
Transcript: “2 to the second power… four networks… 2 to the sixth power minus 2… 62 hosts” (2:30–3:48)
What are the four key addresses you need to calculate for a subnet?
The subnet ID, broadcast address, first host address, and last host address.
Network address/subnet ID
* The first address in the subnet
Broadcase address
* the last address in the subnet
First available host address
* one more than the network address
Last available host address
* one less than the broadcast address
Transcript: “network address… broadcast address… first available host address… last available host address” (4:16–4:39)
What is the magic number in subnetting?
It’s calculated as 256 minus the interesting octet’s value in the subnet mask.
Transcript: “magic number, which is 256 minus the value of the interesting octet” (8:21–8:44)
How is the subnet ID determined using the magic number method?
Find the range the IP falls into and take the first value of that range.
Transcript: “fit the 77 IP address in the range… first number in that range… 64” (11:01–11:50)
How is the broadcast address calculated using the magic number?
Subnet ID + magic number - 1.
Transcript: “take the subnet ID… add the magic number and subtract 1” (13:20–13:49)
How do you determine the first and last usable host addresses on a subnet?
First host = subnet ID + 1; Last host = broadcast address - 1.
Transcript: “calculate the first host… add 1… last usable… subtract 1” (14:07–14:23)
What is an interesting octet in the magic number method?
The octet in the subnet mask that is neither 255 nor 0.
Transcript: “mask… not 0 and not 255… is our interesting octet” (10:28–10:39)
How can a predefined chart help with subnetting using the magic number method?
It shows CIDR ranges, subnet masks, and magic numbers for faster calculation.
Transcript: “predefined chart… CIDR block notation… magic number… subnet mask” (18:15–19:00)
Descibe the steps to use magic number subnetting
- Convert the subnet mask to decimal (if necessary)
- ID the interesting octet
neither 255 nor 0
- Calculate the magic number
256 - the interesting octet
- Calculate the host range
- ID the network address
- ID the broadcast address
Outline the steps for identifying the subnet ID?
- If the mask is 255, copy the IP address from the mask down
- If the mask is 0, copy the zero
- ID the interesting octet
- ID the magic number
- ID where the host of the IP falls in the host ranges and put the first number
Outline the steps to calculate the broadcast address
- If the mask is 255, copy the subnet ID
- If the mask is 0, write 255
- Anything not 255 or 0 is the interesting octet
- ID the magic number
- Calculate the subnet ID + magic number - 1