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