Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:05,360 --> 00:00:08,050
I'm going to talk about IP addresses in a lot of detail later.
2
00:00:08,090 --> 00:00:13,430
But let's look at an example on this phone and you'll be able to do something similar on an Android
3
00:00:13,430 --> 00:00:16,110
device or Windows P.C. and so forth.
4
00:00:16,130 --> 00:00:17,860
I'm going to go to settings.
5
00:00:18,020 --> 00:00:24,260
I'm going to look at the information about my wireless network and what I can see here is that my IP
6
00:00:24,260 --> 00:00:27,040
address was configured automatically.
7
00:00:27,170 --> 00:00:30,680
Basically a server allocated an IP address to my phone.
8
00:00:30,680 --> 00:00:38,030
That's very typical of network so using what's called DHEA or Dynamic Host Configuration Protocol a
9
00:00:38,030 --> 00:00:42,010
server allocates an IP address to your device.
10
00:00:42,050 --> 00:00:48,050
In this example my IP address on the phone is 1 9 2 1 6 8 1 72.
11
00:00:48,050 --> 00:00:57,290
Now that is a full octet IP address IP version 4 octet 8 binary values.
12
00:00:57,290 --> 00:01:06,740
Hopefully it makes a bit more sense now 192 in decimal equates to 1 1 0 0 followed by 4 zeros.
13
00:01:06,770 --> 00:01:14,270
So 1 1 and 6 binary zeros is the equivalent of 1 only 2 in decimal.
14
00:01:14,270 --> 00:01:23,200
So we've got an 8 but binary number 192 followed by a dot followed by another 8 but binary number.
15
00:01:23,210 --> 00:01:33,440
In this example 168 followed by another number one followed by the lost number 72 for octet or for binary
16
00:01:33,440 --> 00:01:41,690
eights gives us an IP version 4 address with the length of 32 bits 8 plus eight plus eight plus 8 32
17
00:01:42,050 --> 00:01:43,970
bits in binary.
18
00:01:43,970 --> 00:01:50,450
So 1 only 2 is an 8 but binary number which equates to 1 1 followed by 6 zeros.
19
00:01:50,450 --> 00:01:52,460
We could do something similar for 168.
20
00:01:52,460 --> 00:01:59,240
We could work out what that is in binary one is fairly simple it's seven binary zeros followed by a
21
00:01:59,240 --> 00:02:03,240
binary one gives me decimal 1 and then we've got 72.
22
00:02:03,410 --> 00:02:08,930
We've also got a subnet mask subnet masks become very important to determine if our host is on the same
23
00:02:09,080 --> 00:02:10,170
subnet as you.
24
00:02:10,250 --> 00:02:16,250
We'll talk about that in more detail in the submitting section but hopefully now you can recognize 255
25
00:02:16,670 --> 00:02:24,950
255 is eight binary ones so you've got eight binary ones 255 and another eight binary ones 255 third
26
00:02:25,580 --> 00:02:28,950
255 is equivalent to eight binary ones.
27
00:02:29,060 --> 00:02:34,400
And then we've got eight binary zeros 32 that subnet mask once again.
28
00:02:34,400 --> 00:02:43,670
So for octet or for groupings if you like of binary ones and zeros which are eight bits in size then
29
00:02:43,670 --> 00:02:47,320
we've got a default gateway 1 9 2 1 6 8 1 249.
30
00:02:47,390 --> 00:02:53,630
That is an example of an IP version for dress with its subnet mask and default gateway.
31
00:02:53,630 --> 00:02:59,850
In this example on my phone you could do something similar on a computer.
32
00:03:00,080 --> 00:03:10,050
So in my example I could go to my wireless connection on my P.C. open network preferences and what I
33
00:03:10,050 --> 00:03:18,810
can see here is my Wi-Fi connection on this laptop or MacBook in this case has an IP address of 10 0
34
00:03:18,810 --> 00:03:20,350
0 2.
35
00:03:20,460 --> 00:03:28,020
If I go to advanced DCP IP PCV IP is the protocol that we're using IP version 4 is the IP version that
36
00:03:28,020 --> 00:03:39,930
we're using here we can see IP addresses 10 0 0 2 subnet mask 255 255 255 0 Rodda is 10 0 0 1 IP version
37
00:03:39,930 --> 00:03:47,640
4 address is an address used to uniquely identify a device on an IP version for network we have what
38
00:03:47,640 --> 00:03:53,310
are called IP version for addresses which would look something like this and then we have IP version
39
00:03:53,310 --> 00:03:59,670
6 addresses don't worry about this at the moment but we could have an IP version 6 address that looks
40
00:03:59,760 --> 00:04:04,610
something like this so we won't worry about HPV 6 for the moment.
41
00:04:04,620 --> 00:04:07,250
My provision for is for tits.
42
00:04:07,250 --> 00:04:09,720
In other words four times eight.
43
00:04:09,770 --> 00:04:15,040
That's an IP version 4 dress so each value in octet is 8 bits.
44
00:04:15,050 --> 00:04:20,970
Or as an analogy once again 8 cables in the range 0 to 255.
45
00:04:20,970 --> 00:04:28,310
So if we looked at 10 as an IP address 10 looks like this and I'll explain that in more detail in a
46
00:04:28,310 --> 00:04:29,000
moment.
47
00:04:29,030 --> 00:04:30,590
129 looks like this.
48
00:04:30,620 --> 00:04:32,210
Sixteen looks like this.
49
00:04:32,210 --> 00:04:34,170
And 123 looks like this.
50
00:04:34,280 --> 00:04:39,080
We can write the IP address as a decimal IP address a dotted decimal.
51
00:04:39,080 --> 00:04:43,610
That's the most common way to write it but devices use binary.
52
00:04:43,730 --> 00:04:49,460
When you create an access list or do something where you need to permit or deny traffic you're going
53
00:04:49,460 --> 00:04:51,170
to want to think in binary.
54
00:04:51,170 --> 00:04:54,030
Have a look at the binary to understand what's going on.
55
00:04:54,110 --> 00:05:00,440
Devices such as Rodders and firewalls use binary to determine what's permitted or denied.
56
00:05:00,440 --> 00:05:02,420
Okay so here's our example.
57
00:05:02,420 --> 00:05:03,740
We've got 10.
58
00:05:03,770 --> 00:05:08,630
Are you able to work out why it equals this.
59
00:05:08,990 --> 00:05:12,410
Again pause the video if you want more time to work it out for yourself.
60
00:05:12,470 --> 00:05:14,450
But here's the answer.
61
00:05:14,450 --> 00:05:22,610
Using our table this is what the binary number looks like for zeros followed by one followed by binary
62
00:05:22,610 --> 00:05:25,560
zero followed by one followed by binary zero.
63
00:05:25,580 --> 00:05:30,640
Now to get to 10 10 minus 128 would be a negative number.
64
00:05:30,680 --> 00:05:33,830
So it wouldn't be this minus 64 is a negative number.
65
00:05:33,830 --> 00:05:42,110
Wouldn't be that wouldn't be that wouldn't be that but 10 minus eight gives us two so eight plus two
66
00:05:42,560 --> 00:05:48,570
like that equals ten which means we set this bit on and this but on.
67
00:05:48,580 --> 00:05:52,340
Remember this is equal to two to the power of three.
68
00:05:52,400 --> 00:05:55,480
So two states three cables equals eight.
69
00:05:55,490 --> 00:05:58,910
Yeah we've got two states one cable.
70
00:05:58,910 --> 00:06:00,820
Decimal equivalent is two.
71
00:06:00,860 --> 00:06:06,040
So this in binary is equal to 10 in decimal.
72
00:06:06,050 --> 00:06:07,840
Now I'm hoping that makes sense.
73
00:06:07,850 --> 00:06:09,490
I going to do a few more examples now.
74
00:06:09,500 --> 00:06:12,130
So we're going to look at one twenty nine as an example.
75
00:06:12,260 --> 00:06:17,390
If you want a whole bunch of examples have a look at those quiz questions that I have on my website
76
00:06:17,480 --> 00:06:23,320
but feel free to ask questions if you struggling or if you need me to explain this a different way.
77
00:06:23,360 --> 00:06:30,050
So looking at 129 129 minus 128 gives us 1.
78
00:06:30,110 --> 00:06:32,060
So this slide is actually wrong.
79
00:06:32,060 --> 00:06:38,370
This should be a zero because one hundred and twenty nine minus 128 gives us one.
80
00:06:38,420 --> 00:06:44,170
It doesn't allow us to minus 64 and still have a positive number.
81
00:06:44,270 --> 00:06:48,970
So 128 plus one equals 129.
82
00:06:49,340 --> 00:06:50,990
So this slide is actually wrong.
83
00:06:50,990 --> 00:06:57,860
Let me update it right now because that should be 1 followed by six zeros and a 1 and this should be
84
00:06:58,070 --> 00:07:06,360
1 followed by six zeros and a 1 128 plus one equals 129 definitely not plus 64.
85
00:07:06,440 --> 00:07:11,520
Okay so that looks better 128 plus one equals 129.
86
00:07:11,630 --> 00:07:15,150
So that's the binary equivalent of 129 nine.
87
00:07:15,980 --> 00:07:19,450
You could always use a calculator once again to check your work.
88
00:07:19,470 --> 00:07:27,050
So 129 in decimal equals that in binary in the exam once again you don't have access to a calculator
89
00:07:27,080 --> 00:07:28,930
so you'll need to know this stuff.
90
00:07:29,150 --> 00:07:31,190
Sixteen is fairly easy.
91
00:07:31,190 --> 00:07:37,820
Sixteen is just this binary but so that's what sixteen looks like in binary.
92
00:07:37,820 --> 00:07:40,440
That's what it looks like in decimal.
93
00:07:40,550 --> 00:07:51,290
And then we've got 123 now 123 minus 128 would be less than zero so it's not equal to that but 123 minus
94
00:07:51,470 --> 00:07:54,560
64 equals fifty nine.
95
00:07:54,590 --> 00:08:02,370
So in other words we'll set this value on fifty nine minus thirty two equals twenty seven so that that
96
00:08:02,380 --> 00:08:09,440
will be set on twenty seven is greater than sixteen so we'll set this button on twenty seven minus sixteen
97
00:08:09,470 --> 00:08:16,700
gives us eleven that's greater than eight so we'll set this but on eleven minus eight gives us three
98
00:08:17,210 --> 00:08:23,930
three minus four is a negative number so that but to set off but three minus two equals one so that
99
00:08:23,930 --> 00:08:28,900
but set on and so is this but to give us zero.
100
00:08:28,910 --> 00:08:35,600
So 123 looks like that in binary it's sixty four plus thirty two plus sixteen plus a plus two plus one
101
00:08:36,110 --> 00:08:43,430
equals 123 binary value a decimal value I don't know how easy you found that a lot of this depends on
102
00:08:43,430 --> 00:08:48,680
how good your basic arithmetic is that's obviously a lot easier and that's a lot easier than working
103
00:08:48,680 --> 00:08:56,240
out 123 but the principle applies same principle applies Okay so if you want some unlimited tests you
104
00:08:56,240 --> 00:09:01,940
can go to David Bumble dot com and go to free quizzes there's a binary two decimal quiz as well as a
105
00:09:01,940 --> 00:09:08,180
decimal to binary quiz these are unlimited quizzes they'll just ask you over and over again what are
106
00:09:08,180 --> 00:09:15,510
the values all Okay so that wraps up the binary section I've added some quizzes to the course but once
107
00:09:15,510 --> 00:09:19,890
again you could use those online quizzes if you prefer it's important that you know how to work with
108
00:09:19,890 --> 00:09:25,860
binary it can be quite boring but it's a fundamental building block that you need to know to be able
109
00:09:25,860 --> 00:09:29,430
to work in the real world as well as pass the CCMA exam.
11513
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.