Solved

Alternate Cisco Default Gateway

Posted on 2007-12-03
7
892 Views
Last Modified: 2008-02-01
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
Comment
Question by:catdaddy2k
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 50

Accepted Solution

by:
Don Johnston earned 150 total points
ID: 20397492
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
 
LVL 10

Assisted Solution

by:ngravatt
ngravatt earned 100 total points
ID: 20398714
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
 

Author Comment

by:catdaddy2k
ID: 20398892
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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 10

Assisted Solution

by:ngravatt
ngravatt earned 100 total points
ID: 20399203
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
 
LVL 50

Assisted Solution

by:Don Johnston
Don Johnston earned 150 total points
ID: 20399737
>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
 

Author Comment

by:catdaddy2k
ID: 20399818
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
 
LVL 50

Assisted Solution

by:Don Johnston
Don Johnston earned 150 total points
ID: 20400139
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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
BGP prefix and routing 3 100
QoS on Cisco router 10 59
How to disable sflow Cisco nexus 9k 3 51
Change subnet - effects on server 14 39
Hello to you all, I hear of many people congratulate AWS (Amazon Web Services) on how easy it is to spin up and create new EC2 (Elastic Compute Cloud) instances, but then fail and struggle to connect to them using simple tools such as SSH (Secure…
Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question