Subnetting Question

petejnetwork

Junior Member
Jun 18, 2013
7
0
0
Hi All, this is my first post as I have only just joined. I am currently studying for my network plus and am just starting to get to grips with subnetting. I have been practising using Class C addresses and thought all was going well until I tried with Class A and Class B. The problem I have (and I am sure it is pretty basic, but I am struggling a little) is once an octet gets to 255 is the next step 1 or 0 and how does it effect the previous octet? For example If I have a class B IP address of 172.24.140.254, how would this increment one step at a time? Would the next step be 172.24.140.255, or 172.24.141.0 or 172.24.141.1. I am guessing the three of those suggestions are incorrect. If somebody could give me the next three or four steps from 172.24.140.254 it would clear it up for me. Thanks in advance, and sorry if it is a basic question. Pete
 

ScottMac

Moderator<br>Networking<br>Elite member
Mar 19, 2001
5,471
2
0
Two points to ALWAYS remember:
If the "host portion" of the address is all ones, it is a broadcast address
If the host portion is all zeros, then it is a "network address"

Should the "host portion" spill into the next octet upstream, the two points above still apply. That is why you can have a "255" in the last octet and -not- be a broadcast, or an address with zero in the last octet is not necessarily a "network address." This tends to show up on tests.

If you're working on a /23 or less (22, 21, 20, etc.), then the bits of the next octet upstream are part of the host address.

SO, for your examples 172.24.140.254 ... the next increment is 255. You need to remember to specify a mask when you give an address in this context, otherwise there is no way to determine if you are at the end of the range (and using a broadcast address).
Assuming you're on a /22 for example, then the next increment after 172.24.140.255 would be 172.24.141.0. and because the most significant bits are not all ones or all zeros, the lower octet bits aren't either a broadcast or network address (even though the lower octet is all one or all zeros ... the ENTIRE range of host bits has to be considered.
 
Last edited:

Mushkins

Golden Member
Feb 11, 2013
1,631
0
0
The best subnetting advice anyone can give: practice, practice, practice.

Every single networking textbook at that level has a chapter on subnetting, and a billion practice examples in the back. Do them all. Do them again. Do them a third time. Keep a subnetting calculator app next to you to check your work if the book doesnt have the solutions.

It's just one of those topics that most people bang their heads against until it finally just "clicks" and it all suddenly makes perfect sense.
 

lif_andi

Member
Apr 15, 2013
173
0
0
Took Network+ myself a few months back, don't remember them talking about VLSM but I might be mistaken.

To answer your question, although its already been answered, then 172.24.140.255 would be the next step from .254, but 255 is a broadcast address if you have a /24 mask. If you have /16 for your Class B address, then essentially you have ranges from 172.24.0.0 to 172.24.255.255 where the 172.24.0.0 is the network ID and 172.24.255.255 is the broadcast IP, everything inbetween goes for hosts if you want.

If you're studying Variable length subnet masks already, then that is a whole other discussion.

EDIT: The next step in your question is 172.24.140.255 and the one after that would be.0 provided you have a /16 subnet mask.
 
Last edited:

ITJunkie

Platinum Member
Apr 17, 2003
2,512
0
76
www.techange.com
It's just one of those topics that most people bang their heads against until it finally just "clicks" and it all suddenly makes perfect sense.

Couldn't have said this better. Can't remember my AHA moment but that's the way it happened...one day it just "clicked" and the rest was gravy.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |