# How to configure Policy Based Routing

**URL:** https://forum.networklessons.com/t/how-to-configure-policy-based-routing/945
**Category:** Lessons Discussion
**Created:** [December 24, 2016, 6:19pm UTC](https://forum.networklessons.com/t/how-to-configure-policy-based-routing/945 "2016-12-24T18:19:41Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)
#### Post date: [November 20, 2014, 10:22am UTC](https://forum.networklessons.com/t/how-to-configure-policy-based-routing/945/3 "2014-11-20T10:22:58Z")

</div>

Hi Pramod,

Your configuration looks ok, the strange thing is that the first packet matches but the second one doesn’t? What hardware are you using for this?

Here’s an example when I configure and debug it:

```
P: s=192.168.12.1 (FastEthernet0/0), d=4.4.4.4, len 100, FIB policy match
IP: s=192.168.12.1 (FastEthernet0/0), d=4.4.4.4, len 100, PBR Counted
IP: s=192.168.12.1 (FastEthernet0/0), d=4.4.4.4, len 100, policy match
IP: route map PBR, item 10, permit
IP: s=192.168.12.1 (FastEthernet0/0), d=4.4.4.4 (FastEthernet0/1), len 100, policy routed
IP: FastEthernet0/0 to FastEthernet0/1 192.168.23.100
IP: s=192.168.12.1 (FastEthernet0/0), d=4.4.4.4, len 100, FIB policy match
IP: s=192.168.12.1 (FastEthernet0/0), d=4.4.4.4, len 100, PBR Counted
IP: s=192.168.12.1 (FastEthernet0/0), d=4.4.4.4, len 100, policy match
IP: route map PBR, item 10, permit
IP: s=192.168.12.1 (FastEthernet0/0), d=4.4.4.4 (FastEthernet0/1), len 100, policy routed
```

All packets are matched & policy routed.

Rene

---

_[View the full topic](https://forum.networklessons.com/t/how-to-configure-policy-based-routing/945)._
