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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Routing port 80 and 443 out a secondary interface/route

So I have a remote office connected via an MPLS.  I am adding a broadband connection to this site as well and want all port 80 and 443 traffic routed out the Broabband connection.  The mpls is serial0/0/0(55.55.55.55/30) and the broadband is connected to fastethernet0/2(44.44.44.44/30)

What routes would I need to configure this?

Everyone's tags (4)
1 REPLY
VIP Purple

You can't do that with pure

You can't do that with pure ip-routing. For that you have to use policy-basrd-routing:

First you have to specify the traffic that should be routed in a specific way:

ip access-list extended WEB-TRAFFIC
  permit tcp any any eq 80
  permit tcp any any eq 443

Then specify the routing in a route-map:

route-map WEB-POLICY permit 10
 match ip address WEB-TRAFFIC
 set ip next-hop 44.44.44.44
 

Last, apply the route-map to the interface where the WEB-clients are located:

int vlan X
  description LAN-interface
   ip policy route-map WEB-POLICY

 

Here are some links to more information on PBR:

http://blog.alwaysthenetwork.com/tutorials/policy-based-routing-tutorial/

http://www.petri.co.il/how-to-use-cisco-ios-policy-based-routing-features.htm

 

 


--
Don't stop after you've improved your network! Improve the world by lending money to the working poor: http://www.kiva.org/invitedby/karsteni
748
Views
0
Helpful
1
Replies