Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 418
  • Last Modified:

policy based routing problem

I need to come up with a way to route traffic around a content filter that is destined from my dmz to inside network and vice versa.  Ive attached a network diagram.  I have no experience with policy based routing.  My first dive into PBR has not been successfull.  Id appreciate it if you could provide me details / commands to make this happen.  See diagram Proposed network change
0
colonialiu20
Asked:
colonialiu20
  • 3
  • 2
1 Solution
 
Don JohnstonInstructorCommented:
This is really pretty straightforward.

You could create a static route on the bottom device that would route any traffic destined for 10.0.0.0/24 out the g0/2 interface.

Then on the top device, you would create a policy that routes any traffic from 10.0.0.0/24 out the g0/3 interface.

Do you need the commands?
0
 
colonialiu20Author Commented:
Thanks donjohnston!  Can you detail the commands for the top device?  Would it also be possible to carve out two ports in the bottom switch that already exists to act as the second switch?  Thanks!
0
 
Don JohnstonInstructorCommented:
Would it also be possible to carve out two ports in the bottom switch that already exists to act as the second switch?

What kind of switch is this? For that matter, what type of device is the top switch? It will have to support PBR.

As for the code, there are a couple of options.

1) You don't have to define the destination IP address. I did and used 192.168.1.0/24.
2) You can also set the next hop address instead of the exit interface.
access-list 101 permit ip 10.0.0.0 0.0.0.255 192.168.1.0 0.0.0.255

route-map Stewie permit 10
 match ip address 101
 set interface g0/3

Open in new window

0
 
colonialiu20Author Commented:
The bottom switch is a 3560g switch.  The top switch doesn't exist yet.  That where I need to place another switch.  Rather than purchasing another switch to go on the top, I was wondering if I could carve two ports in the bottom switch into a separate vlan that would act as the switch on the top.  Make sense?  Or do I need another physical switch?  Sorry for the confusion.  I just dont want to have to buy another switch if it's not necessary.  Thanks again!
0
 
Don JohnstonInstructorCommented:
I noticed a slight problem.

The ASA interface and the bottom switch are on the same network. There is no routing. Which means that you can't solve this with PBR or any routing based solution as it is.

Think there are a couple of solutions.

1) Create an additional inside network on the ASA which bypasses the TC. Create an additional VLAN on the bottom switch to accommodate this network. Then you can use rules on the ASA and PBR on the 3560 to direct specific traffic around the TC.

2) Create three networks between the ASA and the networks on the bottom (those three switches at the very bottom). You could do this with the existing 3560 using VRFs. Then use PBR to direct the traffic accordingly.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now