Well, for 25 years of my career I got by using the subnet cheat sheet. (https://www.aelius.com/njh/subnet_sheet.html)
And then I got passed over for a couple jobs and decided to get the CCNA.
These skills are requisite. Mandatory. You ain’t passing without demonstrating competency in the above dance of digits.
I can write that entire subnet chart out from scratch and first principles now.
Rocket Surgeon
- 0 Posts
- 16 Comments
Glad you asked. Gives me a chance to address the unexpected (??!) downvotes.
Maybe I made someone feel dumb? I can only hope. :]I’m a network engineer. I recently passed the Cisco CCNA. About 20% of the test was subnetting and IPv6.
These skills are core to building networks, and you must demonstrate competency with the raw numerical manipulation.
When IPv6 was created, NAT technologies had not yet really developed yet. That development stretched out the utility of IPv4 and allowed it to be perfectly sufficient even today. Back then, you bought a public IP for every node on your network. Seems crazy now, because you can put an entire enterprise behind one IP.
IPv6 was created to allow that same provisioning concept of every node having a public IP. Well, we don’t really need that anymore. So we relegate IPv6 usage to machines like cell phones, but if a human has to utilize the address, we give em an IPv4.
Every cell phone and a shit-ton of IoT runs on IPv6. There’s a lot of phones out there. I bet you even have one, no? You are using IPv6 right now.
But if you really want to know why, first learn how to count in binary. It’s gonna be much harder than you expected.
Then learn how to count in hex. Boy, that’s fun.
Now convert them back and forth. Yay, what a good time!This is a byte. Starting from the right, each place doubles. No, its not backwards, it just feels that way.
1111 1111
128 | 64 | 32 | 16 | 8 | 4 | 2 | 1
Add up the places. You can write any number from 0 to 255 this way.You’ve seen that 255 number a lot. Maybe this dotted decimal notation will look familiar.
255.255.255.0
For this number (a subnet mask) each of the first three positions is maxed out, and zero is … zero.Let’s write it in binary.
1111 1111 . 1111 1111 . 1111 1111 . 0000 0000
Does your head hurt yet? It will.Now let’s convert it to hex.
Ya you got it. It’s base-16 integers. So you hit 10 and start counting in alpha.
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 A
11 B
12 C
13 D
14 E
15 FThis is a nibble. It’s half a byte. Ya, that’s a little funny some nerd farted out one day.
1 1 1 1
8 | 4 | 2 | 1
The max value of a nibble is … 15.
And 15 is … FSplit the byte into nibbles. Convert the two nibbles to hex.
1 1 1 1 1 1 1 1
(15) (15)
FFSo let’s do the whole subnet mask.
255.255.255.0
1111 1111 . 1111 1111 . 1111 1111 . 0000 0000
(15) (15) . (15) (15) . (15) (15) . (0) (0)
FF:FF:FF:00And that, my friend, is some of the very simplest hex math you are likely to see.
In order to convert it from a number you understand, you have to run through binary, chop it in half, and recreate it as hex.
It gets much more complex than this, and that’s just basic numerical manipulation.This is already too long, and I haven’t even written an IPv6 number yet.
We are just managing single digits here.Why don’t people like IPv6? Well, its hard.
dbtng@moist.catsweat.comto
Music@lemmy.world•The Feed Is Fake - That “viral” song, movie, meme, influencer, and celebrity drama was probably the product of a stealth marketing campaign.
11·6 days agoIt seems that this is more of the ‘clipping’ deal. I avoid video clips. They’ve gotten so horrible.
To the folks concerned that lemmy is manipulated or even dead … we ain’t big enough to be concerned about.
If lemmy was truly successful, we would see more if this crap. Mostly, we don’t. Because we are nothing.
dbtng@moist.catsweat.comto
politics @lemmy.world•White House to host mass prayer event to promote Christian origins of the US, wants everyone to pray tomorrow
5·10 days agoI’m so atheist that I find even discussing it asinine. It’s odd to me that a grown adult could hold any other opinion, and I’d rather keep pretending that I’m surrounded by grown adults. So I don’t discuss it at all. And then shit like this comes along …
dbtng@moist.catsweat.comto
politics @lemmy.world•White House to host mass prayer event to promote Christian origins of the US, wants everyone to pray tomorrow
4·10 days agoUp all the wrong places. Way up there.
LOL. Thanks! :]
It wasn’t that tall. Only about a month. But it was a lot.
It’s been a month since my bro and his gal came over for BBQ. I think that’s what the mold was eating.
I washed my dishes! Life has been grim lately. They had stacked up. Kitchen is clean now. And maybe I feel a bit better.
I want to read the 9front dev interview. No, really.
dbtng@moist.catsweat.comto
World News@lemmy.ml•'A Voice That Upholds the Conscience of the World': Spain Honors Francesca Albanese for Efforts to Stop Gaza Genocide | Common Dreams
6·20 days agoMostly I hear about Spain’s issues with migrant boats and folks are outraged. It sounds pretty rough.
So, I looked that up. No recent articles. Instead I see this:Spain approves plan to give around 500,000 undocumented migrants legal status
https://www.bbc.com/news/articles/cy511nln2xvo
dbtng@moist.catsweat.comto
Ask Lemmy@lemmy.world•WHY the only men who approach me with amorous intentions are unhealthy, cigarette, alcohol, junk food men??
77·20 days agoBad girls are fun. Fallen angels are even more fun.
dbtng@moist.catsweat.comto
Ask Lemmy@lemmy.world•WHY the only men who approach me with amorous intentions are unhealthy, cigarette, alcohol, junk food men??
23·20 days agoWe want to ruin your life too.




The ‘doing’ part is more important that you indicate.