03-08-2022 04:27 AM - edited 03-08-2022 04:27 AM
I am trying to get my host to receive a DHCP in my cisco packet tracer lab. Can someone download the lab and please tell me what I still need to configure to get it to grab an IP address from the pool I've created? I am a beginner and looking for a little help.
Solved! Go to Solution.
03-08-2022 04:54 AM
your DHCP server need to know about where request coming from. so either you need to add static route towards vlan 10 and 11 at router or add VLAN 10 and 11 as OSPF networks in L3 switch to advertise towards router.
for static routes, use below and check
Router(config)#ip route 172.16.11.0 255.255.255.0 172.16.1.1
Router(config)#ip route 172.16.10.0 255.255.255.0 172.16.1.1
03-08-2022 04:54 AM
your DHCP server need to know about where request coming from. so either you need to add static route towards vlan 10 and 11 at router or add VLAN 10 and 11 as OSPF networks in L3 switch to advertise towards router.
for static routes, use below and check
Router(config)#ip route 172.16.11.0 255.255.255.0 172.16.1.1
Router(config)#ip route 172.16.10.0 255.255.255.0 172.16.1.1
03-08-2022 05:33 AM
Yep, you're right. As soon as I added the static route the host received and ip from the pool. I initially wanted to use OSPF but couldn't get it to advertise to router 1. Could tell me which command I would need to make that happen for future lab and testing?
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