I am currently using a Linux box (CentOS 5.9) as my router. The router is multihomed and uses two ISP to connect to the internet. Internet traffic from the LAN is distributed through both the lines.
When a particular ISP connection goes down I had to manually route the traffic through the other ISP. What is the best way to detect a dead ISP gateway and route traffic through the alternate ISP connection?