Solved

POLICY ROUTING

Posted on 2010-11-25
5
328 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

New Server 172.16.200.2  was moved from behind Router R2 f0/1 to behind router R1 int f/01 and has now address 172.16.100.2. But we want users still to be able to connected to it by old IP. How to do it ? We can used destination NAT (DNAT).  In DNAT…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
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…

914 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now