cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
379
Views
3
Helpful
3
Replies

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

thomasdzubin
Level 1
Level 1

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

Correct,

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

View solution in original post

3 Replies 3

Edison Ortiz
Hall of Fame
Hall of Fame

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.

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?

Correct,

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