06-16-2024 02:07 AM
Hi, I know that a lot of topics about that have been posted and reposting similar things may cause some headaches, but I really need help. So, I was trying to set a DHCP server up for my network with one of my switches and I "kinda" succeded. So, the server works for laptops (which are in VLAN 10), but doesn't for PCs (which are in VLAN 11). Can you help me, what am I doing wrong? I've been researching for two days but couldn't find anything useful. Maybe it's just a small mistake which I can't see, so help is needed!
Solved! Go to Solution.
06-16-2024 09:38 AM
To resolve the issue of a DHCP IP address conflict on your network, you need to exclude the IP address that is already in use by one of your VLANs (192.168.11.2) from the DHCP pool. This is done by configuring the DHCP server to exclude that specific address or range of addresses. Enter global configuration mode on your DHCP server, exclude the problematic address, and then define the DHCP pool with the appropriate network, default gateway, and DNS server settings. Below is the complete configuration to apply:
configure terminal
ip dhcp excluded-address 192.168.11.2
ip dhcp pool VLAN11_POOL
network 192.168.11.0 255.255.255.0
default-router 192.168.11.1
dns-server 8.8.8.8
end
--After that configuration changes, clear all IP add on PC/l'autopsie (ipconfig /release and ipconfig / renew).
06-16-2024 02:09 AM
06-16-2024 03:26 AM
Hello @FaridFFFaridFF
Laptops have got IP address by DHCP because there are directl connected to the Switch where the DHCP server is hosted.
For a better design, configure DHCP server on MultiLayer Switch0, acting as L3 equipement.
All devices should have an IP address by DHCP.
06-16-2024 09:23 AM
Hate to bother ya, buddy, it 95% worked, but I want it to work 100%. So, all my PCs and Laptops got different IP addresses from DHCP server, except one (PC1, I highlighted it in new Packet Tracer file of mine). So, it says that the DHCP IP that my server wanted to give to that PC was already used in one of my VLANs (192.168.11.2, which is the IP of one of my VLANs). So, how can I add some range-ish thing to configure DHCP server? I've heard of "excluded-address" thing, but that didn't work. Can you help me again, please?
Here, the same link
06-16-2024 09:38 AM
To resolve the issue of a DHCP IP address conflict on your network, you need to exclude the IP address that is already in use by one of your VLANs (192.168.11.2) from the DHCP pool. This is done by configuring the DHCP server to exclude that specific address or range of addresses. Enter global configuration mode on your DHCP server, exclude the problematic address, and then define the DHCP pool with the appropriate network, default gateway, and DNS server settings. Below is the complete configuration to apply:
configure terminal
ip dhcp excluded-address 192.168.11.2
ip dhcp pool VLAN11_POOL
network 192.168.11.0 255.255.255.0
default-router 192.168.11.1
dns-server 8.8.8.8
end
--After that configuration changes, clear all IP add on PC/l'autopsie (ipconfig /release and ipconfig / renew).
06-16-2024 12:15 PM
Thanks a lot! It worked!
06-16-2024 12:18 PM
You're so welcome @FaridFFFaridFF
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide