1
00:00:07,110 --> 00:00:08,850
- [Instructor] Let's briefly
talk about the difference

2
00:00:08,850 --> 00:00:12,750
between static and dynamic addresses.

3
00:00:12,750 --> 00:00:17,340
A static IP address is one
that is configured manually.

4
00:00:17,340 --> 00:00:22,050
We, as administrators,
actually type in the IP address

5
00:00:22,050 --> 00:00:27,050
to important devices, servers,
and things of that nature.

6
00:00:27,300 --> 00:00:30,300
However, dynamic IP
addresses are ones that are

7
00:00:30,300 --> 00:00:33,030
configured automatically.

8
00:00:33,030 --> 00:00:36,390
Clients will normally get dynamic IPs.

9
00:00:36,390 --> 00:00:39,990
They will obtain their IP
information automatically

10
00:00:39,990 --> 00:00:44,520
from a DHCP server
somewhere on the network.

11
00:00:44,520 --> 00:00:47,130
So here we have a laptop and a server.

12
00:00:47,130 --> 00:00:49,800
Generally a laptop would be assigned

13
00:00:49,800 --> 00:00:54,300
an IP automatically by a DHCP server.

14
00:00:54,300 --> 00:00:59,300
So this would be obtaining
dynamic IP address information.

15
00:00:59,370 --> 00:01:03,870
However, the server itself,
we would normally configure

16
00:01:03,870 --> 00:01:07,560
with a static IP address so that we know

17
00:01:07,560 --> 00:01:12,560
what the IP address is and we
know that it'll never change.

18
00:01:12,630 --> 00:01:15,030
But it doesn't make any
sense to use static IPs

19
00:01:15,030 --> 00:01:17,700
on clients because there's so many

20
00:01:17,700 --> 00:01:20,700
and it would take so long
to manually configure those.

21
00:01:20,700 --> 00:01:25,700
So we set them up to automatically
get their IP information.

22
00:01:25,770 --> 00:01:30,243
Let's show an example on
a Windows 10 system here.

23
00:01:31,080 --> 00:01:35,100
And I'm in the network
connections window in Windows 10.

24
00:01:35,100 --> 00:01:38,160
And you can see, I have a lot
of network connections here

25
00:01:38,160 --> 00:01:40,320
but the important ones are this.

26
00:01:40,320 --> 00:01:44,490
This is my wired connection,
which is known as Ethernet.

27
00:01:44,490 --> 00:01:48,453
And this, which is my wireless
connection known as Wi-Fi.

28
00:01:49,290 --> 00:01:53,100
The wired connection I
have configured manually,

29
00:01:53,100 --> 00:01:54,960
it's a static IP.

30
00:01:54,960 --> 00:01:57,630
I want it that way so
that I know exactly what

31
00:01:57,630 --> 00:01:59,880
the IP address is and I can connect to it

32
00:01:59,880 --> 00:02:02,880
and make changes to it whenever I want.

33
00:02:02,880 --> 00:02:07,170
But the Wi-Fi connection
is configured dynamically.

34
00:02:07,170 --> 00:02:09,840
It's obtaining an IP address automatically

35
00:02:09,840 --> 00:02:11,733
from a SOHO router.

36
00:02:12,570 --> 00:02:14,493
So let's show the properties for each.

37
00:02:16,290 --> 00:02:17,643
Prod redo that sentence.

38
00:02:19,920 --> 00:02:22,530
So let's show the properties for each.

39
00:02:22,530 --> 00:02:24,720
If we right click on
the Ethernet connection

40
00:02:24,720 --> 00:02:25,990
and go to properties

41
00:02:27,570 --> 00:02:31,590
And then scroll down to
internet protocol version four

42
00:02:31,590 --> 00:02:36,590
and click properties, you'll
see the IP information.

43
00:02:37,050 --> 00:02:39,457
And you can see that we have
selected the radio button

44
00:02:39,457 --> 00:02:41,760
"used the following IP address".

45
00:02:41,760 --> 00:02:44,640
and I've already typed
in all this information.

46
00:02:44,640 --> 00:02:47,520
So the IP address for
this particular laptop

47
00:02:47,520 --> 00:02:51,030
is 10.42.0.250.

48
00:02:51,030 --> 00:02:54,720
And all the other information
has to be typed in as well.

49
00:02:54,720 --> 00:02:57,780
So this is a static IP configuration,

50
00:02:57,780 --> 00:02:59,640
it's manually configured.

51
00:02:59,640 --> 00:03:01,590
I actually did it.

52
00:03:01,590 --> 00:03:05,130
I'm gonna cancel out of these
and go to the Wi-Fi adapter.

53
00:03:05,130 --> 00:03:07,650
We'll right click on that
and go to properties.

54
00:03:07,650 --> 00:03:09,600
And once again, go down to

55
00:03:09,600 --> 00:03:12,960
internet protocol version
four and properties.

56
00:03:12,960 --> 00:03:15,937
Here you can see that it says

57
00:03:15,937 --> 00:03:18,600
"obtain an IP address automatically".

58
00:03:18,600 --> 00:03:22,050
And in fact, this is the default setting

59
00:03:22,050 --> 00:03:25,320
for Windows clients.

60
00:03:25,320 --> 00:03:28,440
Their TCPIP settings will be set

61
00:03:28,440 --> 00:03:30,630
to obtain an IP address automatically

62
00:03:30,630 --> 00:03:34,263
and obtain DNS server address
automatically as well.

63
00:03:35,400 --> 00:03:37,920
And so I'm actually
getting this information

64
00:03:37,920 --> 00:03:41,070
from the DHCP server on my network

65
00:03:41,070 --> 00:03:43,293
which is within a SOHO router.

66
00:03:45,840 --> 00:03:48,210
And if you wanted to see that information

67
00:03:48,210 --> 00:03:50,550
you could go to your command line.

68
00:03:50,550 --> 00:03:53,010
For example, we could go to the PowerShell

69
00:03:53,010 --> 00:03:55,660
and run an IP config slash all

70
00:03:56,730 --> 00:03:57,930
that'll show the information

71
00:03:57,930 --> 00:04:00,480
for all of our network connections.

72
00:04:00,480 --> 00:04:02,670
Now we have a ton of those.

73
00:04:02,670 --> 00:04:05,340
So we'll scroll back to the top here.

74
00:04:05,340 --> 00:04:08,040
And the main one I want is
the one called Ethernet.

75
00:04:08,040 --> 00:04:10,230
That's my wired connection.

76
00:04:10,230 --> 00:04:11,640
If we look here, it says

77
00:04:11,640 --> 00:04:14,013
DHCP enabled, no.

78
00:04:17,580 --> 00:04:18,963
Prod redo that sentence.

79
00:04:21,720 --> 00:04:24,600
If we look here, it says DHCP enabled.

80
00:04:24,600 --> 00:04:26,280
And here it says, no.

81
00:04:26,280 --> 00:04:31,020
No DHCP, we are not obtaining
an IP address automatically.

82
00:04:31,020 --> 00:04:33,060
I have configured it statically.

83
00:04:33,060 --> 00:04:34,320
And there's that address,

84
00:04:34,320 --> 00:04:38,040
10.42.0.250.

85
00:04:38,040 --> 00:04:42,210
So this is the statically
configured, wired connection

86
00:04:42,210 --> 00:04:44,520
known as Ethernet that we showed

87
00:04:44,520 --> 00:04:48,813
in the properties here
in this Ethernet device.

88
00:04:49,830 --> 00:04:53,100
And within our IP config slash all,

89
00:04:53,100 --> 00:04:57,520
if we scroll down and
look for our Wi-Fi adapter

90
00:04:59,220 --> 00:05:04,110
and here it is, it's a wireless
land adapter called Wi-Fi

91
00:05:04,110 --> 00:05:06,690
we'll see DHCP enabled.

92
00:05:06,690 --> 00:05:08,940
Indeed, yes, it is.

93
00:05:08,940 --> 00:05:11,220
We are obtaining an IP
address automatically

94
00:05:11,220 --> 00:05:16,220
for this adapter and I'm
getting it from my SOHO router

95
00:05:16,770 --> 00:05:21,390
which exists at 192.1.68.41.1.

96
00:05:21,390 --> 00:05:25,020
And the IP address that
that device has given me

97
00:05:25,020 --> 00:05:28,230
which we don't see in
the network properties

98
00:05:28,230 --> 00:05:32,400
is 192.1.68.41.101.

99
00:05:32,400 --> 00:05:35,193
The first IP within that DHCP scope.

100
00:05:36,150 --> 00:05:38,340
And it gives me everything
else I need as well.

101
00:05:38,340 --> 00:05:42,033
The default gateway and the DNS server.

102
00:05:43,290 --> 00:05:44,760
So there's a little bit of the difference

103
00:05:44,760 --> 00:05:47,700
between a statically configured IP

104
00:05:47,700 --> 00:05:50,133
and a dynamically configured IP.

105
00:05:58,380 --> 00:06:00,030
Now, if we take another look

106
00:06:00,030 --> 00:06:04,893
at our typical TCPIP setup,
which we showed in a.

107
00:06:08,790 --> 00:06:12,453
Prod redo that sentence
please, redo sentence prod.

108
00:06:18,330 --> 00:06:23,330
Now, if we go and review
our typical TCPIP setup

109
00:06:23,460 --> 00:06:26,130
which we showed in a previous video

110
00:06:26,130 --> 00:06:28,260
we'll see examples of both.

111
00:06:28,260 --> 00:06:32,760
This client and this client are
obtaining their IP addresses

112
00:06:32,760 --> 00:06:36,180
automatically from a DHCP server.

113
00:06:36,180 --> 00:06:40,110
This one is 1.92.168.1.73.

114
00:06:40,110 --> 00:06:44,010
And this one is 1.92.1.68.1.142.

115
00:06:44,010 --> 00:06:48,240
Where exactly that DHCP
server is, I don't know.

116
00:06:48,240 --> 00:06:51,810
Doesn't really matter to me
as long as those computers

117
00:06:51,810 --> 00:06:54,270
are getting their IP
addresses automatically.

118
00:06:54,270 --> 00:06:55,950
Could be at a SOHO router

119
00:06:55,950 --> 00:06:59,790
or wireless access
point or a proper server

120
00:06:59,790 --> 00:07:02,850
that's running DHCP server software.

121
00:07:02,850 --> 00:07:04,320
But that's the whole idea.

122
00:07:04,320 --> 00:07:08,160
We have lots of clients,
PCs, laptops, mobile devices.

123
00:07:08,160 --> 00:07:12,510
We want them to obtain their
IP addresses automatically

124
00:07:12,510 --> 00:07:15,690
so that we don't have to
configure them all one by one.

125
00:07:15,690 --> 00:07:20,370
However, a device like this
router or this firewall

126
00:07:20,370 --> 00:07:25,370
or this switch or these
servers and possibly printers

127
00:07:25,860 --> 00:07:29,220
they should normally be configured
with a static IP address,

128
00:07:29,220 --> 00:07:33,210
one that we manually configure,
and one that doesn't change.

129
00:07:33,210 --> 00:07:35,700
And that's the case with this router

130
00:07:35,700 --> 00:07:40,700
which is known as our gateway,
which is 1.92.168.1.1.

131
00:07:42,090 --> 00:07:44,520
We can figure that in manually

132
00:07:44,520 --> 00:07:46,353
so that we know it never changes.

133
00:07:47,550 --> 00:07:50,280
But again all these client systems,

134
00:07:50,280 --> 00:07:52,830
they should be obtaining their IP address

135
00:07:52,830 --> 00:07:57,000
information automatically so
that it streamlines the process

136
00:07:57,000 --> 00:08:01,140
and makes things more efficient
for us as administrators.

137
00:08:01,140 --> 00:08:02,670
So remember the difference,

138
00:08:02,670 --> 00:08:05,550
static IP addresses
are configured manually

139
00:08:05,550 --> 00:08:09,453
and dynamic IP addresses are
configured automatically.
