[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 542
  • Last Modified:

How to use a Cisco 877 to route traffic to a different router

We have a client that has two ADSL routers - one is a Cisco 877 that we installed, the second has a slow 512k connection on a Cisco 837 that belongs to the client's supplier; we have no control of or access to it.

At the moment all client computers that need to access the supplier's Intranet have the supplier's router (say 10.0.0.1 for the sake of argument) set as the default gateway.  This means they can access the Intranet (presumably over a VPN to the supplier - say at 172.16.0.1), but other Internet traffic is slow.

Now we can use a "ROUTE" command in Windows on the PCs to direct the traffic to the correct router - but it would be better to do this in the router, if possible.

So how do we configure the new Cisco 877 (10.0.0.90) so that if traffic comes to it that's destined to the supplier Intranet (172.16.0.1), it sends it over to the supplier router (10.0.0.1)?

Also, is it a good or bad idea to configure it this way?

Thanks in advance!
0
David Haycox
Asked:
David Haycox
  • 2
  • 2
1 Solution
 
Todd GerbertIT ConsultantCommented:
You should set the default gateway on the client PC's to be your 877.  On the 877, it's default gateway should be the Internet (either just goes out the Internet interface, or directed to your ISP's gateway - either way this should be setup correctly already).

Then on the 877, you add a route to direct 172.16.0.0/255.255.255.0 to 10.0.0.1 (the 837).

I'm a little foggy on the exact command  try "ip route ?" or "route ?" for help while logged in to router in config mode, on an older Cisco router it'd be:
<login with password>
enable
<enter enable password>
configure terminal
ip route 172.16.0.0 255.255.255.0 10.0.0.1
0
 
Todd GerbertIT ConsultantCommented:
Double checked Cisco's documentation, that command above outta do it: http://www.cisco.com/en/US/docs/ios/ipaddr/command/reference/iad_ip.html#wp1012824
0
 
David HaycoxAuthor Commented:
Fantastic!  Just tried it on a test 857, works a treat.  I had a suspicion it would be straightforward (after all, it's a router, so routing shouldn't be hard), but it's always worth asking someone who knows better before you break something... thanks!!
0
 
David HaycoxAuthor Commented:
Works great, thanks!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now