Solved

POLICY ROUTING

Posted on 2010-11-25
5
330 Views
Last Modified: 2012-06-27
When policy based routing is applied to an interface does this policy affect both incoming and outgoing traffic or just incoming.

#ip access-list extended tcp
#permit tcp any any

#route-map tcp permit 10
#match ip address tcp
#set next hop 10.0.0.2

#int fa 0/0
#ip policy route-map tcp


0
Comment
Question by:sectel
  • 2
  • 2
5 Comments
 
LVL 16

Accepted Solution

by:
btassure earned 500 total points
ID: 34216050
It will only apply to traffic in the direction that it is already flowing based on routing rules. Your example will obviously affect all traffic on that interface as it states any any.

If it was host-a host-b it would only affect traffic entering that interface from host-a to host-b.

Equally the return traffic would not be affected as it has already been routed when it gets to the interface egress stage.
0
 
LVL 28

Expert Comment

by:asavener
ID: 34229983
Just incoming.
0
 

Author Comment

by:sectel
ID: 34231222
Asavener

You are stating that only traffic that is external to the router and is entering the router will be affected by the (#ip policy route map) statement???

J.
0
 
LVL 28

Expert Comment

by:asavener
ID: 34232763
Yes, that's how policy-based routing works.

0
 

Author Comment

by:sectel
ID: 34232826
Thanks

J.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question