AQA A-Level Computer Science 7517
Fundamentals of Programming
Fundamentals of Data Structures
Fundamentals of Algorithms
Theory of Computation
Fundamentals of Data Representation
Fundamentals of Computer Systems
Fundamentals of Computer Organisation and Architecture
Fundamentals of Communication and Networking
Consequences of Uses of Computing
Systematic Approach to Problem Solving
Fundamentals of Databases
Big Data
Fundamentals of Communication and Networking
IP Address Structure and Subnet Masking
- 3 things to know
- Paper 2
Overview
Recall questions on how an address is structured, why it splits into network and host parts, and how a subnet mask is applied.
What you need to know
Answer each one before you reveal it.
Apply the subnet mask 255.255.255.0 to the IP address 192.168.10.37. What is the network identifier and what is the host identifier?
Two machines have addresses 10.0.5.20 and 10.0.6.20, both with subnet mask 255.255.248.0. Are they on the same subnet?
Questions from this subtopic
Each one with the model answer underneath.
- 1
How is an IP address structured?
Model answer
An IP address is split into two parts: a network identifier and a host identifier. The network identifier part says which network the device belongs to, and the host identifier part identifies the particular device within that network. Every device on the same network shares the same network identifier and has a different host identifier.
- 2
Why is an IP address split into a network part and a host part?
Model answer
So that routing can be done in bulk. A router does not need an entry for every individual device in the world — an impossible task — only for networks. It compares the network identifier part of the destination address with its routing table, forwards the packet towards that whole network, and only the last router, the one attached to that network, needs to concern itself with the host identifier to make the final delivery.
- 3
In the address 192.168.4.27 with the network part being the first three octets, what is the network identifier and what is the host identifier?
Model answer
The network identifier is 192.168.4.0 and the host identifier is 27. Any other device whose address begins 192.168.4 is on the same network as this one.
- 4
Two devices have addresses 172.20.5.9 and 172.20.6.9, and the network part is the first two octets. Are they on the same network?
Model answer
Yes. With the first two octets forming the network identifier, both are on network 172.20.0.0; their host identifiers, 5.9 and 6.9, differ. They can communicate directly without a router.
- 5
How does a device know whether the machine it wants to reach is on its own network or a distant one?
Model answer
It compares the network identifier part of the destination address with the network identifier part of its own address. If they are the same, the destination is on the local network and the device can deliver the data directly to it. If they differ, the destination is elsewhere and the device sends the packet to its default gateway, the router that will forward it onward.
- 6
What is a subnet?
Model answer
A subnet is a smaller network created by subdividing a larger one. The host identifier part of the address range is partly given over to identifying which subdivision a device is in, so that one allocated block of addresses can be split into several separate networks.
Other ways to work this
The same content, four other ways.
What is inside Levo
Six ways to work the same material.
Every question in Fundamentals of Communication and Networking, on a schedule.
Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.
Or £46 a year, about £3.83 a month. Cancel anytime.