Skip to Content
Networking Fundamentals
book

Networking Fundamentals

by Gordon Davies
December 2019
Beginner
510 pages
12h 7m
English
Packt Publishing
Content preview from Networking Fundamentals

Classful/default subnet masks

We have already identified that the default subnet masks for classes A, B, and C are 255.0.0.0, 255.255.0.0, and 255.255.255.0, respectively. To identify the network element of a classful IP address, we compare it to its subnet mask. If an octet in the subnet mask has a 255 in it, then its respective octet in the IP address is part of the network element. Let's look at each of these in turn.

For class A, we can see that only the first octet of the subnet mask has 255 in it. This means that only the first octet in the IP address is the network element. I tend to write the IP address above the subnet mask and compare them. Look at the following example:

IP address

23 . 78 . 23 . 98

Subnet mask

255 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Networking Fundamentals

Networking Fundamentals

Kevin Wallace
CCNA 200-301

CCNA 200-301

Kevin Wallace

Publisher Resources

ISBN: 9781838643508