LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-02-2006, 06:39 AM   #1
samnetic
LQ Newbie
 
Registered: May 2006
Posts: 1

Rep: Reputation: 0
Enabling routing how ?


Hi Guys,

This is my first post and need your help to implement the following scenerio :

I have Centos 4.1 installed on my machine and have three nic cards working on this machine.

eth0 - the inbuild lan card
eth1 & eth2 - externally attached nic cards.

I have two ISP connections, say ABC and XYZ.
Now what I wish to do is configure the linux machine as a server such that both the connections come in the above machine and from this machine they leave for the working bays (workstations).

I wish to establish the above working model such that if the internet connection of ABC ISP provider is down because of any reason, then on my workstation, I can shift to the XYZ connection only by changing the gateway.
Just to remind you, I wish to have XYZ connection to be coming from the same above machine.

So I need your help to know how would it be possible to configure above architecture such that one machine will act as the central server. How will I configure gateways such that on workstation end, if I change the gateway (coming from the same machine) it should change the connection.

Please help me and let me know if above scenerio can be implemented.

Thanks in advance.
 
Old 05-02-2006, 07:31 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
what do you mean by sayign that you change the gateway? your default gateway on each node will still be the same, i.e. that routing server is still doing the routing. Is this something you explicitly want to do, or jsut your perception of how it would work? if you check chapter 4 of lartc.org there are simple configs for dual ISP solutions where it would failover automatically, and a change wouldn't be needed. but if a change were needed, it'd be on the server, not every single node anyway. having two internal addresses for two external connections is pretty horrible really, you'd presumably need to do some form of iptables rule to keep two otherwise identical streams of traffic seperate for no apparent benefit.
 
  


Reply



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
Enabling LILO JMA914 Fedora 3 06-21-2005 09:43 AM
TCP/IP enabling linuxhippy Slackware 5 06-12-2005 07:36 PM
Enabling martians... fodavis Linux - Networking 2 04-19-2005 08:13 AM
Enabling PHP4 Doug.Gentry Linux - General 5 04-01-2005 11:17 PM
real routing under nat routing nothingmuch Linux - Networking 4 10-27-2003 03:11 PM

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

All times are GMT -5. The time now is 07:08 AM.

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