LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-05-2005, 02:51 AM   #1
dshafi
LQ Newbie
 
Registered: May 2003
Location: chennai
Distribution: redhat
Posts: 27

Rep: Reputation: 15
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
 
Old 07-05-2005, 03:14 AM   #2
psyche_4ever
LQ Newbie
 
Registered: Jan 2004
Location: KIGALI-RWANDA
Distribution: Redhat Linux 9
Posts: 16

Rep: Reputation: 0
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.
 
Old 07-05-2005, 03:17 AM   #3
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 511

Rep: Reputation: 30
how are the 2 NICs connected?
1. to LAN
2. to Switch -> Router?
 
Old 07-05-2005, 04:39 AM   #4
dshafi
LQ Newbie
 
Registered: May 2003
Location: chennai
Distribution: redhat
Posts: 27

Original Poster
Rep: Reputation: 15
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

Last edited by dshafi; 07-05-2005 at 04:40 AM.
 
Old 07-05-2005, 04:41 AM   #5
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 511

Rep: Reputation: 30
ROUTER1 -> eth0
ROUTER2 -> eth1 ?
 
Old 07-05-2005, 04:51 AM   #6
dshafi
LQ Newbie
 
Registered: May 2003
Location: chennai
Distribution: redhat
Posts: 27

Original Poster
Rep: Reputation: 15
high avilablity on linux using ethernet card

ADSLROUTER>to eth0 ethernetcard>ETH1 is connected to Switch

eth0=publicip
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

Last edited by dshafi; 07-05-2005 at 04:53 AM.
 
Old 07-05-2005, 05:05 AM   #7
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 511

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

interested in further propositions
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Choosing a High-End sound card with Linux support NoobVer.01 Linux - Hardware 1 08-23-2005 08:35 AM
Ethernet card on laptop: I installed my D-Link ethernet card into Redhat 9, not detec brighamr Linux - Hardware 0 05-18-2004 12:33 AM
Linux doesn't see the ethernet card franco Debian 1 10-21-2003 11:03 AM
One linux box and nic card, two high-speed internet connections ajnunes Linux - Networking 3 10-24-2002 04:34 PM
VERY new to Linux, need help setting up Ethernet card xjoshx Linux - Newbie 8 10-22-2002 07:10 PM


All times are GMT -5. The time now is 10:52 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration