LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
 
Search this Thread
Old 12-11-2012, 09:20 AM   #1
teky68
LQ Newbie
 
Registered: Jan 2007
Posts: 6

Rep: Reputation: 0
I have 3 nics on squid and need a script to switch nics


I have 3 nics on squid and 2 different ISP's. I need to be able to send a heartbeat to my primary isp, and when that fails it will bring down nic1 and bring up nic2 for the secondary isp to work. Also, when the primary comes back up, it takes down nic2 and brings up nic1.

Nic0 is on the internal network
Nic1 is on the primary isp
nic2 is on the secondary isp
 
Old 12-14-2012, 07:24 AM   #2
bijo505
Member
 
Registered: Nov 2012
Location: Bangalore
Distribution: Fedora & Ubuntu
Posts: 77

Rep: Reputation: 18
Hi,
Just have a look at the following url http://www.muug.mb.ca/pipermail/roun...ay/000872.html

After that setting the priority gateway, the following url will help you

http://www.generationip.com/document...teway-on-linux


--
Thanks,
Bijo

Last edited by bijo505; 12-14-2012 at 08:17 AM.
 
Old 12-15-2012, 03:48 PM   #3
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed in favor of http://www.linuxquestions.org/questi...sp-4175441433/.
 
  


Closed Thread


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
I have an old linuxbox and some unused NICs. Can I turn that into a router/switch? garyozzy Linux - Networking 5 03-16-2011 09:44 PM
building a router with multiple nics (no external switch) xtravar Linux - Networking 2 07-19-2009 01:39 PM
Two NICs second nic plugs into a switch with no router chackercon Linux - Networking 9 03-03-2009 09:00 AM
Intel D845GLLY + Multiple Intel Pro 100 NICs + kernel 2.6.x = NICs don't work egable Linux - Hardware 0 02-04-2005 02:30 PM
2 nics and a squid proxy mssucks Linux - Networking 4 03-06-2002 04:29 AM


All times are GMT -5. The time now is 08:56 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration