Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Policy routing and dhcp

I have a router performing dhcp server and policy based routing on the same interface. Incoming dhcp requests are being policy based routed. Can this funtion be disabled/bypassed?

1 REPLY
Anonymous
N/A

Re: Policy routing and dhcp

You are probably using a route-map with no "match" command. You must use a match command and create an exception for the DHCP packets in the match criteria you are applying to the route-map.Try creating an extended access-list where in the first line you deny DHCP packets, and in the second line you permit everything. Then configure a match command in your route-map making reference to that access-list. Something like this:

access-list 101 deny udp any any eq 67 (I think this is DHCP...)

access-list 101 permit ip any any

route-map permit 10

match ip address 101

set interface

Hope this works :))

Paulo

128
Views
0
Helpful
1
Replies
CreatePlease to create content