Yea, like the title says. I thought I had a pretty good understanding of prefix lists as everything I've read/labbed up until now have worked like I expected. However, I'm running into a problem with a PBR lab that I just can't seem to figure out.
The lab have 2 subnets, 192.168.4.0/25 and 192.168.4.128/25. The 192.168.4.128/25 subnet needs to be policy routed to a different router (set ip next hop). I accomplished this using an ACL, but figure I try it with a prefix list, so I created a prefix-list as follows:
- ip prefix-list POLICY seq 10 permit 192.168.4.128/25
Alright, here's what I expect the prefix list to do. When no le or ge option is set, the "/25" specifies how many bits must match, as well as the subnet mask that needs to match. In other word, for a packet to match my prefix list, the first 25 bits must match, and it must have a subnet mask of 25. Is that wrong?
Why is it that packets with a source of 192.168.4.1/25 is also being matched to the prefix-list?