-   Linux - General (
-   -   high avilablity on linux using ethernet card (

dshafi 07-05-2005 02:51 AM

high avilablity on linux using ethernet card
i have two ethernet cards on my linux machine ( server which is surving internet), i have two internet connections from diff isp i need redundancy between both of them on client side with out changing gateway on client side how can i do it can anyone help me

psyche_4ever 07-05-2005 03:14 AM

well, that one is quite tricky since there's only one field on every nic spared for a gateway.

Am sure that could only be possible by addressing your ips with all necessary ips but what matters on internet surfing normally after setting up your nic card is the way your browser's internet options are configured.

If both nics are able to use 'dhcp' I guess that quite easy to get what you need. but if they boy use different internet options i.e. one uses 'dhcp' the other passes thru a proxy server, then you gonna have to install an extra internet browser such as mozilla and may be IE. coz with both you can configure them different so that one internet browser can be used to surf using one nic and the other too used to surf internet using the other configuration from the second nic.

try that one and let me know.

overlord73 07-05-2005 03:17 AM

how are the 2 NICs connected?
1. to LAN
2. to Switch -> Router?

dshafi 07-05-2005 04:39 AM

high avilablity on linux using ethernet card
that is adsl connection from two different isps
both of them i have connected from adsl router to switch and from there i have connected my eth card

overlord73 07-05-2005 04:41 AM

ROUTER1 -> eth0
ROUTER2 -> eth1 ?

dshafi 07-05-2005 04:51 AM

high avilablity on linux using ethernet card
ADSLROUTER>to eth0 ethernetcard>ETH1 is connected to Switch

eth1=local lanip

i have enabled masqurade on iptables and i have two scripts one for one isp and another one for another isp

if one isp is down i will manualy change the ip of eth0 and i will run the script which is related script i have given all my local lan pcs gateway my eth1 ip address

now i want to this automaticaly

overlord73 07-05-2005 05:05 AM

hmm? perhaps a cronjob which checks if eth0 is "online" (dns lookup or similar,..).....just an idea! ;-)

interested in further propositions

dshafi 07-05-2005 11:34 PM

i have found some good links for this

All times are GMT -5. The time now is 01:18 PM.