LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   how to 2 getaway at the same time on debian (https://www.linuxquestions.org/questions/debian-26/how-to-2-getaway-at-the-same-time-on-debian-421321/)

kara_lahana 03-03-2006 01:35 PM

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.

acid_kewpie 03-04-2006 05:48 AM

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.

kara_lahana 03-04-2006 06:35 AM

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.

acid_kewpie 03-04-2006 07:32 AM

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?

kara_lahana 03-04-2006 08:34 AM

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

acid_kewpie 03-04-2006 08:54 AM

like I said, check lartc.org, there's loads of guide there for things like this.

stefan_nicolau 03-05-2006 12:22 PM

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.


All times are GMT -5. The time now is 06:11 AM.