cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3183
Views
0
Helpful
4
Replies

DHCP not working!

Cronvell
Level 1
Level 1

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

4 Replies 4

BradEast1
Level 3
Level 3

Could you post your topology as well as the config?

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.

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


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

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..