cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3388
Views
0
Helpful
1
Replies

Routing port 80 and 443 out a secondary interface/route

Dan Loring
Level 1
Level 1

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?

1 Reply 1

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

 

 

Review Cisco Networking for a $25 gift card