So for this video, based on our plan, we are going to create this new overlay
segment,
segment 30, and we'll plan on using on top of that segment the IP addressing
space of
1030. And because we don't have any of our gateways directly connected to this
segment,
which is floating out here in space, we'll go ahead and set up DHCP services
using segment
DHCP server. And then we'll test it out by putting on a couple clients and
verifying
that they get an IP address and that they can talk to each other. So with that
in mind,
let's head over to the NSX manager. All right. And here we go. So in the NSX WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
let's head over to the NSX manager. All right. And here we go. So in the NSX
manager, we're
going to click on networking. And on the left under connectivity, we'll click
on segments.
So currently we have the segment 10 segment 20 and our external VLAN back
segment. And
what we want to do is create a segment 30. So we'll click on add segment. So we
'll call
it segment 30, no gateway, just remind ourselves what we're doing with that.
And then for
the connected gateway, we're going to leave that at none. We don't want to
connect this
segment to any of our gateways. It's just a segment hanging out there all by
itself.
We'll include that as part of our AB overlay transport zone. And then we'll WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
We'll include that as part of our AB overlay transport zone. And then we'll
scroll down
and click on safe. So effectively, we have this beautiful segment called
segment 30,
no gateway. And it's not connected to any gateway. It's part of the transport
zone.
Now to provide DHCP services within NSX, we are going to create an NSX server
profile.
And based on our plan, we're going to specify that the server, this NSX virtual
ized DHCP
server is at six dot seven dot eight dot three with a slash 29 bit mask. So to
configure
this DHCP server profile, we're going to click on the networking tab on top. It WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
this DHCP server profile, we're going to click on the networking tab on top. It
's currently
selected. And then the left will scroll all the way down. And under settings,
here is
a section called networking profiles. So we'll click on that right there on the
bottom left.
And then in this main pane here, we have a sub tab called DHCP. And by default,
there
are no DHCP profiles. And we just deleted the relay profile that we had there
previously.
So if we want a server based DHCP profile that we're going to use for segment
based DHCP
services, we simply click here on DHCP, and then click on add DHCP profile. And WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
services, we simply click here on DHCP, and then click on add DHCP profile. And
let's
call it our NSX DHCP server. And we're going to use the server profile a couple
of times.
We're going to use it now as we configure DHCP services for a segment where
there's no
gateway involved. And then we'll use it again when we configure DHCP services
that are gateway
based. So our NSX DHCP server for the type is not a relay. We did that
previously. We
want this to be a DHCP server. And for our purposes here, we don't even have to
put in
an IP address for this virtualized NSX DHCP server. So if we hover here on the WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
an IP address for this virtualized NSX DHCP server. So if we hover here on the
icon for
information, here it indicates that if we put in address here, it's going to be
used
for the gateway DHCP services function. So for this video, as we're going to be
using
this for just segment DHCP services, this IP address isn't critical. And then
furthermore
goes on to say that if we do put an IP address here, it'll be used as the IP
address for the
server as part of gateway DHCP services. And also indicates that if we don't
put any address
whatsoever, it'll use the address starting in 100 dot 96. So based on our plan WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
whatsoever, it'll use the address starting in 100 dot 96. So based on our plan
and also
based on the fact that we're going to using this profile for segment based DHCP
services,
as well as gateway based DHCP services, let's use our address of six dot seven
dot eight dot three
with a 29 bit mask, just like that. And then furthermore, we're going to
specify which cluster
of edge devices we want to use to support the DHCP services. So I'm going to go
ahead and pick
our edge cluster is the only one we have in our topology, and we'll click on
safe. So there's
this profile that says our NSX DHCP server logically is at six dot seven dot WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
this profile that says our NSX DHCP server logically is at six dot seven dot
eight dot three. So we're
going to be using this DHCP profile for segment based DHCP services, as well as
gateway based
DHCP services. So now that this profile exists, we're going to associate this
profile with our
segment 30 we created a few minutes ago. So to associate this profile with that
new segment,
we'll go here to segments. So with networking selected up on top under
connectivity, we'll click
on segments. And then we're going to edit the details for our segment 30 no
gateway segment.
So to edit this segment, we'll simply click on the three dots and click on edit WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
So to edit this segment, we'll simply click on the three dots and click on edit
. So here is our
segment 30 no gateway. There's no gateway associated with it is part of the
transport zone. And then
over here on the right, we have a button for set DHCP config. So we'll click on
that and notice
here because this segment is not connected to any of our gateways, it's not
connected to gateway A,
it's not connected to gateway B as a result, as we look at the DHCP type and
use the drop down,
you'll notice we don't have a whole bunch of cool options. We don't have a
relay option.
We don't have a gateway DHCP server option. All we have is a segment DHCP WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
We don't have a gateway DHCP server option. All we have is a segment DHCP
server. And that's it.
So we'll go ahead and leave that choice there. And then for the profile from
the drop down,
we'll go ahead and choose our profile, which is our NSX DHCP server profile.
And using an IP
address of 6783 with a slash 29 bit mask for the logical DHCP server. So we'll
select that.
And then we get to put in all the details. So our focus in the skill is on DHCP
services for IPv4.
So with the IPv4 server tab selected here, the very first thing we want to do
is enable it. WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
By default is disabled. So we'll go ahead and enable DHCP configuration. And
then next,
I'd like to jump down here to DHCP ranges. We'll come back to the DHCP server
address here in just
a moment. So for DHCP ranges, based on our plan, we're going to use 10 dot 30
dot 0 dot 151
through 10 dot 30 dot 0 dot 200. And let's take a look at our plan just to
confirm. So based on
our plan, we want to go 150 through 200 for segment 30. Fantastic. And then for
the IPv4 gateway, WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
it's not going to hand one out. That's partly because when we set the segment,
we didn't specify any
IP addressing information for the segment. And then for the least time, I'm
going to go ahead and set
this to 500 seconds, which is extremely low. However, in a lab environment
where things are
fairly fluid, like to have a shorter lifetime and the clients will go ahead and
renew as often as
they need to. And then for the DNS server, because this segment doesn't go
anywhere, I'm not even
going to hand out a DNS server for them to use. Although we could, I'm not
going to because they
can't reach anything off their local network anyway. So now let me chat with WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
can't reach anything off their local network anyway. So now let me chat with
you about the DHCP
server address. Think of this like, what do you want your clients, your DHCP
clients on this
subnet to believe their DHCP server address is? So if the clients are getting
IP addresses of 10
30 0, 151 through 200, we'd want to pick some IP address that's available on
that same subnet
at 10 30 0. And that way, when clients need to renew the IP address or interact
with the quote
unquote DHCP server, they'll use whatever IP address we specify that DHCP
server is reachable at. So WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
for our purposes, let's say 10 dot 30 dot zero dot, let's use to how about that
with a slash 24. So
that way the clients will believe that their DHCP server is at 10 30 0 dot two.
And that's what this
part is used for right here, think of it like a fake out for the clients so
they can think that
their local DHCP server is right there on that same subnet at 10 30 0 dot two,
although behind the
scenes, these DHCP services are being provided for by edge notes. All right, so
with that in place,
we'll click on apply, and we'll scroll down and we'll click on save, and then WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
we'll click on apply, and we'll scroll down and we'll click on save, and then
we'll click on close.
And then right here, under network hearing and segments, you give us an option
for looking at the
details for the DHCP config right here. So for segment 30, we can click here
just to confirm
our settings. So a virtual IP address of 10 30 0 2, which will be the logical
DHCP service
function for that local segment, the range of addresses, the lease time, and we
're not going to be
handing out an IPV for default gateway, nor a DNS server, based on how we just
configured it.
All right, so we'll close that. And then if we click here on network topology, WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
All right, so we'll close that. And then if we click here on network topology,
that'll also help
reinforce where we're at. So let me go ahead and zoom in on this part right
here, here's segment 30.
And for the service, if we hover over that, it is DHCP services specifically
segment DHCP services
because we don't have a gateway, our DHCP service enabled on this segment. So
the only option we
had with a standalone segment like this for DHCP from NSX is the segment based
DHCP server. Once
again, because it's not connected to one of our gateways, we don't have the
option of doing a relay WEBVTT X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000
option of doing a relay
up to some other external DHCP server. And we don't have an option of using a
gateway based DHCP
server, because once again, this segment is not connected to a gateway. So now
that we have a
beautiful, beautiful segment 30, we've also enabled segment based DHCP services
for that segment.
In the next video, let's test it out and verify that it works.