04-17-2013 02:29 AM - edited 03-07-2019 12:51 PM
We are configuring ACLs for a dhcp pool on Sw3750
ip access-list extended Test
permit ip any 192.168.1.0 0.0.0.31
permit ip any host 172.16.1.1
And, here is dhcp pool:
ip dhcp excluded 192.168.1.1 192.168.1.3
ip dhcp pool Name
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
But when a PC try to obtain IP automatically, it doesn't work.
Pls help me.
Thks in advanced
Solved! Go to Solution.
04-17-2013 05:20 AM
Hi,
This is because the DHCP discovery and request message are sent with a source address of 0.0.0.0 and a destibnation address of 255.255.255.255. Try modifying your ACL as follow:
ip access-list extended Test
permit ip any 192.168.1.0 0.0.0.31
permit ip any host 172.16.1.1
permit udp any eq bootpc any eq bootps
Hope this helps
04-17-2013 04:30 AM
In case When i remove ACLs, that PC can get IP and connected to network.
04-17-2013 05:20 AM
Hi,
This is because the DHCP discovery and request message are sent with a source address of 0.0.0.0 and a destibnation address of 255.255.255.255. Try modifying your ACL as follow:
ip access-list extended Test
permit ip any 192.168.1.0 0.0.0.31
permit ip any host 172.16.1.1
permit udp any eq bootpc any eq bootps
Hope this helps
04-17-2013 09:09 PM
That's great. Its working. Thks Harold Ritter very 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