Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

route WWW to second WAN interface 1

Status
Not open for further replies.

woongko

IS-IT--Management
Apr 8, 2005
11
US
Hi,

2811 has two WAN interfaces from different ISPs.
How do I route internet traffic(port 80) to second WAN interface? ip route, ip nat don't seem to do it.
Thanks,
 
You can use ACLs to define the traffic your are interested in, this case, port http, and then apply the ACL to the interface in question.
 
Use policy based routing (PBR). The following is a link to explain more about this and how to get it up and running:


I would imagine your config may look something like this:

interface ethernet0
desc *LAN interface*
ip policy route-map http

route-map http permit 10
match ip address 100
set interface s0/1

access-list 100 permit tcp any any eq 80


In the example above, I've assumed the 2nd WAN interface is s0/1. Naturally just replace this with the appropriate WAN interface installed in your router.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top