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. And see here for current known issues.

New Member

Gateway Problem

8 REPLIES
Anonymous
N/A

Re: Gateway Problem

Hi

I am sukrut and I have one small question regarding IP Routing.

We have two gateway to access the internet in my company one is from ADSL line and second one is from Leased Line Router which has two interface and two separate network(One is LAN User NETWORK and Second one is Application Server Network which is having public IP Range) are connected to each other.

Now the problem is a LAN user is able to access the internet through Router as we have given default gateway of router to there Netowking properties.

So can we configure the router in such a way so all Browsing traffic should be routed to ADSL gateway.

Regards

Sukrut

Bronze

Re: Gateway Problem

Hi Sukrut,

you can accomplish this using PBR - Policy Based Routing. See http://www.cisco.com/en/US/customer/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800c75d2.html for details about PBR.

In short, what you would do is define a policy that says "route all packets that have a destination port 80 or 443 towards nexthop n.n.n.n (the address of your adslrouter)". Then apply the policy to the LAN interface of your leased line router.

If you need more help, let us know.

hth

Herbert

Anonymous
N/A

Re: Gateway Problem

Hi Herbert

I am really Thankful to you for showing interest in this issue but the URL which you have forwareded to me is not accessble from my end although I have regiestered User name and password with Cisco.com.

Regards

Sukrut

Bronze

Re: Gateway Problem

You can search the site for "policy routing" to find information. One such link is here: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800c75d2.html

New Member

Re: Gateway Problem

Hi Herbert

I need your help in configuring PBR on my router.

I have been trying to configure the PBR on my router but still I am not able to configure.

I am not able to specify the criteria so that only http packets should be routed to 192.168.1.14(ADSL)Router.

Can you please help me to solve this issue.

Suk

Bronze

Re: Gateway Problem

Ok, here's how I would try it:

access-list 100 permit tcp any any eq 80

access-list 100 permit tcp any any eq 443

!

interface fastethernet 0

ip policy route-map HTTPtoADSL

!

route-map HTTPtoADSL permit 10

match ip address 100

set ip next-hop n.n.n.n

Notes:

- if you already have an acl 100, please use another number

- replace n.n.n.n with the ip address of your adsl router's ethernet interface

- just extend acl 100 if you want to include other traffic

Let us know if it works?

regards

Herbert

New Member

Re: Gateway Problem

Hi Herbert

Thanks it is working.

I have configure the PBR on router so now all the http traffic is routed to ADSL gateway although it is slow.

Once again thanks for your support.

Sukrut

Bronze

Re: Gateway Problem

This may help if the problem is that the leased line router is doing process switching:

interface fastethernet0

ip route-cache policy

Depending on your IOS version, fast-switching of PBR is sometimes also enabled automatically if you enable CEF.

hth

Herbert

246
Views
0
Helpful
8
Replies
CreatePlease login to create content