06-14-2008 01:04 AM - edited 03-05-2019 11:37 PM
Hi,
I have done a policy based routing and attached the policy to the interface. But none of the packets are marking.
route-map name permit 10
match ip address 150
set ip next-hop.
And attached this to an ATN subinterface as;
ip policy route-map name
Can any one help to identify the reason of this;
06-14-2008 01:28 AM
Pls post the config of show route-map as well as the ACL 150!!!
06-14-2008 01:39 AM
route-map APS-ToDIC, permit, sequence 10
Match clauses:
ip address (access-lists): 150
Set clauses:
ip next-hop (IP)
Policy routing matches: 0 packets, 0 bytes
10 permit ip 170.79.1.0 0.0.0.255 host (Destination)
06-14-2008 02:58 AM
Try changing the acl to 150 permit ip 170.79.1.0 0.0.0.255 any.
am sure you must hav given the correct NH but just as a re-check,pls check the NH ip as well.
Let us know the output once u test this.
Pls rate if this helps!!!
06-14-2008 08:18 AM
The original post says that the route map is assigned to the interface. But it does not tell whether the interface is the source interface where the packets arrive or is the destination interface where the packets are sent out. PBR needs the route map to be on the source interface and not the destination interface.
HTH
Rick
06-15-2008 12:36 AM
Hi,
The route map is assigned on the source interfce where the VLAN is active. But the WAN interface (where the branch is connected)is in other router.
06-15-2008 11:42 AM
DRNTEAM,
To make sure that the packets from 170.79.1.0/24 to the host(Destination) pass through the ATN sub-interface. Set ip next-hop
If you correctly configure then it should work.
Is that a production router? "debug ip policy" is a good command to ensure that has been correctly configured.
HTH
Thot
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