08-25-2003 02:58 AM - edited 03-02-2019 09:51 AM
08-25-2003 03:11 AM
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
08-25-2003 03:34 AM
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
08-25-2003 04:57 AM
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
08-25-2003 04:52 PM
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
08-29-2003 10:36 PM
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
08-31-2003 09:56 PM
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
09-03-2003 09:46 PM
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
09-03-2003 09:52 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide