cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
735
Views
0
Helpful
2
Replies
aaron.washington
Beginner

IOS-DHCP-Server

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Kasun Bandara
VIP Advocate

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

Please rate this and mask as answer, if this resolved your issue
Good luck
KB

View solution in original post

2 REPLIES 2
Kasun Bandara
VIP Advocate

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

Please rate this and mask as answer, if this resolved your issue
Good luck
KB

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?