1
00:00:00,860 --> 00:00:04,220
The next step is to configure the DHCP server.

2
00:00:05,430 --> 00:00:15,510
So I'm going to call this rather DHCP server to enable IPV six unicast routing on gigabit zero one.

3
00:00:16,570 --> 00:00:26,090
Configure an IP version six address of 2001 colon 1 to 3 four colon colon to flash 64 and no shutter

4
00:00:26,110 --> 00:00:27,160
the interface.

5
00:00:27,850 --> 00:00:36,100
I'm also going to configure a static route to the face and network via 2001.

6
00:00:36,100 --> 00:00:37,050
One, two, three, four.

7
00:00:37,060 --> 00:00:37,450
Colon.

8
00:00:37,450 --> 00:00:38,590
Colon one.

9
00:00:38,620 --> 00:00:40,780
In other words, the relay agent.

10
00:00:41,170 --> 00:00:45,860
So can the DHCP server ping the relay agent?

11
00:00:45,880 --> 00:00:46,960
Yes, it can.

12
00:00:47,230 --> 00:00:52,450
Can it ping the face interface on the relay agent?

13
00:00:52,480 --> 00:00:53,590
Yes, it can.

14
00:00:54,010 --> 00:00:58,720
So essentially this DHCP server capping the relay agent.

15
00:00:59,720 --> 00:01:06,460
Now that we've completed the basic IP version six configuration, we need to configure the DHCP server.

16
00:01:06,470 --> 00:01:10,040
So IPV six DHCP.

17
00:01:11,240 --> 00:01:19,610
In this case, we're going to configure a pool and I'm going to call it my pool address prefix is going

18
00:01:19,610 --> 00:01:24,230
to be 2001 face colon, colon slash 64.

19
00:01:24,590 --> 00:01:27,740
The face network is on the left hand side.

20
00:01:27,740 --> 00:01:30,740
So that's the address prefix that we're going to allocate.

21
00:01:30,860 --> 00:01:40,460
We'll also allocate a DNS server, which is going to be the local router, and we'll configure a domain

22
00:01:40,460 --> 00:01:41,090
name.

23
00:01:44,270 --> 00:01:47,050
Of CNA Dexcom.

24
00:01:48,050 --> 00:01:53,330
So that's what should be sent through to the client through DHCP.

25
00:01:54,300 --> 00:02:02,640
Now on the gigabit is there are one interface we need to use this command IPV six DHCP server.

26
00:02:03,370 --> 00:02:06,180
And point it to the pool that we've created.

27
00:02:06,190 --> 00:02:07,450
So my pool.

28
00:02:08,800 --> 00:02:11,800
So this is the configuration of the DHCP server.

29
00:02:13,360 --> 00:02:21,640
We've essentially configured a DHCP pool as follows and on the gigabit zero one interface, the interface

30
00:02:21,640 --> 00:02:24,040
that's going to receive the DHCP requests.

31
00:02:24,580 --> 00:02:30,190
We have configured an IP address as well as a server pool.

32
00:02:31,150 --> 00:02:35,650
So let's do a debug ip of six dhcp.

33
00:02:36,350 --> 00:02:38,750
So that's the server configuration done.

34
00:02:39,730 --> 00:02:39,970
Okay.

35
00:02:39,970 --> 00:02:42,150
So now let's configure the client.

36
00:02:42,160 --> 00:02:50,470
So I'll call this client, I'll enable IPV six unicast routing and then on gigabit to zero zero we'll

37
00:02:50,470 --> 00:02:52,690
use the command IPV six address.

38
00:02:53,200 --> 00:03:00,220
In this case we're going to use DHCP and then I'll enable IPV six on that interface.

39
00:03:00,970 --> 00:03:05,920
Before I know shut to the interface I'm going to do a debug IPV six DHCP.

40
00:03:07,190 --> 00:03:08,090
At the moment.

41
00:03:08,090 --> 00:03:17,240
We told that gigabit zero zero is not ready, so show IPV six interface gigabit is zero zero.

42
00:03:17,450 --> 00:03:23,270
At the moment the interface is down, but notice we do have a link local address.

43
00:03:24,320 --> 00:03:24,560
So.

44
00:03:24,560 --> 00:03:25,580
Interface gigabit.

45
00:03:25,670 --> 00:03:26,780
Zero zero.

46
00:03:26,810 --> 00:03:27,440
No.

47
00:03:27,440 --> 00:03:28,250
Shut.

48
00:03:29,420 --> 00:03:31,100
Let's see what happens now.

49
00:03:33,560 --> 00:03:40,880
What you'll notice in the output is that a solicitation was sent to all routers on the segment.

50
00:03:41,930 --> 00:03:46,640
A DNS server was configured as well as a domain name.

51
00:03:51,620 --> 00:03:52,970
On the relay agent.

52
00:03:52,970 --> 00:04:00,860
It received the solicitation from from a host ending with this link local address which is.

53
00:04:01,960 --> 00:04:03,520
Which if I scroll up.

54
00:04:06,520 --> 00:04:08,110
Is the client.

55
00:04:10,000 --> 00:04:12,940
The relay was forwarded to the DHCP server.

56
00:04:13,060 --> 00:04:16,480
A reply was received from the DHCP server.

57
00:04:17,269 --> 00:04:26,360
And the reply was sent to the client on the dhcp server relay was received from the relay agent.

58
00:04:28,130 --> 00:04:28,580
Pull.

59
00:04:28,580 --> 00:04:30,890
My pull is going to be used.

60
00:04:31,400 --> 00:04:34,970
A binding is created for the client.

61
00:04:36,490 --> 00:04:40,930
A new address is going to be allocated to the client of this.

62
00:04:41,590 --> 00:04:44,350
So the address is going to be allocated.

63
00:04:45,580 --> 00:04:48,070
The source IP address is going to be this.

64
00:04:49,080 --> 00:04:55,860
It's sending a relay reply and it's updating the binding source address is going to be that.

65
00:04:57,760 --> 00:05:07,000
The relay is once again sent to the relay agent, so show IPV six interface gigabit is zero zero.

66
00:05:07,280 --> 00:05:08,440
Notice the link.

67
00:05:08,440 --> 00:05:13,930
Local addresses this, but the router has been allocated this address.

68
00:05:14,630 --> 00:05:17,300
That's for this subnet.

69
00:05:18,420 --> 00:05:19,830
What I'll do is.

70
00:05:20,930 --> 00:05:22,610
Shut to the interface down.

71
00:05:23,000 --> 00:05:31,280
We can see some messages on the DHCP server and then I'll shut the interface again.

72
00:05:32,540 --> 00:05:39,600
So interface has come up and the router is getting an IP address through DHCP.

