Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-02-2006, 06:39 AM
|
#1
|
LQ Newbie
Registered: May 2006
Posts: 1
Rep:
|
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.
|
|
|
05-02-2006, 07:31 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
All times are GMT -5. The time now is 09:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|