The thing that really clicked for me was understanding that each type of subnet (/24 for instance) is made up of multiple smaller subnets. And the address assignments or boundaries of these smaller subnets cannot change. You can't make a /26 network that bridges two /25's.
-
-
Prikaži ovu nit
-
So, learning where these boundaries are is critical to learning how to do this all in your head. Also, remember that the first IP address in a network is always the network address and the last is the broadcast address. These are not usable IP's.
Prikaži ovu nit -
So what you're left with in between, is the usable IP range. In most instances one of those usable ones will be assigned as the gateway, and then rest will be used for whatever devices you want connected on that network.
Prikaži ovu nit -
If we start with the /24 network 192.168.1.X, we know that .0 and .255 can't be used since they are the network and broadcast address. If I need more networks, we break the /24 into a two /25's. Look at the diagram and you can see where those boundaries start and stop for a /25.
Prikaži ovu nit -
The other thing that helped make things click was that for every step going to the right(going from a /24 to /25 to /26...etc), you are doubling your initial number of networks but halving your number of IP's as they are now split between two networks.
Prikaži ovu nit -
Vice versa, for every step you go to the left ( going from a /29 to /28 to /27 ..etc) you are dividing the total number of usable networks you have by 2. So if you had two /29's and they fell within the IP space(the boundary) of a /28, you could combine them into one /28 network.
Prikaži ovu nit -
It really is all about memorization of block sizes, and then dividing or multiplying by two when moving between subnet sizes and remembering the first and last IP's of a subnet cannot be use. Happy to talk to folks who have questions
pic.twitter.com/MVFMDbLYlEPrikaži ovu nit -
Check out my blog where I cover more topics
https://jbcsec.com/insights/
And sign up for my blog notifications and monthly newsletter
https://mailchi.mp/e7b56addb7fc/cybersightblog …Prikaži ovu nit
Kraj razgovora
Novi razgovor -
-
-
Dunno if anyone asked, and it's been too long since I read about this... But this also scales up, two /24 into a /23, doesn't it? So on a /23 we can have a usable .0 IP, correct?
-
Love it, great question! Yes you are correct, that is called supernetting. When you combine subnets into larger ones, so yes you can go above a /24. /24 is just a good place to start and understand from. I could put together a supernetting diagram for ones directly above /24.
- Još 3 druga odgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.