10-19-2021 07:37 PM
Hi guys, im new to the packet tracer, and im trying to set up dchp server with 2 pcs in different networks.
I have set up first dhcp poolon my router, but it doesnt work. What i am missing? Thanks in advance for help.
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#ip dhcp pool net1
Router(dhcp-config)#network 192.168.1.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.1.1
Router(dhcp-config)#dns-server 8.8.8.8
Router(dhcp-config)#exit
Router(config)#ip dhcp excluded-address 192.168.1.1
Router(config)#exit
Router#
Solved! Go to Solution.
10-19-2021 08:34 PM - edited 10-19-2021 08:34 PM
Hello,
you need to use a crossover cable for the connection between the PC and the router (the cable with the dashed line)...
10-19-2021 07:52 PM
Hello
Your DHCP server pool looks correct - so what’s connected to fa0/0 of the rtr.?
10-19-2021 07:56 PM
I have a Pc connected to it, and it doesnt get an ip address
10-19-2021 08:34 PM - edited 10-19-2021 08:34 PM
Hello,
you need to use a crossover cable for the connection between the PC and the router (the cable with the dashed line)...
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