Setup pbr on a cisco router

Setting up PBR on a cisco router is easy.  The other day I had a customer with a cisco router with one port that needed two internet connections.  Since I could only use one port I set up PBR with a basic router to do the rest.  They also had a VPN to another location and and extranet to connect to.  Here are the IP addresses.

192.168.1.1 – Extranet router

192.168.1.2 – cisco router which I will give the config for

192.168.1.17 other router

192.168.1.254 -cisco router with vpn

setup the ACL

!— exclude the .1 router other wise the VPN traffice could not get to the extraent

access-list 117 deny ip 192.168.1.1 host

access-list 117 permit ip 192.168.1.0 0.0.0.127 any

!—config route map

route-map use-other-isp permit 10

  match ip address 117

   set ip defauly-next-hop 192.168.1.17

 

!— aplly to interface

interface vlan 1

ip policy route-map

     use-other-isp

 

 

Advertisements
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s