How do I get DHCP to work?
Raymond Mason
Member Posts: 74 ■■□□□□□□□□
in CCNA & CCENT
Hello, I have been trying to practice on DHCP but packet tracer doesn't seem to want to do it. I tried to put in the exact commands in a router but they aren't recognized.
Can you guys help guide me through this?
Can you guys help guide me through this?
Comments
-
DCD Member Posts: 475 ■■■■□□□□□□Which version of PT are you using and which device? And show the commands you are using.
-
shaun5263 Member Posts: 120 ■■■□□□□□□□Raymond Mason wrote: »Hello, I have been trying to practice on DHCP but packet tracer doesn't seem to want to do it. I tried to put in the exact commands in a router but they aren't recognized.
Can you guys help guide me through this?
I also use packet tracer and it seems to be working for me. Can you share your config with us and describe your setup? -
R2dTOO Member Posts: 13 ■□□□□□□□□□Raymond Mason wrote: »Hello, I have been trying to practice on DHCP but packet tracer doesn't seem to want to do it. I tried to put in the exact commands in a router but they aren't recognized.
Can you guys help guide me through this?router(config)#ip dhcp excluded-address [Start IP] [End IP]
Create the DHCP Pool:router(config)#ip dhcp pool WORD
Tell the router the DHCP Scope:router(dhcp-config)#network [Network] [Subnet Mask]
And the DNS Server(s):router(dhcp-config)#dns-server [DNS 1] [DNS 2]
Finally, the Default Router:router(dhcp-config)#default-router [Router IP]
This should work without any issues.