In this video, we're going to discuss binary. Binary is a fundamental building block in networks today.
You need to understand binary if you want to be able to work with networks.
It's used in multiple places.
Now, don't worry if you don't know what this means.
We'll explain it later in the course.
But just be aware that you need to know binary to work with access lists or access control lists that
allow you to permit or deny traffic based on an IP address.
When you configure devices in your network with various IP addresses, you may want to permit one device
to talk to another device, but then deny a third device from talking to that second device.
Now, to do that, you permit or deny traffic based on a IP address, whether that's a source IP address
or a destination IP address.
You're going to match specific IP addresses based on a binary representation.
Computers, networking devices and machines use binary.
That's what they understand.
We may use English or another language to communicate.
But machines use binary.
And for you to implement things like access control lists in a network or something like a subnet mask.
So determining what a subnet mask is for a specific network, you need to understand binary.
So make sure that you don't skip this section.
If you don't know the answer to this question.
I've seen this printed on many t shirts.
So if you don't know the answer to this question, then don't skip this section.
There are only one zero types of people in the world, those that understand binary and those that don't.
How would you read that?
Would you read that number as 1 0 as in 10?
Or would you read it as two if you understand this joke?
You probably want to skip this video, the section and go to the next section, but make sure that you
know how to convert IP addresses as in dotted decimal
IP addresses to binary.
If you're not sure what I'm talking about, you don't understand this joke.
Don't worry that 1 0 means two in binary.
So the joke is there are only two types of people in the world, those that understand binary and those
that don't.
If you didn't get the joke.
Don't worry.
By the end of this video, you'll understand this joke and understand where the 1 0 comes from.
Now, as an analogy, to help us understand binary, let's use the analogy of electricity, because
computers, let's be honest, they have chips in them routers and switches, have specific types of
chips known as ASICs or Application Specific Integrated Circuits
It's basically a circuit.
So computers have circuits and they run on electricity.
In electricity.
We either have two states.
Something is on as in this current or power to the device or it's off.
So as an analogy, notice that big like there, that's an old antique lamp.
But I've put a hue bulb in that lamp.
So that's on.
That's off no power.
On those power.
That's of no power.
That's on, on means
current is applied, off means current is removed, so a computer basically only has two states, current
or no current, on a circuit that
however, let me turn that back on again.
That, however, gives us two states.
So one cable gives us two states.
So remember this.
All computers function by using a system of switches that can either be on or off.
Off equals 0.
On equals 1 are binary values or either 0 or 1.
So once again, our analogy.
That's 1.
That's 0. 1 0
I won't bore you too much during that.
The moral of the story is make sure you understand that binary consists of two states or two values.
0 1
That becomes really important now as we scale this analogy.