This topic is to discuss the following lesson:
Before you create the dhcp pool, you should configure the ip dhcp excluded-address command.
That’s always a good idea.
How i can configure a fast-Ethernet interface to act as a DHCP client? and, is there any configuration we need to do apart from the configuration you have shown in DHCP server for that?
You can configure a FastEthernet interface to use DHCP client by using the “ip address dhcp” command under the interface.
thank you very good but i wanna to know Are the messages (discover,offer,request and ack ) still broadcast or change ?
thank ypu but i wanna to know ARE the messages (discover,offer,request and ack) still broadcast messages or change ?
I have the wireshark capture here for DHCP, it will give you the answer: http://networklessons.com/network-services/introduction-to-dhcp/
is there command to make DHCP hold multiple IP for servers like example, and don;t share it with clients
i mean one command to hold many ip
Do you mean how to configure DHCP to use the same IP address for some hosts?
What would be the command to exclude a range of addresses?
That would be “ip dhcp excluded-address”. This is a global configuration command, it’s not under the “ip dhcp pool” configuration.
Can I create more than one dhcp server in the same router?
if I can how to do that and how to Verify every dhcp server and it’s client Separately?
You can create more than one DHCP pool, no problem at all. You can use “show ip dhcp pool” to see all configured DHCP pools.
Thanks Rene ,
If I need to modify the config of a specific DHCP server like change the defualt gateway or dns server etc, I will use “ip dhcp pool mypoolname” command to do that right? or there is something else?
That’s right, the subnet, DNS server, gateway and options are all configured under the pool.
The only exception are the excluded IP addresses, this is done in global mode:
R1(config)#ip dhcp excluded-address 192.168.1.1 192.168.1.100
Thank you very much Rene
Hi Rene ,
I have tow question:
1 - if I have 2 DHCP server in the same network or router and we learn when the host request
an IP address it will send DHCP discover message right, the question is, to message will
Receive to which DHCP server ?
2 - and can I create DHCP server in switch layer 2 ?
I try to create dhcp server in switch 2960 in packet tracer and it’s work normally
but I need to assigning an ip address to the vlan in order to function of dhcp server
My question is why i need to assigning this ip address ?
When you have two DHCP servers in the same subnet then the host will receive an IP address from whoever answers first. This can be dangerous btw, take a look here:
The 2950 or 2960 switches support DHCP server I believe but I would probably not use them for this as you can configure only one IP address on them (for management).