06-19-2023 01:52 PM
Hey guys, i have a router connected to a switch. The switch configures as a server, with 4 client switches. all 4 client switches have 4 PCs. There are 4 vlans configured, but i did dhcp configuration and it seems that it is failing to connect.
Solved! Go to Solution.
06-20-2023 01:06 AM - edited 06-20-2023 05:25 AM
ok, first on your Murdoc ROuter this is Gi0/0 to connect to HeadSwitch, not Gig0/1
Then add the command on your murdock Router -- MurdochD(config)#service dhcp
Also the config of access port on your switches is not good. For example here:
Put this config:
It's should be good:
06-19-2023 02:11 PM
Hi
If this is a PacketTracer project, would be easier if you attach it here. You just need to zip the file first.
06-19-2023 11:09 PM
06-19-2023 09:39 PM
Hello @Jaydn Teoh,
Have you got a network topology to show us?
@Flavio Miranda, talk about paket tracer too. It should be easier for us to help you.
Thanks.
06-19-2023 10:31 PM
06-20-2023 05:20 AM
Hi @Jaydn Teoh
Did you got this to work?
I have found some problems on the file you attached and it would not be possible it to work. Just check on you if you fixed or maybe I got the wrong file.
For example, you configured the interface Gi0/0 but you connected the switch into interface Gi0/1. But, I see other issues also.
06-20-2023 05:26 AM
Hi, I did get this to work. I have found that there are a few problems with the vlans. I did the right configurations for the vlan and changed the interface to g0/0. after that everything worked fine.
06-20-2023 06:23 AM
Great!
06-20-2023 12:02 AM
use ip helper command to distribute ip addresses via dhcp
06-20-2023 01:13 AM - edited 06-20-2023 02:17 AM
Hello @Wizard4777,
no need of ip helper address in this case. Sw L2 do the job with the broadcast due to DHCP meassages.
You need ip help address or relay dhcp if this broadcast messages have to pass throught Router ; because Router drop broadcast. Then with this command on a routeur, your broadcast is "convert" to unicast packet.
06-20-2023 12:24 AM
I did #sh ip dhcp pool command on my switch and it shows that nothing is connected. Means that my switch is not connected to the router?
06-20-2023 01:06 AM - edited 06-20-2023 05:25 AM
ok, first on your Murdoc ROuter this is Gi0/0 to connect to HeadSwitch, not Gig0/1
Then add the command on your murdock Router -- MurdochD(config)#service dhcp
Also the config of access port on your switches is not good. For example here:
Put this config:
It's should be good:
06-20-2023 01:43 AM
hey thank for replying, do you mean i should connect fast ethernet to gigabit?
06-20-2023 02:00 AM
Look Giga interfaces on your Murdoc Router. Giga0/1 is the bad one, you need to connect the giga0/0 to the HeadSwitch.
06-20-2023 02:32 AM
Thank you. I actually done fast Ethernet to giga0/0. everything works fine now. thank you so much.
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