Go Premium for a chance to win a PS4. Enter to Win

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

Alternate Cisco Default Gateway

I need to direct internet traffic to an alternate gateway. Router A is on the primary subnet that has a default gateway to the primary firewall router. It is also connected to router B and C via DS3. I need to router internet traffic for router C through router A to a connection on router B. If I change the default gateway on router C to router B it cannot find the path through router A.
0
catdaddy2k
Asked:
catdaddy2k
  • 3
  • 2
  • 2
5 Solutions
 
Don JohnstonCommented:
Create a static route on the PC. If it's windows:

route add 123.4.5.0 mask 255.255.255.0 45.6.7.8

will route traffic to the 123.4.5.0/24 network to 45.6.7.8. All other traffic will go to the defined default gateway.
0
 
ngravattCommented:
before you change the routes, can you ping the device you are trying to send traffic to?  Do some traceroutes and figure out what path your data is taking.
0
 
catdaddy2kAuthor Commented:
Here are the routes we have set:
Router A
E0/0 192.2.2.252
0.0.0.0 0.0.0.0 192.2.2.250 - Firewall
S0/0 193.1.1.1 - connected to Router B
S0/1 193.1.1.3 - connected to Router C
-----------------------------------------------
Router B
E0/0 192.3.2.1
S0/0 193.1.1.2 - connected to Router A
S0/1 24.153.167.1 - Internet Connection
0.0.0.0 0.0.0.0 S0/1 - Firewall
-----------------------------------------------
Router C
E0/0 192.4.2.1
S0/0 193.1.1.4 - connected to Router A
0.0.0.0 0.0.0.0 193.1.1.3

The problem is that the static route on router C has to be set to the serial connected to Router A or it cannot find a route through to router B.

How do you get a path to router B from C without the default route set to router A?
0
 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

 
ngravattCommented:
it appears as if router A is connected to both routers.  If you dont want router C to go through router A, then you will have to send the traffic over the Internet instead of your private lines.  

Does router C have an Internet connection?  If not, then to get from C to B, you HAVE to go through A.
0
 
Don JohnstonCommented:
>How do you get a path to router B from C without the default route set to router A?

If I understand your topology correctly, the answer is you can't.

The only path C has is going through A.
0
 
catdaddy2kAuthor Commented:
I think I confused it a bit... router C has to go through router A to get to router B and actually router A is also connected to other routers that both B and C need to get to, but if the default gateway on router C goes to router A then how do I direct internet traffic for router C to go out on router B?
0
 
Don JohnstonCommented:
You need a route on each router to the networks you need to get to. You're using a default route on RouterC that sends everything to RouterA. RouterA will need routes to the network it needs to get to. You can either use static routes for the specific networks

ip route 192.3.2.0 255.255.255.0 193.1.1.2
ip route 192.4.2.0 255.255.255.0 193.1.1.4

Or you can use a routing protocol like RIP, IGRP, etc.
0

Featured Post

New Tabletop Appliances Blow Competitors Away!

WatchGuard’s new T15, T35 and T55 tabletop UTMs provide the highest-performing security inspection in their class, allowing users at small offices, home offices and distributed enterprises to experience blazing-fast Internet speeds without sacrificing enterprise-grade security.

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