WEBVTT

1
00:00.000 --> 00:04.200
So in our journey, we are right here testing DHCP services.

2
00:04.200 --> 00:08.590
Now, if we're going to set up an IP SLA to test and validate that DHCP is up

3
00:08.590 --> 00:09.400
and available,

4
00:09.400 --> 00:13.250
we probably ought to have a DHCP server somewhere in our topology, which at the

5
00:13.250 --> 00:14.000
moment, I don't.

6
00:14.000 --> 00:18.700
So let's take a moment and set up R2 as a DHCP server.

7
00:18.700 --> 00:23.200
And let's have it hand out IP addresses for the 10.0.12 address base.

8
00:23.200 --> 00:26.600
And its IP address on that subnet is .2.

9
00:26.600 --> 00:29.400
So we'll make that the default router as part of our DHCP services.

10
00:29.400 --> 00:34.460
Then once we set that up, we can set up R1 as a probe and do probes with an IP
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

10
00:29.400 --> 00:34.460
Then once we set that up, we can set up R1 as a probe and do probes with an IP

11
00:34.460 --> 00:34.900
SLA

12
00:34.900 --> 00:38.800
to validate that DHCP services are up and available and working.

13
00:38.800 --> 00:42.350
So with that in mind, let's head back to the topology and let's first configure

14
00:42.350 --> 00:44.400
DHCP services here on R2.

15
00:44.400 --> 00:50.380
So over to R2, we go, we'll click on the R2 tab and let's do a show, run, pipe,

16
00:50.380 --> 00:52.200
section DHCP.

17
00:52.200 --> 00:55.100
Just to verify we don't currently have anything set up, fantastic.

18
00:55.100 --> 00:58.300
So we'll go to configuration mode IP DHCP pool.

19
00:58.300 --> 01:01.800
Let's call this how about DHCP dash pool.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

19
00:58.300 --> 01:01.800
Let's call this how about DHCP dash pool.

20
01:01.800 --> 01:03.300
Very creative, I know.

21
01:03.300 --> 01:05.800
And actually for the network, we'll do 10.

22
01:05.800 --> 01:06.600
What is that network?

23
01:06.600 --> 01:08.200
Let's take a peek together.

24
01:08.200 --> 01:11.700
That network is the 10.0.12 network.

25
01:11.700 --> 01:12.800
So we'll go ahead.

26
01:12.800 --> 01:18.490
So we'll go and set that network 10.0.12.0 with a slash 24 and it says

27
01:18.490 --> 01:19.800
ambiguous command.

28
01:19.800 --> 01:21.100
I need more than just net.

29
01:21.100 --> 01:23.600
Let's go ahead and type in net w that'll work.

30
01:23.600 --> 01:25.600
And now let's also set up a default gateway.

31
01:25.600 --> 01:28.500
So the default router be 10.0.12.2.

32
01:28.500 --> 01:30.800
That's our two's address and that'll be enough.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

32
01:28.500 --> 01:30.800
That's our two's address and that'll be enough.

33
01:30.800 --> 01:37.100
Let's also do an IP DHCP exclude and let's exclude 10.0.12.1 all the way

34
01:37.100 --> 01:39.400
through 10.0.12 through 199.

35
01:39.400 --> 01:43.510
So the first IP address, it should be able to hand out is dot 200 on that sub

36
01:43.510 --> 01:44.000
net.

37
01:44.000 --> 01:45.200
Fantastic.

38
01:45.200 --> 01:50.500
And let's also do a debug of IP DHCP, a question mark server.

39
01:50.500 --> 01:54.000
And let's go ahead and do a debug on the actual packets.

40
01:54.000 --> 01:54.800
That'll be enough.

41
01:54.800 --> 01:59.600
That's a show debug and great DHCP server packet debugging is on.

42
01:59.600 --> 02:02.700
So any activity that happens with DHCP, we should be able to see some activity
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

42
01:59.600 --> 02:02.700
So any activity that happens with DHCP, we should be able to see some activity

43
02:02.700 --> 02:04.000
right here on our two.

44
02:04.000 --> 02:10.120
Next, let's head over to R1 and we'll configure the probe on R1 to test for

45
02:10.120 --> 02:11.200
DHCP services.

46
02:11.200 --> 02:15.690
And because we've used IPSLA IDs one, two, three and four for this one, we'll

47
02:15.690 --> 02:17.800
use IP SLA number five.

48
02:17.800 --> 02:21.600
So we'll go to the right router R1 and let's type in config T.

49
02:21.600 --> 02:25.400
So do show IP SLA summary.

50
02:25.400 --> 02:28.000
And sure enough, all of our SLAs are still running.

51
02:28.000 --> 02:32.140
That first one though is about the timeout, I think, because it's just running
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

51
02:28.000 --> 02:32.140
That first one though is about the timeout, I think, because it's just running

52
02:32.140 --> 02:33.200
for the default lifetime.

53
02:33.200 --> 02:37.400
So that may be not running soon, but it's running now and we'll do an IP SLA

54
02:37.400 --> 02:39.200
and we want to use five press enter.

55
02:39.200 --> 02:43.000
We'll do a question mark and what we want to do is the DHCP.

56
02:43.000 --> 02:47.670
So we'll go ahead and put in DHCP space and a question mark and then the IP

57
02:47.670 --> 02:49.500
address where the DHCP server is running,

58
02:49.500 --> 02:54.500
which is at 10.12, nope, 10.0.12.2.

59
02:54.500 --> 02:57.500
That's the IP address of our DHCP server space question mark.

60
02:57.500 --> 03:00.300
Now here we could also specify a source IP.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

60
02:57.500 --> 03:00.300
Now here we could also specify a source IP.

61
03:00.300 --> 03:03.850
The benefit of setting up a source IP is that we could actually do tests based

62
03:03.850 --> 03:07.700
on where that request was coming from for a subnet in that range.

63
03:07.700 --> 03:10.840
But because I want to do the request from gig one zero on that same 10, 0, 12

64
03:10.840 --> 03:11.300
network,

65
03:11.300 --> 03:14.100
I'm just not going to add what source interface to use.

66
03:14.100 --> 03:17.520
We'll use the routing table and use that interface because it's the closest

67
03:17.520 --> 03:19.100
interface from a routing perspective

68
03:19.100 --> 03:20.700
to reach 10.0 at 12.

69
03:20.700 --> 03:25.500
So I'm going to go ahead and do DHCP 10.0.12.2 and press enter.

70
03:25.500 --> 03:29.240
Next, let's specify the frequency and for the frequency, let's use 30 seconds

71
03:29.240 --> 03:29.500
again.

72
03:29.500 --> 03:34.880
So we'll do a DHCP process of discover, offer request acknowledgement every 30
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

72
03:29.500 --> 03:34.880
So we'll do a DHCP process of discover, offer request acknowledgement every 30

73
03:34.880 --> 03:35.500
seconds.

74
03:35.500 --> 03:36.300
And that looks good.

75
03:36.300 --> 03:41.100
We'll do a do show run pipe section SLA and there's our current one.

76
03:41.100 --> 03:45.700
And if we do a do show IP SLA summary, so currently it's not running.

77
03:45.700 --> 03:48.100
So exit out of SLA configuration.

78
03:48.100 --> 03:52.900
And we'll type in IP SLA schedule five, start time now, life forever.

79
03:52.900 --> 03:56.920
Then if we do the same show command show IP SLA summary, now it is currently

80
03:56.920 --> 03:57.700
running.

81
03:57.700 --> 04:01.700
So initially there's a huge round trip time, but I expect that will go down.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

81
03:57.700 --> 04:01.700
So initially there's a huge round trip time, but I expect that will go down.

82
04:01.700 --> 04:04.900
In fact, let's go ahead and take a peek over at R2.

83
04:04.900 --> 04:06.500
So we have some debug messages here.

84
04:06.500 --> 04:07.500
In fact, let me go ahead and turn that off.

85
04:07.500 --> 04:09.300
I'll do an alt turn off debugging.

86
04:09.300 --> 04:13.300
So if we scroll up, so we have a discover message that the server received and

87
04:13.300 --> 04:15.100
then it made an offer.

88
04:15.100 --> 04:18.140
And then there was a request from the client and there was a final

89
04:18.140 --> 04:19.100
acknowledgement.

90
04:19.100 --> 04:25.100
And then after that IP address was assigned, it handed out 10.0.12.200.

91
04:25.100 --> 04:28.500
The client, in this case it's R1, the probe, simply did a release.

92
04:28.500 --> 04:30.100
It says, you know what, I no longer need it.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

92
04:28.500 --> 04:30.100
It says, you know what, I no longer need it.

93
04:30.100 --> 04:31.500
I want to release this IP address.

94
04:31.500 --> 04:35.100
And that process should happen over and over again every 30 seconds.

95
04:35.100 --> 04:38.560
So while we do that a minute or two to run, let's take a look at the packet

96
04:38.560 --> 04:42.700
captures on the network path between R1 and R2.

97
04:42.700 --> 04:46.300
So here's the packet capture. Let me go ahead and do a display filter for DHCP

98
04:46.300 --> 04:47.300
and press enter.

99
04:47.300 --> 04:49.300
And oh, there we go.

100
04:49.300 --> 04:50.500
And here's the process.

101
04:50.500 --> 04:52.100
We have our discover message here.

102
04:52.100 --> 04:56.500
That's coming from 10.0.12.1 going to our server at 10.0.12.2.

103
04:56.500 --> 04:58.700
Then we have the offer from the server back to the client.

104
04:58.700 --> 05:01.300
Then we have the request, the acknowledgement.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

104
04:58.700 --> 05:01.300
Then we have the request, the acknowledgement.

105
05:01.300 --> 05:03.700
And then we have three releases.

106
05:03.700 --> 05:04.900
I guess it's being a little paranoid.

107
05:04.900 --> 05:07.300
So I want to make sure that it was releasing that IP address.

108
05:07.300 --> 05:09.100
It sent three based on the packets.

109
05:09.100 --> 05:12.100
It sent a release once, twice, three times.

110
05:12.100 --> 05:15.700
And then that process should have repeated again after another 60 seconds.

111
05:15.700 --> 05:19.270
So if we bring back the timestamps, call them, let me bring that back by

112
05:19.270 --> 05:20.300
showing time.

113
05:20.300 --> 05:26.540
So for the initial discover with this timestamp of 615 011, the next discover

114
05:26.540 --> 05:31.900
is at 64500, which is 30 seconds, 615 and that 645.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

114
05:26.540 --> 05:31.900
is at 64500, which is 30 seconds, 615 and that 645.

115
05:31.900 --> 05:33.700
Oh, I thought I said it's 60 seconds.

116
05:33.700 --> 05:34.300
Maybe not.

117
05:34.300 --> 05:35.300
Let's go take a look.

118
05:35.300 --> 05:38.300
Going back to R1, we can do a show run.

119
05:38.300 --> 05:43.450
And I mean, configuration most will do a do, show run, pipe section SLA just to

120
05:43.450 --> 05:44.300
confirm.

121
05:44.300 --> 05:46.100
And sure enough, it's every 30 seconds.

122
05:46.100 --> 05:47.300
The packets are not lying.

123
05:47.300 --> 05:51.400
And now that it's run for a while, let's do a show IPSLA statistics for five

124
05:51.400 --> 05:56.300
for that SLA details press center and we've had eight successes.

125
05:56.300 --> 05:59.300
And we do a show IPSLA summary and press center.

126
05:59.300 --> 06:04.360
Wow, our round trip time for that service is really not great, especially
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

126
05:59.300 --> 06:04.360
Wow, our round trip time for that service is really not great, especially

127
06:04.360 --> 06:06.300
because it's on a local network, but that's OK.

128
06:06.300 --> 06:10.430
So if the DHCP server was not reachable, it would come back with a failure or

129
06:10.430 --> 06:12.300
if we set up a threshold for the round trip time.

130
06:12.300 --> 06:16.300
And we set the threshold, for example, to 1000 and this was 2000.

131
06:16.300 --> 06:19.830
That would also be a reason for this SLA to indicate there's a problem because

132
06:19.830 --> 06:22.300
it would be outside of the threshold that we set.

133
06:22.300 --> 06:26.400
So now that we've had some fun in configuring and verifying a few different

134
06:26.400 --> 06:28.300
types of IPSLA is the next video.

135
06:28.300 --> 06:33.070
I'd like to walk into one example of how we can use the results of an IPSLA to
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

135
06:28.300 --> 06:33.070
I'd like to walk into one example of how we can use the results of an IPSLA to

136
06:33.070 --> 06:37.300
control how the router is operating to trigger another action.

137
06:37.300 --> 06:41.300
So we get to do that in the next video and I'll see you there in just a moment.
