﻿1
00:00:02,001 --> 00:00:09,000
[music]

2
00:00:09,000 --> 00:00:13,200
Okay, so moving on we're going
to look at IPv6 stateless

3
00:00:13,200 --> 00:00:17,100
DHCP. Again, same topology.

4
00:00:17,400 --> 00:00:20,700
We're not going to change anything
around in the topology right now,

5
00:00:20,700 --> 00:00:26,100
okay? So, again, this is
going to be between 3 and 6.

6
00:00:26,100 --> 00:00:29,116
We already had this set
up from the last lesson.

7
00:00:29,416 --> 00:00:30,316
I haven't changed anything.

8
00:00:30,616 --> 00:00:35,716
Router 3 going to router 6 where
3 is acting like the router.

9
00:00:35,716 --> 00:00:43,216
6 is at the moment acting like an
IPv6 slack or stateless address

10
00:00:43,216 --> 00:00:45,016
auto configuration client.

11
00:00:45,016 --> 00:00:47,116
So he's getting his address and everything,

12
00:00:47,416 --> 00:00:53,716
but this is where things get a
little bit different is stateless

13
00:00:53,716 --> 00:01:01,816
DHCP is basically running DHCP to
get the options but not having

14
00:01:01,816 --> 00:01:06,616
the address assignment
coming from DHCP itself.

15
00:01:06,616 --> 00:01:10,516
So just to review here real
quickly before we jump in,

16
00:01:10,516 --> 00:01:16,816
where we are on Router 6, he's not
getting anything from DHCP that

17
00:01:16,816 --> 00:01:18,016
we looked at before.

18
00:01:18,016 --> 00:01:23,717
All he has is an address and a
default route - that's all fine.

19
00:01:23,717 --> 00:01:28,933
Router 3 at the moment is doing
nothing but sitting over here,

20
00:01:28,933 --> 00:01:30,733
sending out router advertisement messages,

21
00:01:31,033 --> 00:01:32,833
debugs are still on.

22
00:01:32,833 --> 00:01:34,933
What I'm going to do to start here though,

23
00:01:34,933 --> 00:01:37,333
we've seen the router
advertisement messages,

24
00:01:37,633 --> 00:01:45,133
so now I'm going to say-- turn
off the debuggings and say,

25
00:01:45,133 --> 00:01:51,633
do debug IPv6 DHCP, and we're just
going to watch the DHCP debugging

26
00:01:51,633 --> 00:01:52,833
on both of these guys.

27
00:01:52,833 --> 00:01:58,533
So we can watch what happens.

28
00:01:58,533 --> 00:02:08,533
Now, what's cool about this is
there's really nothing to do on the

29
00:02:08,833 --> 00:02:13,133
client side. What I need to do is
I need to go back to the server

30
00:02:13,133 --> 00:02:18,833
side. We switch back over here and
go over some of the stuff with

31
00:02:18,833 --> 00:02:24,633
you here before we start. So we're
going to go over configuring IPv6.

32
00:02:24,633 --> 00:02:28,533
Now the router side is going to get
the scope and again we're going

33
00:02:28,533 --> 00:02:30,633
to be using the router for the DHCP server.

34
00:02:30,633 --> 00:02:36,333
You could of course use Windows,
whatever DHCP server it is you want

35
00:02:36,333 --> 00:02:43,533
to use for IPv6, it doesn't really
matter as long as - and this is

36
00:02:43,533 --> 00:02:47,733
probably the only little requirement
here for stateless DHCP.

37
00:02:47,733 --> 00:02:50,133
By the way, just to throw this out there,

38
00:02:50,133 --> 00:02:56,733
this topic, I've heard this referred
to as DHCP Lite as well for

39
00:02:56,733 --> 00:03:02,733
IPv6, although stateless DHCP is
definitely more popular of a term.

40
00:03:02,733 --> 00:03:09,933
But again, what's going to happen
here is we configure IPv6 DHCP

41
00:03:09,933 --> 00:03:12,633
scope, so we'll start with that.

42
00:03:12,633 --> 00:03:18,033
So switching over to our server
we're going to do this on router

43
00:03:18,033 --> 00:03:22,833
3 and there's a couple things that
are a little bit different with

44
00:03:22,833 --> 00:03:28,533
configuring an IPv6 DHCP server
although it's not a whole lot.

45
00:03:28,533 --> 00:03:35,433
So it's really just IPv6 DHCP
pool - and let's give it a name,

46
00:03:35,733 --> 00:03:38,733
I'll call it something like 6
pool or something like that.

47
00:03:38,733 --> 00:03:44,433
It doesn't really matter - this
drops us into DHCP pool config mode

48
00:03:44,433 --> 00:03:46,533
for DHCP version 6.

49
00:03:46,533 --> 00:03:52,233
Now, normally - and we'll do this
in our next lesson where we're

50
00:03:52,233 --> 00:03:56,533
going to do full blown DHCP - the
thing a lot of people want to do

51
00:03:56,533 --> 00:03:59,233
right off the bat is give
it an address to hand out.

52
00:03:59,533 --> 00:04:04,033
On IPv4, of course we know we
would put in a network statement.

53
00:04:04,033 --> 00:04:07,933
But that's not how we do stateless.

54
00:04:07,933 --> 00:04:10,633
The whole idea behind stateless is that,

55
00:04:10,933 --> 00:04:16,033
the DHCP server actually isn't
handing out the addressing at all.

56
00:04:16,033 --> 00:04:21,133
The idea here is, all it's going
to hand out are the options.

57
00:04:21,433 --> 00:04:29,233
For example, I could say something
like-- let's see what I'll put

58
00:04:29,233 --> 00:04:30,433
in. DNS servers.

59
00:04:30,433 --> 00:04:31,766
It's actually DNS server.

60
00:04:32,066 --> 00:04:33,566
I always type name server
and that's not it.

61
00:04:33,566 --> 00:04:38,066
So, DNS server-- what?

62
00:04:38,066 --> 00:04:44,066
2001 DB8:100:100::-- yeah,
I know it's incomplete.

63
00:04:44,066 --> 00:04:47,066
::1. That's not accurate.

64
00:04:47,066 --> 00:04:50,666
It's not a DNS server, but I
can certainly put that in.

65
00:04:50,666 --> 00:04:53,366
How about a domain name?

66
00:04:53,366 --> 00:04:59,666
INE.com - whatever it
is you want to put in.

67
00:04:59,966 --> 00:05:05,666
Remember what we said in the last
lesson that the problem with slack

68
00:05:05,966 --> 00:05:13,466
is that it gives you no way to get
other DHCP options to be sent

69
00:05:13,466 --> 00:05:15,266
to the client.

70
00:05:15,566 --> 00:05:20,066
And basically what we're doing here
is we're creating a DHCP server

71
00:05:20,366 --> 00:05:26,366
who is doing nothing but
handing out scope information.

72
00:05:26,366 --> 00:05:31,466
And the other thing I want to point
out is that none of these are

73
00:05:31,766 --> 00:05:34,766
about a default route or anything else.

74
00:05:35,066 --> 00:05:41,966
Like I said, the default router
is coming from neighbor discovery

75
00:05:41,966 --> 00:05:46,466
router advertisement
messages, not from here.

76
00:05:46,466 --> 00:05:51,566
So, what we do need to do though--
and this is a little bit different

77
00:05:51,566 --> 00:05:57,866
from IPv4 if you've ever
run IPv4 DHCP on a router.

78
00:05:58,166 --> 00:06:03,266
It's certainly not my recommended
practice but it's just easiest

79
00:06:03,566 --> 00:06:04,766
to do it here this way today.

80
00:06:04,766 --> 00:06:08,666
What I'm going to do is use this.

81
00:06:08,666 --> 00:06:10,166
But one thing that's a
little bit different is,

82
00:06:10,466 --> 00:06:11,366
you have to go into the interface.

83
00:06:11,366 --> 00:06:15,766
So in our case, it's Fa0/0.36
and you have to say,

84
00:06:15,766 --> 00:06:21,166
IPv6 DHCP server, and call to
the pool name that we created.

85
00:06:21,166 --> 00:06:24,679
As soon as we do this - since
we have the debugging on - we

86
00:06:24,979 --> 00:06:26,779
should see the DHCP server start up.

87
00:06:26,779 --> 00:06:28,279
There it goes.

88
00:06:28,279 --> 00:06:31,879
So, IPv6 DHCP server is now started.

89
00:06:32,179 --> 00:06:37,879
But notice that, we also have
gotten no requests whatsoever.

90
00:06:38,179 --> 00:06:41,179
And just to show you that it's
not going to happen - like,

91
00:06:41,479 --> 00:06:45,379
do a reset or something like that
- I'd watch you shut this interface

92
00:06:45,379 --> 00:06:48,079
on Router 6. We'll bring this thing down.

93
00:06:48,079 --> 00:06:53,779
And just so you know, I do have IP
version 4 running underneath all

94
00:06:53,779 --> 00:06:56,779
of this, because we will need
it for some stuff later.

95
00:06:56,779 --> 00:07:03,079
So when you see that go down, that's
just OSPF for IPv4 running underneath.

96
00:07:03,079 --> 00:07:06,379
It's also a pretty good indicator
that our sub-interface is down

97
00:07:06,379 --> 00:07:12,079
there too. So now we'll say, no
shut and we'll see that he still

98
00:07:12,079 --> 00:07:18,979
doesn't make a DHCP request and
that's because we're not quite done

99
00:07:18,979 --> 00:07:21,679
yet. He's sitting here doing nothing.

100
00:07:21,679 --> 00:07:23,479
If I were to say, you know what?

101
00:07:23,479 --> 00:07:26,179
Why don't you show me the DHCP information?

102
00:07:26,179 --> 00:07:29,479
Nothing. If you take a look at router 3,

103
00:07:29,779 --> 00:07:32,779
he's not done anything
except fire up the server.

104
00:07:33,079 --> 00:07:35,479
We've seen nothing else going on.

105
00:07:35,479 --> 00:07:40,579
Now, the next thing we can do -
we're going to actually say we have

106
00:07:40,579 --> 00:07:46,279
to do - is simply to configure the
router advertisement message.

107
00:07:46,579 --> 00:07:50,479
I'm going to finish off the last
two points I have on here and that

108
00:07:50,479 --> 00:07:56,479
is to actually configure the IPv6
host and controlling the host portion

109
00:07:56,479 --> 00:07:58,579
with the link local address.

110
00:07:58,579 --> 00:08:03,379
Now that part hasn't really changed
from what we did in the last

111
00:08:03,379 --> 00:08:06,679
section. If I were to
go to router 6 and say,

112
00:08:06,679 --> 00:08:17,479
Do Show Run Interface gigabit 0/0.36,
we already have our link local

113
00:08:17,479 --> 00:08:19,879
address configured, which is, of course,

114
00:08:19,879 --> 00:08:24,976
controlling the IPv6 address, and
the fact that we have IPv6 address

115
00:08:24,976 --> 00:08:28,876
autoconfig with default
still there from before.

116
00:08:28,876 --> 00:08:33,676
Those are the two things that those
last two bullet points were meant

117
00:08:33,676 --> 00:08:37,576
for, and we've already done
those in the previous section.

118
00:08:37,876 --> 00:08:40,276
But just as a reminder,
they're still there.

119
00:08:40,576 --> 00:08:42,376
He's still pulling his address, but see,

120
00:08:42,676 --> 00:08:45,676
nothing there says anything about DHCP.

121
00:08:45,676 --> 00:08:48,376
So basically, router 6 is sitting here,

122
00:08:48,376 --> 00:08:51,676
going, yeah, got my prefix, got my route,

123
00:08:51,676 --> 00:08:52,876
got everything I need.

124
00:08:52,876 --> 00:08:57,676
Maybe he's thinking to himself,
I'm not inside the router.

125
00:08:57,676 --> 00:08:59,957
I don't know what he's thinking,
but maybe he's sitting there

126
00:08:59,957 --> 00:09:03,893
thinking, you know it'd be really handy
if I had a DNS server and a domain name

127
00:09:03,893 --> 00:09:05,693
here - he doesn't, obviously.

128
00:09:05,993 --> 00:09:07,793
But the point of course, is this;

129
00:09:08,093 --> 00:09:11,993
we need to tell Router 6
to get that information.

130
00:09:11,993 --> 00:09:17,093
This is actually done on the server
side through a router advertisement

131
00:09:17,393 --> 00:09:24,593
message. Also on the subinterface, we
need to say IPv6 neighbor discovery,

132
00:09:24,893 --> 00:09:30,293
and the command is, other config flag.

133
00:09:30,593 --> 00:09:34,793
This is sort of the golden
command, if you will.

134
00:09:34,793 --> 00:09:37,493
This is the one you might want to
go write down here at the moment.

135
00:09:37,793 --> 00:09:44,993
This is what makes this DHCP
light or stateless DHCP.

136
00:09:45,293 --> 00:09:49,493
Two real factors. Number one, obviously,

137
00:09:49,493 --> 00:09:55,693
there has to be a DHCP server, and
it has to be set up with options.

138
00:09:55,693 --> 00:09:58,093
And what I was saying earlier,
there was a little bit of a caveat

139
00:09:58,393 --> 00:10:01,693
with using other devices
as your DHCP server.

140
00:10:01,993 --> 00:10:08,593
The caveat is they have to support
creating DHCP options without

141
00:10:08,593 --> 00:10:12,793
having the DHCP scope actually set.

142
00:10:13,093 --> 00:10:19,093
So as soon as we turn this on, we
will then see router 6 immediately

143
00:10:19,093 --> 00:10:22,293
go, oh, I'm supposed to
get more information.

144
00:10:22,593 --> 00:10:26,493
See that? He immediately
starts the DHCP client,

145
00:10:26,493 --> 00:10:30,093
sends out a request for more information,

146
00:10:30,093 --> 00:10:33,393
gets the reply, and look at this.

147
00:10:33,393 --> 00:10:38,793
Now, we have the DNS server and the
domain name just like we wanted.

148
00:10:38,793 --> 00:10:42,993
You can also, of course, look at
the router 3 side and see that he

149
00:10:42,993 --> 00:10:47,193
received the request, used
the pool from the interface,

150
00:10:47,193 --> 00:10:51,393
and sent the information
out that interface.

151
00:10:51,393 --> 00:10:56,793
So now, if we were to go back here and
look at our DHCP for the interface,

152
00:10:57,093 --> 00:11:02,493
we can see what happened. He
already got his information.

153
00:11:02,793 --> 00:11:04,893
Prefix state he wasn't even trying to get,

154
00:11:05,193 --> 00:11:08,793
but the important thing is he got
those two pieces of information

155
00:11:08,793 --> 00:11:12,393
right there. The rest of the stuff on here,

156
00:11:12,393 --> 00:11:14,493
of course, we'll go over in the
next section where we're going to

157
00:11:14,793 --> 00:11:18,393
do a full-blown DHCP.

158
00:11:18,393 --> 00:11:23,493
So that's where we're going to head next,

159
00:11:23,493 --> 00:11:28,893
but this is simply DHCP
Lite, or like I said,

160
00:11:29,193 --> 00:11:36,693
the real proper common more
recent name is stateless DHCP.

161
00:11:36,693 --> 00:11:40,294
And again, the big thing to remember
on that is that it is simply

162
00:11:40,593 --> 00:11:48,993
DHCP with a scope with options, but
no actual pool of addresses to

163
00:11:48,993 --> 00:11:55,593
hand out. All we're doing is
supplementing slack and using slack

164
00:11:55,893 --> 00:12:00,693
in combination with DHCP to get a
client everything they need to

165
00:12:00,693 --> 00:12:02,493
be on the network, not just the prefix,

166
00:12:02,793 --> 00:12:08,193
not just the default gateway, but
also DNS and any other DHCP options

167
00:12:08,193 --> 00:12:12,993
they need to actually be a full-blown
functional machine on the network.

168
00:12:12,993 --> 00:12:17,193
[music]