Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

How to direct certain traffic to one tunnel, other traffic to another?

I have a client with multiple sites (& Cisco routers). Most of the sites (spokes) have just one ISP connection, however one of the sites (the hub) has two ISP connections. I'd like to create two tunnels between the spoke-and-hub sites and only send certain traffic (eg: RDP and Telnet) through one tunnel and everything else through the another tunnel. (for simple load balancing purposes)

Is there any easy method to do this?

eg: I'm thinking of any traffic that matches an access-list, set the "next hop" to the endpoint of one tunnel, but I'm not sure exactly how to do that.

any suggestions?

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Bronze

Re: How to direct certain traffic to one tunnel, other traffic t

Correct,

Make sure to apply ip policy route-map redirect_to_tunnel in the ingress interface.

3 REPLIES
Hall of Fame Super Bronze

Re: How to direct certain traffic to one tunnel, other traffic t

Source-Based Routing is done via PBR.

Please take a look at this document:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cg/hirp_c/ch20/piconfig.htm#wp1001398

Play around with it in a lab and post back if you have any more questions.

Community Member

Re: How to direct certain traffic to one tunnel, other traffic t

OK, so something like this should work?

access-list 101 permit tcp any any eq 3389

access-list 101 permit tcp any any eq Telnet

route-map redirect_to_tunnel permit 10

match ip address 101

set ip default next-hop 172.16.0.1

So anything that doesn't match the access-list 101 will get processed normally (it will go to the default tunnel), but packets that DO match the access list will get redirected?

Hall of Fame Super Bronze

Re: How to direct certain traffic to one tunnel, other traffic t

Correct,

Make sure to apply ip policy route-map redirect_to_tunnel in the ingress interface.

182
Views
3
Helpful
3
Replies
CreatePlease to create content