The next step is to configure the DHCP server.
So I'm going to call this rather DHCP server to enable IPV six unicast routing on gigabit zero one.
Configure an IP version six address of 2001 colon 1 to 3 four colon colon to flash 64 and no shutter
the interface.
I'm also going to configure a static route to the face and network via 2001.
One, two, three, four.
Colon.
Colon one.
In other words, the relay agent.
So can the DHCP server ping the relay agent?
Yes, it can.
Can it ping the face interface on the relay agent?
Yes, it can.
So essentially this DHCP server capping the relay agent.
Now that we've completed the basic IP version six configuration, we need to configure the DHCP server.
So IPV six DHCP.
In this case, we're going to configure a pool and I'm going to call it my pool address prefix is going
to be 2001 face colon, colon slash 64.
The face network is on the left hand side.
So that's the address prefix that we're going to allocate.
We'll also allocate a DNS server, which is going to be the local router, and we'll configure a domain
name.
Of CNA Dexcom.
So that's what should be sent through to the client through DHCP.
Now on the gigabit is there are one interface we need to use this command IPV six DHCP server.
And point it to the pool that we've created.
So my pool.
So this is the configuration of the DHCP server.
We've essentially configured a DHCP pool as follows and on the gigabit zero one interface, the interface
that's going to receive the DHCP requests.
We have configured an IP address as well as a server pool.
So let's do a debug ip of six dhcp.
So that's the server configuration done.
Okay.
So now let's configure the client.
So I'll call this client, I'll enable IPV six unicast routing and then on gigabit to zero zero we'll
use the command IPV six address.
In this case we're going to use DHCP and then I'll enable IPV six on that interface.
Before I know shut to the interface I'm going to do a debug IPV six DHCP.
At the moment.
We told that gigabit zero zero is not ready, so show IPV six interface gigabit is zero zero.
At the moment the interface is down, but notice we do have a link local address.
So.
Interface gigabit.
Zero zero.
No.
Shut.
Let's see what happens now.
What you'll notice in the output is that a solicitation was sent to all routers on the segment.
A DNS server was configured as well as a domain name.
On the relay agent.
It received the solicitation from from a host ending with this link local address which is.
Which if I scroll up.
Is the client.
The relay was forwarded to the DHCP server.
A reply was received from the DHCP server.
And the reply was sent to the client on the dhcp server relay was received from the relay agent.
Pull.
My pull is going to be used.
A binding is created for the client.
A new address is going to be allocated to the client of this.
So the address is going to be allocated.
The source IP address is going to be this.
It's sending a relay reply and it's updating the binding source address is going to be that.
The relay is once again sent to the relay agent, so show IPV six interface gigabit is zero zero.
Notice the link.
Local addresses this, but the router has been allocated this address.
That's for this subnet.
What I'll do is.
Shut to the interface down.
We can see some messages on the DHCP server and then I'll shut the interface again.
So interface has come up and the router is getting an IP address through DHCP.