[c-nsp] PBR two default gateway

Nick Cutting ncutting at edgetg.com
Thu Jun 23 14:21:49 EDT 2016

You need to match the traffic of the source and destination, in an ACL in the route-map. 
Yours probably being :

Permit XX.xx.xx.xx any

route-map FOO permit 10
match ip address ACL-PBR-SUBNET-A
 set ip next-hop x.x.x.x

then "debug ip policy" to watch it firing, or not firing (if this is not in production yet)

You must test from behind the router - from a host on the subnet )  - as self-generated traffic requires another type of PBR (local policy)

-----Original Message-----
From: cisco-nsp [mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Satish Patel
Sent: Thursday, June 23, 2016 1:46 PM
To: Cisco Network Service Providers
Subject: [c-nsp] PBR two default gateway

I have router with two subnet A & B connected on related physical interface. and we have two ISP link so i want to send subnet A to ISP-A and subnet B to ISP-B.

is it enough if i do this or do i need to use match interface F1/1?
Because i want to do whatever coming from my source interface go to ISP-A and rest will use ip route ISP-B

interface FastEthernet1/1
 description subnet-A
 ip address x.x.x.x
 ip policy route-map FOO
route-map FOO permit 10
 set ip next-hop x.x.x.x
cisco-nsp mailing list  cisco-nsp at puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

More information about the cisco-nsp mailing list