10-24-2017 07:23 AM - edited 03-08-2019 12:28 PM
Hello!
I have made a typology in packet tracer but somehow cannot manage to get the DHCP to work. Router R1 should be the DHCP server and give ip addresses to the to PCs
Could someone please help me out with what am I doing wrong?
PT file:
https://drive.google.com/open?id=0BzXd7P0mf-ivTTU0RnRzQ2ZRb28
10-24-2017 07:26 AM
Could you post your topology as well as the config?
10-24-2017 07:30 AM
Sorry, for some reason the site did not let me upload the PT file, so I could not attach it to the post, so I uploaded it to google drive.
10-24-2017 01:56 PM - edited 10-24-2017 01:57 PM
Hello
Without looking at your configuration or WS capture its hard to tell what the problem is however below is a basic configuration of dhcp service on a rtr.
service dhcp
ip dhcp pool STAN
network x.x.x.0 255.255.255.0
default-router x.x.x.1
dns-server y.y.y.y
lease 0 8
domain-name STAN.com
ip dhcp excluded-address x.x.x.1 x.x.x.99
Now if you clients are not on the same subnet as any of the rtr interfaces then a dhcp relay maybe required on the L3 interface of the client switch performing inter-vlan routing
Also if you have dhcp snooping enabled on the switches for the clients vlan, then dhcp can be negated if you dont trust certain interfaces towards your dhcp server.
res
Paul
10-24-2017 02:02 PM
Thank you!
I managed to figure it out after all. It was that by default the host pc-s were configured as statics and that is why they did not accept the dynamic ip address...
Quite a lame mistake..
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