In the section we're going to talk about DHC poor recall and let's go ahead with the DNC diversion for
first DGP is a client server protocol that automatically provides IP host with its IP address and other
related configuration information such as some mask and the default gateway or the D.A. or something
like that.
DHP uses port numbers 6:54 And for example if you are managing a network when work with 1000 clients
it is almost impossible to assign IP address configuration manually for each client so the ATP is almost
mandatory for big corporate networks.
The chip process goes through four states while assigning an IP address to the client.
These days are often every day related as Dora discover offer request and acknowledgment in the discovery
stage declines sends a broadcast message on the network.
As you can see here and search for an active JTP server when a DC peso receives the DHC we discover
message for my client which is an IP address.
Request.
This so preserves an IP address for the client and makes the leaves over by sending DCP off a message
to clients in response to the DCP over the client replies with a DCP request broadcast to the server
requesting the Orford IP address.
When the DNC Bistro receives the DCP request message from the client the configuration process anthers
the final stage the acknowledgements page in sending a DCP ack packet to the client and this packet
includes the lease duration and any other configuration information that the client might have requested.
Dynamic Host Configuration DHC portico is a server protocol assigning dynamic IP address to the computer
LDH DHC server enables computers to request the IP addresses and networking per Matres automatically
reducing the need for a network administrator or a user configured these things Menil.
We can also use our brothers as DCP servers.
And here is the configuration to go for your brother as a DCP server.
First we need to define an IP pool by typing.
I PDC pay pool and the name of pool which is my pool for this example.
Ok then we are getting into DCP config more as you can see and we're typing the address range for us.
The the thing we are going to define for this address range we need to type network command and we need
to type the network ID with a subnet mask.
OK which means our range will be between cell 41 was 0 2 24 Okay I'm going to start from 1 1 2 until
250 to 200 and for.
OK.
And then we're defining a default route which is the default gateway and default gateway of this network
will be this interface of this rather which is 10:41 one.
OK then we are defining a DNS server and our DNS server will be this.
Then we're also defining a domain name which isn't there or killed that come.
OK.
But then the thing here also is as you can see in the last command and defining something more I think
DCP excluded address and won't want to five which means I'm escalating this range.
OK I want to use this range.
That means some clear address range for PC one will be starting from 1 to 6 because one one is our default
gateway and won't be used.
And I'm also excluded.
This range which includes my default gateway to because of this the address range that PC one can use
will be this range
to fight the DCP server options or for other weekend use show run section DHC P shoy P DHC P binding
and so with the takes commands if you want to essay a dynamic IP address to others the interface you
can use IP address and date City command under the related interface mode.
This is not something that we're usually using but you may be faced with these questions in your eggs.
So here we are getting into the interface more by typing interface 00 which is here and by typing I
purchased the c p command rather is Greig's zero zero interface Gethers an IP address from the DTP server
dynamically.
The most common use of rather for DTP services is the DHC peer relay DTP really is the rudder forwards.
They simply broadcast packets through the ATP server which is also known as the helper.
For example if PC Wan makes the FDCPA request rather one will forward this packet to the well it DTP
software which is 10:41 to five four days example.
Let's go ahead DCP version 6 IP version 6 prides itself as a portal code that supports many dynamic
plug and play functionalities as a result.
There are multiple ways to assign IP addresses in IP version 6 to configure IP version 6 has global
unicast globally we have two options and they are slack and the version 6 in slacke option rather can
send IP address graphics length and the default gateway information to the clients in DHP version 6
option DHC server sans IP address Perfect's length default gateway DNS server and domain name information
to clients.
Similar type before.
Let's go ahead with the slack.
Flag option rather can offer three types of information to Ehsaan Dynamic IP Address conflagration.
The first is slacke only in this option rather offers to use the information that rather sand's on lay
in.
The second option which is slack and Betsi perversions 6 in this option rather offer is to use the information
that rather Sants and offers through the rest of the options from the DCP version 6.
So for example DNS or something like that in that third option rather of first to use just the ECP version
6 server OK.
This is how select works actually the host makes the request first which is there other songs they should
message and saying that hey rather I need are two words and six options OK or I prefer to use six rather
gets this request and can reply in three ways.
The force of a reply is select only which includes.
Here is your IP prefix length and the gateway.
Replying to the host.
The second option is to select and VCP version 6 which includes.
Here is your IP Perfect's length but as the DCP version 6 server for DNS and the domain name in here
we are defining something we are providing some of the information from router and we are defining some
of the other informations from the DCP version 6 and the last message can be the simple version 6 which
means I'm sorry my friend.
I ask the ATP version 6 we can use our rather as a DCP So we're in.
I Pugin 6 networks too similar to IPV for in this configuration.
Rather one offers DNS so any domain name as you can see the first we're defining a pool again by typing
IP version 6 DTP pool and the name of the pool and we are defining the DNS server and the domain name.
OK and in here we are also another configuration IP version 6 and the other config file.
This flag is required as it will inform glanced through rather advertisement message that they have
to use DTP version 6 to receive extra information works.
We can also use our rather as a DCP version 6 relate to and this rather in here for the server brought.
Kept work Spackles to the DCP server.
And here is the configuration of the DCP relay in IPV 6 networks we are getting into the interface mode
again and the command is this time IP version 6 DGP relay destination and the IP address of the removed.
Did pay for.