LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-07-2005, 10:51 AM   #1
teamchachi
LQ Newbie
 
Registered: Mar 2005
Location: Calgary Alberta Canada
Posts: 22

Rep: Reputation: 15
Secondary default gateway?


Here's the situation: The school where I'm volunteering has 3 subnets. We put in a Linux server with 3 NICs to route traffic between the subnets. This works great! Until, the Linux server crashes.

Here's my question: Is there some way that I can put in a secondary router that will take over the subnet routing duties if router #1 dies? Is it possible to tell the Windows clients to use default gateway #1, and if that doesn't work then use default gateway #2?

Thanks!
 
Old 10-07-2005, 11:06 AM   #2
EECore
LQ Newbie
 
Registered: Jul 2005
Distribution: Debian, NetBSD
Posts: 9

Rep: Reputation: 0
Although an extremely dodgy way of doing things, my idea would be to set up a script run from router #2s Cron which pings router #1 every 5 minutes or so, and if it doesn't get a response to change its IP address and enable the services to match that of router #1s...

If that made any sense..

I'm sure there is a much better way of doing things though.
 
Old 10-07-2005, 12:19 PM   #3
teamchachi
LQ Newbie
 
Registered: Mar 2005
Location: Calgary Alberta Canada
Posts: 22

Original Poster
Rep: Reputation: 15
More Info

Here's a bit more information:

On the Linux router:
eth0 - 192.168.10.1
eth1 - 192.168.20.1
eth2 - 192.168.30.1

Example:
A windows pc with IP of 192.168.10.99 using 192.168.10.1 as his default gateway.

What I'd really like to do is setup a second Linux router with the following setup:
eth0 192.168.10.2
eth1 192.168.20.2
eth2 192.168.30.2

So is there some way that you can tell Windows to try 192.168.10.1 as the default gateway, and if that doesn't work to 192.168.10.2?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Default gateway dooda5555 Linux - Networking 1 06-17-2005 12:43 PM
HELP default gateway MrSavage Linux - Newbie 2 01-10-2005 08:46 AM
Default Gateway rrosenkoetter Linux - Networking 3 08-27-2004 09:41 AM
default gateway avikosan Linux - Networking 3 12-09-2003 06:47 PM
What's a default gateway and do I need one? Travis86 Linux - Newbie 8 05-25-2003 06:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration