NetworkChuck
Day 18Subnetting

i bet you can't do this (because you still suck at subnetting)

19m2 chapters92 cues1 card
Day 18YT: 2-i5x8KCfIISponsor: SafeDNS

Okay this is gonna break your brain just a little bit but this right here is an IP

00:00 / 18:46

Synchronized Transcript

92 cues indexed • Click dialogue or words to jump
Reading Now

Okay this is gonna break your brain just a little bit but this right here is an IP

NetworkChuck

Okay this is gonna break your brain just a little bit but this right here is an IP address what yeah no it is but you're probably thinking chuck no IP addresses look like this and sure you're right.

NetworkChuck

But this right here is how your computer how all computers see your IP address it's like putting on some special glasses and seeing the code in the matrix this is your IP address in the matrix.

NetworkChuck

So get your copy ready we're about to get jacked in to the matrix that's how you say it right yeah let's go so here is an IP address this might be your IP address and if you watch the previous episodes in this series this looks familiar.

NetworkChuck

This is nice and fuzzy four numbers four octets separated by three dots but then we just put on our matrix glasses we're seeing this IP address in computer code.

NetworkChuck

This is referred to as binary the language of computers now if we look back at the previous version let me switch it back this we refer to as decimal and this is binary our goal in this video is to understand.

NetworkChuck

First what the junk is happening with this binary what even is this and second we're going to learn the magic what I just showed you the yeah check it out that's cool right let's do it again you're gonna learn how to do that we're gonna learn how to convert from decimal to binary.

NetworkChuck

And then binary to decimal now you're probably thinking why like why is it so important that I need to see the matrix code of my IP addresses well honestly this is kind of a wax on wax off scenario learning this skill right here is going to help you do something later.

NetworkChuck

This is essential to doing subnetting because right now you suck at it and we want to we want to change that so in this video just think this is going to help me subnet I am going to become a decimal to binary conversion ninja or getting back to our analogy you're you're the one you are neo you can.

NetworkChuck

See the code going through the air you know so let's make that happen right now so here we go take one more sip of coffee we're gonna dive deep here and trust me once you learn this it's kind of fun to do kind of fun no it's really fun that I'm gonna leave it there.

NetworkChuck

But before I show you how to do this let's talk about what's even going on here we know this is binary but huh huh what does that even mean now first what I want you to do is count how many numbers there are here how many digits go ahead and count right.

NetworkChuck

Now I'll wait pause the video unpause how many were there 25 right no wrong 32 32 numbers here right or we could also say 32 32 bits what does that mean well you.

NetworkChuck

See in computers and in the matrix everything has a size right like this video I'm recording right now it's 4k it will likely be about 60 gigabytes right nick yeah this picture of bernard hackwell is about 10 megabytes and this text file I just created is 29 bytes.

NetworkChuck

Now you probably noticed that I'm going down in size right going from gigabytes to megabytes I know I skipped kilobytes relax all the way down to bytes big to small right you got it.

NetworkChuck

But we can go even lower even smaller than bytes you probably saw this is coming we can go from bytes to bits and that's what we're seeing here each of these numbers these digits are bits the ground floor as low as we can go as far as size and computers goes go.

NetworkChuck

Let me ask you a question you might already know this how many bits make up a byte pause the video comment below on pause if you guessed eight you're right eight bits make one bite.

NetworkChuck

So if I were to ask you how big is an IP address and bits you might say how many 32 bits and then I might ask you hey how big is an IP address in bytes what would you say four right notice how each of our octets is eight bits we have four octets at eight bits each eight times four thirty.

NetworkChuck

Two so to sum this up as you're looking at this binary number what you're actually looking at is the lowest level of storage in a computer the lowest size the raw data and we just discovered why we call these sections between the dots octets well.

NetworkChuck

Because um octo eight they're eight bits octo octets there you go octopus octets so IP addresses 32 bits that's cool.

NetworkChuck

But now let's talk about what what are these numbers even doing like I don't see a lot of number diversity here all I see are ones and zeros and the reason is.

NetworkChuck

That's just what binary is ones and zeros and that's frankly all your computer cares about one and zero but it's more than just like one and zero it's what the one and zero are communicating to the computer you.

NetworkChuck

See one one indicates on and zero indicates off that's literally what it means it's like a light switch on off like nosferatu can speak binary and he's communicating with a computer hey off on.

NetworkChuck

No on off on with a computer hey off on no on off like legit think about this on on off off off and by doing that we're off off off and by doing that we're communicating something to the computer you're probably thinking what what what is it even doing what does on and off have to do with this number in IP addresses addresses this about to show you something it's going to get.

NetworkChuck

A little weird but just hang tight with me it will all make sense here in a moment this is where it happens you're about to learn how to take the matrix code of IP addresses and convert them back into decimal we're going to convert this IP address back to what we know and love decimal.

NetworkChuck

So here we go coffee break let's get weird I'm gonna start writing some random numbers hang tight with me one two and I'm writing them backwards right one two four eight sixteen thirty-two sixty-four one twenty-eight this right here our little chart.

NetworkChuck

That's gonna save your life this is our powers of two chart and it's the secret sauce it's our secret decoder ring to convert from matrix to regular stuff.

NetworkChuck

Now what do I mean by powers of two well I mean this the first number is two to the power of zero if we get our handy dandy calculator out two to the power of zero is one that matches then we have two to the power of one which is two.

NetworkChuck

Now you can see where I'm going with this the next thing will be two to the power of two and so on and so on this will make sense here in a moment but I want you to remember how to build this chart you can actually do it two ways one is this way to get the powers of two start with zero two to the power of zero is one and go all the way until you get to two of the power of seven which is eight digits total right one two three.

NetworkChuck

Four five six seven eight the power of two's table it's our secret power or you can just start with one and multiply by two each time so one times two is two two times two is four four times two is eight eight times two sixteen sixteen doesn't say you got it you got it right either way you want to build this amazing chart right.

NetworkChuck

Here why because watch this the magic is about to happen whoa pause you've been working hard you've been learning a lot so let's take a quick coffee break and talk about today's sponsor safe DNS.

NetworkChuck

Now I'm not sure if you knew this but the biggest threat to your network whether it's your home or your business is you and it's your family and it's your co-workers it's their fault from accessing questionable websites that can compromise your security whether it's your home or your business to accessing time-wasting websites and really websites no one should be looking at like your kids what are your kids looking at they're.

NetworkChuck

Curious MAN you gotta block some stuff and if your network's kind of like the wild west where people can just access whatever they want that is your biggest security weakness so how do we protect you from you that's where our sponsor comes in safe DNS safe DNS is a cloud-based DNS filter.

NetworkChuck

That's ridiculously easy to get set up and installed and also once installed it just kind of sits there and does its thing you don't have to worry about it set it and forget it saving you money and time you can set up safety and ask to cover your entire network by using your router or you can install a safe DNS agent on individual devices well.

NetworkChuck

Let me show you once set up safetyness will use machine learning and ai to block stuff based on categories that you set so check it out here in the dashboard I can jump over to categories and I can choose from 61 individual categories ranging from cyber security stuff to illegal activity to just time wasters and general crap that maybe you don't want your people to.

NetworkChuck

See or use or access they also have compliance with regulations like the cipa bp jm and others including project arachnid they actually receive child abuse image content list from the Internet watch foundation and.

NetworkChuck

If you do want to allow or deny things outside those categories you can do that right here allow lists things like NetworkChuck coffee delicious and deny stuff like maybe ground your kids or protect your co-workers from crappy coffee and.

NetworkChuck

If they do try to access these sites they will get blocked protecting them from malicious coffee attacks or dating websites because my daughters are not ready to date yet nor will they ever be and looking at our settings we have a ton of options here I can define separate policies define schedules for those policies and do advanced things like forcing safe search enforcing.

NetworkChuck

Restricted mode for YouTube I can do custom block pages as you saw that I had earlier and even add aliases custom DNS record entries for your host which is super powerful and of course.

NetworkChuck

When you want to geek out they have all the stats going up here too uh stats and just looking at today I can see all the requests coming in all the blocks all the categories my family's been accessing the domains they're visiting and to go more granular of course I can go detailed right here where I can export reports and get some cool data and also safe DNS has lightning.

NetworkChuck

Fast support replying to your chats within like two minutes actually let's see if they'll do it live test so if you're ready to protect your house your kids your company check out safety s link below use the codes here on the screen or below and you'll get two months free either for home.

NetworkChuck

Or for business and look they're already typing that wasn't under a minute so I I wasn't lying for this next part we're going to bring back in nosferatu to help us and what I mean is we're gonna take this.

NetworkChuck

First octet over here and write it out notice how there are eight bits or eight numbers in our first octet and there are also eight numbers we wrote down in our chart let's match them up so one one zero zero zero zero zero zero here we go no straw two are you ready.

NetworkChuck

Remember one means on zero means off here we go the first number one twenty eight is it off or on it's on so let's write it down one twenty eight the second number sixty-four is it on or off it's on one means on thanks nosferatu sixty-four the rest they're all zeroes they're off.

NetworkChuck

Let's raw two flick the line zero zero zero zero so none of these numbers are going to carry down so all the rest of the numbers are off we don't need them here's what I want you to do and this again still feels weird I know I want you to add the numbers that we're on together 128 plus 64 gives us 192. This right here it's a big moment for you.

NetworkChuck

Because right here we just converted our first octet from matrix code from binary to decimal legit that's what we did this number right here is 1 92 and decimal.

NetworkChuck

That's kind of cool right let's do our next one let's bring our next octet down line up our numbers one zero one zero zero zero and with the help of nosferatu.

NetworkChuck

Let's see what carries over let's see what's turned on and what's turned off we've got 128 no no 64 32 we got that sucker no 16 we do have an 8 no 4 no 2 no 1..

NetworkChuck

So we're left with 128 and 32 and 8. Now let's add those together 128 plus 32 is 160 and then 160 plus 8 is 168..

NetworkChuck

So the second octet in decimal is 168. Is 168. Now it's starting to look familiar isn't it now I'm starting to see the IP address the way we learned it let's do it again.

NetworkChuck

But faster our third octet in fact I want you to do this by yourself so pause the video and see if you can do this write this down and with the help of nosferatu I know you can do it pause the video the video unpause.

NetworkChuck

Let's walk through it real quick let's bring down our binary zero zero zero zero zero the only number that's turned on is the last one we got ourselves a one and one plus nothing else is one and that's the.

NetworkChuck

Next number in our IP address that's what this octet means and finally the last one bring that sucker down match up our binary to our chart zero zero zero one zero one zero one that was a lot those fraud two help us out bring down our 16 bring down our four bring down our one 16 plus four is 20 plus one is 21. Guys.

NetworkChuck

That's it that's our IP address you we just converted our ipad just from matrix code from binary to decimal how cool is that if you don't think that's cool I don't know what to tell you drink some more coffee rewind.

NetworkChuck

Watch it again ah coffee's a bit cold already I need to warm it up okay now let's uh switch it up let's do it in reverse let's take an IP address in decimal format the way we know and love and let's convert that to matrix code huh how do you do that well with the same chart guys it's easy we already have the magic decoder translation here.

NetworkChuck

Here's our IP address and decimal format let's convert the sucker to matrix code to binary like always we'll start with our first octet we got 172 here now don't worry we are still going to use nosferatu he's standing by he's ready.

NetworkChuck

But it's gonna be a bit different here so here's what we'll do we'll bring down 172 right next to 128 and we'll say hey can we take 128 away from 172 are we able to subtract 128 from 172. The answer is yeah yeah we can and.

NetworkChuck

Because we can that means this one is on no sprout to help us out 128 is on one now for a bit of math we'll do it up here 172 minus 128 a little bit math 12 minus there we go four six minus two we got four cool.

NetworkChuck

So now we have 44 left over so 172 minus 128 is 44. We have 44 left over so now what we'll do is we'll take this 44 over here and go hey can 44 have 64 taken away from it no no it can't.

NetworkChuck

So nosferatu help us out 64 is going to be off zero and then we'll keep going down the line hey can 44 have 32 taken away from it uh heck yeah it can it totally does.

NetworkChuck

So nosferatu help us up 32 is going to be on 44 minus 32. We got 12 left can we take 16 away from 12 no right I think you're seeing the pattern here nosferatu help us out it's going to turn off we don't need 16..

NetworkChuck

Let's move down the line can we take 8 away from 12 heck yeah we can let's do that we got 4 left over oh we forgot to make 8 on there we go let's move on down the line can four have four taken away from it totally can those raw two turn it on.

NetworkChuck

And then if we do our math this one's an easy one four minus four we got zero and because zero can't have two taken away from it or zero taken away from it then the last two bits here are going to be turned off zero and zero thanks for the help nosferatu.

NetworkChuck

So what we just did look at the bottom here one zero one 1 0 0 we just zero one 1 0 0 we just converted the number 172 to binary now I want you to try the next one try the.

NetworkChuck

Next octet which is 16. Pause the video see what you got unpause now here I'll walk through it real quick and you might be surprised that this one is kind of quick.

NetworkChuck

Because if we take 16 we go to the first one hey can't take 128 from it can't take 64 from it can't take 32 from it so right off the bat nosferatu already knows and it'll help us do this.

NetworkChuck

But those have to be turned off but when we get to 16 dude heck yeah we can take 16 away from 16. Let's turn that bit on thanks no sprott2 and then with some math magic 16 minus 16 we got zero.

NetworkChuck

And then going down the line can you take eight away from zero no four turn it off two no turn on off one no turn it off at 16 the rest of the bit to be turned off.

NetworkChuck

Because we we can't subtract anymore we're done and we just converted the number 16 to binary to matrix code so now go ahead pause the video and try the.

NetworkChuck

Next two octets or the last two octanes 34 and three go unpause let's walk through it real quick so the third octet we got 34. Can 128 be taken away from 34 no about 64. No 32 uh heck yeah 34 minus 32 we got 2.

NetworkChuck

So 16 0 eight is zero four is zero but two can be taken away from zero that's going to be a one and then now that we have zero that's turned off bam there is our.

NetworkChuck

Third octet and then finally the number three can 128 be taken away from three no it's turned off no straw two help us out 64. No 32 no 16 no eight no four not even four no.

NetworkChuck

But two hey three minus two we got that so let's turn two on three minus two is one can one be taken away from one hundred percent that's gonna be turned on and we're done that is our number in binary three in binary and there it is we did it using our magic decoder ring our fancy handy-dandy.

NetworkChuck

Chart we converted decimal back into binary okay okay take yourself a sip of coffee that was a lot you just learned how to decode the matrix for your IP address.

NetworkChuck

Anyway we saw the IP address the way our computer see it it binary 32 bits of matrix code and we converted that matrix code back into a decimal format the way we like to read it.

NetworkChuck

And then sucker we put that back into binary now this is a skill that you need to hone and learn and practice and solidify cement into your brain because this is one of those building blocks.

NetworkChuck

This is leg day this is what you need don't skip it to be able to become a subnetting master but don't worry because all you need is this chart right here our super secret decoder ring that will help us convert from binary to decimal and decimal to binary.

NetworkChuck

Now don't worry if you're like MAN that was that was a lot that's kind of heavy that's fine go back and rewatch the video when I first learned this it took me a bit and honestly to like really get that going in your brain you got to practice it.

NetworkChuck

So if you're doing some extra practice I will have some below at NetworkChuck academy so check it out and also hey have you hacked the YouTube algorithm today let's make sure you do hit that like button notification bell comment subscribe you gotta hack YouTube today ethically of course.

NetworkChuck

Okay here we go fair warning this is not gonna be for little ears or if you're airing this episode to a classroom you might wanna turn it off at this point because we're gonna talk about something that you don't have covered yet no I know you've got decimal to binary in binary to decimal conversion covered.

NetworkChuck

But you know you don't have covered your butt your balls and your body so awkward to say but you know who does have it covered our sponsor manscaped manscaped is going beyond the groin which is.

NetworkChuck

So awkward to say with a brand new lineup of men's products called the manscaped ultra premium collection ultra premium awesome they couldn't include any more words there legit I've been using this every day and I love it it's awesome I'm not even kidding.

NetworkChuck

This is an all-in-one skin and hair kit for the everyday MAN and covers you from head to toe and they do this thing where it's like a five steps and five minutes thing like you again it covers you from head to toe because you gotta take care of yourself.

NetworkChuck

So let me show you the steps and I apologize in advance you're about to see me get in the shower and this is just what's happening right now step one you get in the shower and you you put in some shampoo into your hair it's.

NetworkChuck

If you use a coconut water green tea aloe turmeric this non-greasy formula is naturally hydrating and rich in antioxidants to revitalize the look and feel of your hair it also smells pretty freaking good my wife likes it step two once your hair is rinsed pump the manscaped body wash into your washcloth or loofah and scrub your entire body vigorously body wash also.

NetworkChuck

Has stuff in it like aloe and uh sea salt it also smells good it makes your skin feel good and once you're all washed and rinsed get out of the shower towel off and oh oh oh you're not done yet you gotta moisturize.

NetworkChuck

But I don't have time to sit there and lotion all over my body no they got a 360 degree hydrating spray which actually is I I use it legit every day it'll moisturize all those um hard to reach areas.

NetworkChuck

And then step four of course you need deodorant because you're gonna stink you're going to so please use deodorant please this stuff is aluminum free stain free and dry is clear and like everything so far it smells pretty stinking good and.

NetworkChuck

Finally step five you probably can't see this because my mustache is covering it but you want to apply some lip balm it actually has vitamin e and peppermint and eucalyptus to help soothe hydrate and seal in moisture and boom.

NetworkChuck

That's it five steps in five minutes and all that stuff you just used is cruelty free paraben free and vegan so you can just no don't eat it don't eat it no I'm still using the products they sent me.

NetworkChuck

But I'll probably do this they have a manscaped peak hygiene plan so you can make sure you never run out of the products which surprisingly I still have not run out because that stuff lasts a long time but I'm gonna go and do this too.

NetworkChuck

So you should do it you can pick a replenishment cycle that will you know recycle and replenish your stuff when you need to get some more and it's delivered right to your door no stress.

NetworkChuck

So go to manscape.com and use code NetworkChuck you'll get 20 off we're just use the link below and you get free international shipping which is kind of crazy so again in case you didn't hear me and you clean out your ears or some manscape products.

NetworkChuck

That's 20 off with the code NetworkChuck and free international shipping so thank you manscape for making you feel super awkward on camera and for sponsoring this video this video please go don't just be in vain buy their stuff.

Keyboard shortcuts

Shortcuts are ignored while you are typing in a search box, note field, or the scratchpad.

Playback

SpaceK
Play or pause
←→
Seek 5 seconds
JL
Seek 10 seconds
C
Toggle in-video captions

Scrubber (when focused)

←→
Seek 5 seconds
Shift←/→
Seek 10 seconds
Page UpPage Down
Seek 30 seconds
HomeEnd
Jump to start or end

Flashcards

Space
Reveal the answer
1234
Grade Again / Hard / Good / Easy

Navigation

←→
Move between study-mode tabs
HomeEnd
First or last study-mode tab
?
Open or close this sheet