are any guys welcome back in in this video
I'm gonna be answered all the questions are you guys still have about
IP addressing and subnet masking because yeah we learn the basics of it but now
we're looking at this thing
and let's hear this is the IP address for my own computer
am thinking okay so somehow I'm sposed to extract the network
IP address at this I mean I on doing just like split right here or
0 ages subnet mask for that's a
still kinda confusing and also I mean how many computers are on my network
in whenever I make a network how I know what IP addresses
I'm supposed to use in you know up effort forget about networking I'm done
I'm gonna
you know change majors whatever well just a second an
hopefully by then that this is a row everything is going to be clear
sir member whenever
a computer in other words a router sees this information the first thing
that they always do is they converted to binary so
boom there it is in binary and also the subnet mask
now I don't need explain how to convert these addresses the binary because we
already went over in the last couple videos
but there you go son now okay so this is my IP address
in binary format my own personal computer my
you know desktop/laptop whatever someone to Facebook
and I requested a picture of my ex-girlfriend an
Facebook's servers found that picture and it send it back to me
now it's Senate race you to my personal computer
but now when that data gets to the router its book meant this IP address
and say hey
I don't care about your personal IP address I want the network
IP address what network do you belong to because thats rhymes was a senate
once it's there you know like I said in last video it does its thing
so I'll show you guys how to calculate network IP address and how to extract it
from your own
personal computers IP address so let me straighten our creeks year
and I'll show you guys the easiest way
possible is incredibly easy so all you have to do
when everyone find out what network IP your computer belongs to
where your own IP address on top in binary format
in on bottom break the subnet mask
in binary format now whenever both numbers
equal one raid1 so 11
okay one anytime you see any 0 whether it's
top or bottom or both from rating0 so the only time you're going to have one
is when both to make one
so this one before make want this one to your own
both these equal one 0
111 euro 0
one K this is pretty easy one
01 euro 11 yadda yadda yadda to meet its motto
actually already wrote it out because I don't feel like doing it so I'm just pop
it up
and there you go that is your network ID and of course once we have the binary we
can
converted into a human readable IP address
in there you go so right here
this if I K drop properly is your networks
IP address in this is your own computers
IP address RA so now we know how to figure out the network IP
and yet that was a pretty calm asked Rick ball
why the heck does that work well let's think about this
remember that I told you guys that your IP address
is actually broken up into two parts part of it
is the network's address and part of it is for the host
now we are ready now thanks for something a mask that can be broken up
right here which means that the spar on left
that's all the network IP address this
hurry here this is for the host individual computers
on your network are all gonna have a different one of these numbers
so now that we remember bat we can now understand why this math trick
actually works because whenever we
have a1 rehear what's so she doing
is cocking that part at the IP address
so this par here and this partner here
or always going to be identical now whenever are some that mass has
0n and pretty much says yeah we'll carry out this part your one
yeah I don't really hear your 0 now your one no don't really care you
you're not part of the network IP so forget about you
and that is how all these networking vices know exactly what network
to send that data to so the last piece of the puzzle i wanna talk
how's this art so some server sense and add it to our network
has that networking now which computers send it to you
how many computers are we allowed to have on our network
an most importantly what IP addresses are still issues on our network
how the heck are supposed to figure this out it's actually really easy
when we pop this up so whenever we have
this example rehear we have 16
use will host that means that we can have 16 computers
on our network how do we know this well
we know that we have a 32-bit IP address
now 28 those bits are designated for the network so we can use those for
host that means that we have four bits that can be designated
four devices honor network now remember Kutcher
I told you guys there anytime you want to figure out how many values you can
have the issues too
to the how many bits 4 in the equal 16
so whenever you have four just more places
you can have sixteen different combinations oval ones in 000's
so that's where we get the 16 different values
that we can have for host now remember like a minute ago when I told you guys
eat
this means that you can have sixteen different computers on your network
I lied and that's because you always need a reserved
to IP addresses for special occasions the first one is your network IP
I mean you just can't
have this IP assigned to a device knowing your computers because this is
actually the networks address
so that takes where one right there an
also the very last IP address on your network it's our special broadcasts AP
in
I don't want to get in there right now because I'm sure overloading you with
information right there
but again one for the broadcast
in one for the network IP address now the rest to those IP addresses
hingis assigned to any computers your laptop
your phone your you know desktop whatever
so in this you starting point rehear in
you own 16 IP addresses that follow their
so 140 190 141 not one
140 1.2 all the way 215
because remember 00:02:15 that's how we count least 30 instead one so it's not
want to 16
so there you go so these are usable host the first IP address that you can
actually assigned to a computer
is 169 174 to 140 1.1
in you actually have the IP address is alway the 15
but 15 is that special broadcast one so you can use all these
from this one to this one right here
so there you go all love that we found out
with this bit information pretty stinkin amazing a
now I just wanna go over one other example really quick
just the pound in your guys brain so whenever you want to figure out the
network
IP address are you have to do is compare your IP
in your subnet to binary and remember you do that little one trick someone
rehear
wanna rehear all the way into
before though tomb there you go so that's your networks
IP address in binary format let's go ahead and turn them back into a readable
format and once we have
this information then let me just say okay
so this is the network portion of your IP address
this is the host and what that means
is that we have
let's see how many beds 10 so too
to the 10 is going to give us their
member to reserve to for
the network IP and the broadcast and that means that
we have all up these IP addresses that we can use for computers
on our network so pretty awesome this little chunk of the Internet from here
to hear it belongs to us
pretty stinkin awesome n you know a I decided to give you guys a homework
assignment
just make sure that you guys understand everything that's going on
so this is the IP address right here
and this is the summit that I gave you your job is to give me the network
I P and also for bonus points we can do
Islam gimme be usable host
the IP addresses that you can actually a sign to computers
and you can just leave your answer in the comments section below an
a couple parting thoughts I one point out say that you have a new dress like
our
108 die on Arcelik stupid 2.2
da like us 74 now you know a subnet mask is always a buncha ones followed by a
bunch as heroes
sometimes you may see the notation right after the acute risk people race slash
20 this is just a shorthand version of trading the subnet mask so this means
that I'm gonna rate twenty once
and then the rest charges euros this is actually called cider notation see
II d are and the last thing I wanna point now is
the maximum size up your network ID
can be 30 bits that's a maximum number of the ones that you could have been
your subnet mask
and if you think about it you can have 32
because an IP address is 32 bits and if you made the entire network
32bits te means that you're trying to make a network with no ho Sun
'em a network without any computers
now if you made it 31 in your reserved one bit
for the host that means that you're trying to make a network with only one
computer on
and that's not a network this is a computer's myself
the definition of network is you know computers connected together
so you know just some parting words always there for you guys
anyways there you go that's your homers Simon
leave your answer in the comments section below the first one to get the
answer right
they actually get no prize but you know it'll be pretty cool
also if you guys have any questions at all about anything
asked me on my forearm don't really arm check the you to comment sections that
much
so in my forearm on my website there's a bunch people
willing and able to help so there you go
she next video