LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-03-2006, 01:35 PM   #1
kara_lahana
Member
 
Registered: Nov 2005
Location: Germany
Distribution: WinXP
Posts: 30

Rep: Reputation: 15
how to 2 getaway at the same time on debian


hi use debian as ftp server
i would like to give two other getaway from different eth (like etho and eth1)at my debian server.

how is it posieble.
 
Old 03-04-2006, 05:48 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
a getaway? don't think you mean that at all, but gateway...

But anyway, can you explain more about what you actually want to achieve? you can only have one *default* gateway, for any other traffic you would need to specify individual routes to the destination networks. it's possible to load balance across two internet connections if that's what you mean, but it's not too easy, and has limited benefits, as your traffic from any incoming client still needs to go back out the way it came. check out lartc.org for details of isp load balancing.

Last edited by acid_kewpie; 03-04-2006 at 05:50 AM.
 
Old 03-04-2006, 06:35 AM   #3
kara_lahana
Member
 
Registered: Nov 2005
Location: Germany
Distribution: WinXP
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie
a getaway? don't think you mean that at all, but gateway...

But anyway, can you explain more about what you actually want to achieve? you can only have one *default* gateway, for any other traffic you would need to specify individual routes to the destination networks. it's possible to load balance across two internet connections if that's what you mean, but it's not too easy, and has limited benefits, as your traffic from any incoming client still needs to go back out the way it came. check out lartc.org for details of isp load balancing.

i try to achieve a realtime connection backup
if one of my adsl connetion die my ftp server should be attainably through other one.
 
Old 03-04-2006, 07:32 AM   #4
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
if you mean internet accessible, then you would need to provide some form of intelligent DNS solution to make the server available from two routes. the connections will have different ip addresses, how do you expect to be able to reach it with a different IP address? how are these two connections physically connected to your network? one directly in each box? does that mean this box is directly internet facing?
 
Old 03-04-2006, 08:34 AM   #5
kara_lahana
Member
 
Registered: Nov 2005
Location: Germany
Distribution: WinXP
Posts: 30

Original Poster
Rep: Reputation: 15
it is not importent through which of ip will be attainably.
if first internet connetion down or refused.
server should try to use the other connetion.


is this Posieble?
on windows you can us 2 getaway
 
Old 03-04-2006, 08:54 AM   #6
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
like I said, check lartc.org, there's loads of guide there for things like this.
 
Old 03-05-2006, 12:22 PM   #7
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Quote:
Originally Posted by kara_lahana
it is not importent through which of ip will be attainably.
if first internet connetion down or refused.
server should try to use the other connetion.


is this Posieble?
on windows you can us 2 getaway
I think it's quite easy to have a setup where your server connects to the internet through a backup connection if the main connection is down, but it is more complicated to have a system where your server will be accessible from the internet in such a situation. This is because clients need to have some way of locating your server. One solution would be to have a system by which the dns record for your server is changed when the main connection goes down. The easier way is to simply provide users with two addresses, in case one of them is down. Is your connectivity so bad this is worth the trouble? BTW, if both connections are with the same provider, both might go down at the same time.
 
  


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
adjusting the time in debian Drayven Linux - General 5 04-16-2004 01:33 AM
It's Debian Time Killer7 Linux - Software 2 02-08-2004 04:35 PM
How do I srart x in debian for the first time? silverbullet Linux - Newbie 6 02-04-2004 05:21 PM
First time Debian install roadscholar Debian 3 10-29-2003 01:54 AM
Debian for the first time. Omen.o_O Linux - Newbie 4 07-26-2003 08:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:29 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