11-13-2024 05:32 AM
Hello!
I need some help with configuring a DHCP Server.
Here's the topology:
I want to access the DHCP Server so all the laptops and PCs (such as "Jani PC") could request an ip address from it.
Is there a way to do this? Static routing and VLAN on the first network (JanIronda) are configured. I just started the project so most of the configuration is missing.
Solved! Go to Solution.
11-13-2024 05:49 AM
Yes, this can be done. You need to use the command "ip helper-address <dhcp serser IP>. But, the way to use this command may vary depending on how you build the configuration. If you are using subinterface on the router, add this command to the subinterface. If you are not using subinterface, add it to the interface facing the switch. If you have interface vlan on the switch, you can also add it on the switch.
Jusst make sure the routing to DHCP server is working.
You can attach your PacketTracer file here and I can take a look. Just zip it first.
11-13-2024 05:49 AM
Yes, this can be done. You need to use the command "ip helper-address <dhcp serser IP>. But, the way to use this command may vary depending on how you build the configuration. If you are using subinterface on the router, add this command to the subinterface. If you are not using subinterface, add it to the interface facing the switch. If you have interface vlan on the switch, you can also add it on the switch.
Jusst make sure the routing to DHCP server is working.
You can attach your PacketTracer file here and I can take a look. Just zip it first.
11-18-2024 04:30 AM
Thanks! I have thought about the ip helper-address command, I dunno why I haven't tried it.
Now I need some more help - PC Jani can't ping other devices. I configured VLANs (10 as Jani, 20 as Etel, 30 as Zoli, 40 as Szerverszoba, did this on the other switches aswell), but they are not communicating with each other. Configured static routing between routers. I'll attach my .pkt file zipped here, have a look at it if you could help me. Please ignore wireless devices as the project is not done yet, but look at the other devices.
11-18-2024 04:44 AM
The switch interface connected to the router is in trunk mode. This is the problem. Either you configure the interface as access on vlan 10 or you need to create subinterface on the router side and encapsulate dot1q
11-19-2024 06:03 AM
Thank you!
It’s been a while since we did these configurations at school and honestly I forgot a lot. These small mistakes keep getting me…
11-19-2024 06:24 AM
Practicing those concept wil come up again. If you need more help, just let me know
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