cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3264
Views
0
Helpful
2
Replies

Redirect http traffic from specific routers interface

Hi,

We have a cisco 2811 router that has two HWIC ADSL Cards. Until now we used only the first ADSL Card using an ADSL connection from an ISP (A-ISP). This connection has 8 static public IP addresses. One of them is configured on the G0/0 interface of the router. Our's company Web site and mail server exists on the company's LAN using two IP adresses from the previewsly mentioned pool. 

We resently bought another ADSL connection from a different ISP (B-ISP). This connection uses dynamic IP address.

We would like to configure both connections to our Cisco router and redirect users web traffic only from the second connection. 

A-ISP connection uses Dialer2 with static Public IP address.

default route on router is:

ip route 0.0.0.0 0.0.0.0 Dialer2.

We configured the second ADSL connection creating a new dialer, dialer0 successfully. Then we configured the following commands on cisco:

conf t

ip address-list extended HTTP-REQ

permit tcp any any eq www    

ctrl z

conf t

route-map HTTP2Vivo permit 10

match ip address HTTP-REQ

set interface dialer0

ctr Z

conf t

interface G0/0

ip policy route-map HTTP2Vivo

The problem is that web traffic uses again the first ADSL connection (A-ISP).

Can someone help us?

Thanks in advanced.

1 Accepted Solution

Accepted Solutions

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Charalampos,

you need also to configure multi homed NAT: in order for return traffic from internet web servers to come back on second link users have to be NATTED to the ip address of dialer0.

see this well-known document that explains the process

https://www.cisco.com/en/US/tech/tk648/tk361/technologies_configuration_example09186a0080950834.shtml

Hope to help

Giuseppe

View solution in original post

2 Replies 2

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Charalampos,

you need also to configure multi homed NAT: in order for return traffic from internet web servers to come back on second link users have to be NATTED to the ip address of dialer0.

see this well-known document that explains the process

https://www.cisco.com/en/US/tech/tk648/tk361/technologies_configuration_example09186a0080950834.shtml

Hope to help

Giuseppe

Thanks for your response.

This solved my problem

Review Cisco Networking products for a $25 gift card