Redirect http traffic from specific routers interface

Answered Question
Apr 6th, 2010

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.

I have this problem too.
0 votes
Correct Answer by Giuseppe Larosa about 6 years 8 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Giuseppe Larosa Tue, 04/06/2010 - 12:11

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

Actions

This Discussion