LAN Routing
cancel
Showing results for 
Search instead for 
Did you mean: 

Policy-Based Routing or Route-map

 
Marten_med_e
Occasional Visitor

Policy-Based Routing or Route-map

I need to get policy-based routing in our HP ProCurve 8206zl core switch to work, but I do not quite get it.

 

This is what I would like achieve, all addresses on the 192.168.25.0/24 network except 192.168.25.10 is going to the default route on 192.168.1.35, and the lonely poor guy going out on 10.99.0.170, it is possible to fix in any simple way?

I did try to make a route-map, but nothing happened, guess I have missed something.

 

ip prefix-list "LUL" seq 5 permit 192.168.25.10 255.255.255.255 ge 24 le 24

 

route-map LUL-VID permit 10
match ip address prefix-list LUL
set ip next-hop 10.99.0.170
ex

 

Cheers

1 REPLY
Vince-Whirlwind
Honored Contributor

Re: Policy-Based Routing or Route-map

Not route-maps.

 

Weirdly, Policy-Based Routing (PBR) isn't in the Routing config guide - it's in the ATM.

 

You need something like:

 

class ipv4 Lonely
  match ip 192.168.25.10/32
policy pbr Route_Lonely
  class ipv4 Lonely
    action ip next-hop 10.99.0.170
vlan 25
  service-policy Route_Lonely in