Podcast
Questions and Answers
What is the primary purpose of a subnet mask?
What is the primary purpose of a subnet mask?
How many bits need to be borrowed to create four subnets?
How many bits need to be borrowed to create four subnets?
If a Class C network is partitioned into four subnets, what is the resulting subnet mask?
If a Class C network is partitioned into four subnets, what is the resulting subnet mask?
What is the result of borrowing bits from the host part of an IP address?
What is the result of borrowing bits from the host part of an IP address?
Signup and view all the answers
If 3 bits are borrowed from the host portion for subnetting, how many subnets can be created?
If 3 bits are borrowed from the host portion for subnetting, how many subnets can be created?
Signup and view all the answers
What is indicated by the two Most Significant Bit (MSB) positions borrowed from the host and network portions?
What is indicated by the two Most Significant Bit (MSB) positions borrowed from the host and network portions?
Signup and view all the answers
What is the total number of usable hosts per subnet when a subnet uses 3 bits for hosts?
What is the total number of usable hosts per subnet when a subnet uses 3 bits for hosts?
Signup and view all the answers
If only two host addresses are needed for a router-to-router link, what subnet mask would likely be used?
If only two host addresses are needed for a router-to-router link, what subnet mask would likely be used?
Signup and view all the answers
What equation can be applied to calculate the number of hosts per subnet?
What equation can be applied to calculate the number of hosts per subnet?
Signup and view all the answers
What is the effect of subnetting on the overall number of IP addresses in a network?
What is the effect of subnetting on the overall number of IP addresses in a network?
Signup and view all the answers
What subnet mask is needed for a router-to-router link requiring only two host addresses?
What subnet mask is needed for a router-to-router link requiring only two host addresses?
Signup and view all the answers
What does a subnet mask of 255.255.255.0 indicate about IP addresses in a LAN?
What does a subnet mask of 255.255.255.0 indicate about IP addresses in a LAN?
Signup and view all the answers
How can you verify if a destination IP address is in the same subnet as the LAN?
How can you verify if a destination IP address is in the same subnet as the LAN?
Signup and view all the answers
What is typically the physical network interface for gateway IP addresses in a LAN?
What is typically the physical network interface for gateway IP addresses in a LAN?
Signup and view all the answers
What does the first three octets in the subnet mask 255.255.255.0 signify?
What does the first three octets in the subnet mask 255.255.255.0 signify?
Signup and view all the answers
What is a common misconception about subnetting with a subnet mask of 255.255.255.0?
What is a common misconception about subnetting with a subnet mask of 255.255.255.0?
Signup and view all the answers
In the example provided, what does the destination IP address 172.16.34.15 indicate when using a subnet mask of 255.255.255.0?
In the example provided, what does the destination IP address 172.16.34.15 indicate when using a subnet mask of 255.255.255.0?
Signup and view all the answers
How does borrowing bits in subnetting affect available hosts in a subnet?
How does borrowing bits in subnetting affect available hosts in a subnet?
Signup and view all the answers
If a network uses 255.255.255.128 as a subnet mask, what is the potential number of subnets?
If a network uses 255.255.255.128 as a subnet mask, what is the potential number of subnets?
Signup and view all the answers
What is the effect of using a subnet mask with fewer host bits?
What is the effect of using a subnet mask with fewer host bits?
Signup and view all the answers
Study Notes
Subnet Masks
- Subnetting is a technique to divide networks into subnets.
- Subnets are created using subnet masks.
- Subnet masks identify bits in IP addresses used to signify network/subnet portions.
Subnetting
- Subnetting breaks down networks into smaller subnets.
- Subnets are created by borrowing bits from the host portion of IP addresses.
- The new subnet bits, along with the network portion, define the new subnet.
- Routers use this information to forward data packets to the correct subnets.
IP Address Classes (A, B, C)
- Class A networks have a variable network portion (more host bits).
- Class B networks have a larger network portion.
- Class C networks have the largest network portion (least amount of host bits).
- Octet values are used to divide the IP address into pieces.
Subnet Creation
- Subnets are formed by borrowing bits from the host portion using the formula:
- Number of subnets = 2x where x = Number of borrowed bits
- Subnets reduce available host bits reducing the total number of hosts in the subnet.
- Formulas for host/subnet calculation:
- Number of hosts/subnet = 2y-x where y = number of original bits in the host portion, and x = number of borrowed bits
Usable Hosts/Subnet
- Subnets have network and broadcast addresses.
- A formula accounts for these when calculating usable hosts.
- Usable hosts/subnet = 2(y-x) - 2
Applying Subnet Masks
- Subnet masks use logical AND operations (1s and 0s.)
- 1s in the mask indicate the IP address bits passed during forwarding.
- 0s in the mask prevent forwarding those bits.
- Output depends on whether the subnet mask bit is set to 1 or 0.
Example Calculation (192.168.12.0)
- Breaking down the 192.168.12.0 network into four subnets involves borrowing two host bits.
- Therefore x = 2 and y = 8 (standard for class C)
- Using calculating formulas:
- Number of subnets =22 = 4
- Number of hosts/subnet = 28-2 = 64
Subnet Mask Determination
- To find the specific mask, you need to determine the number of host bits being used.
- The most significant bits are borrowed from the original host section of the IP address .
Controlling Data Flow
- Subnet masks help direct data within networks.
- They check if the destination IP address is on the same or different LAN.
- Data packets routed to the gateway address.
- Gateway address in on a different LAN.
- Gateway address is on a layer 3 switch or a router.
Examples and Summary
- Specific examples demonstrate how to apply subnetting to various IP address classes.
- This section has demonstrated how subnets and subnet masks control data flow within computer networks.
- Examples guide the reader through determining the number of hosts in a specific subnet.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
Test your knowledge on subnetting techniques, subnet masks, and IP address classes. This quiz covers how subnets are created by borrowing bits from host portions and the characteristics of Class A, B, and C networks. A great way to solidify your understanding of IP addressing!