Article 54DKR Question - Loadbalancing/failover two ISP circuits with iproute2 policy routing

Question - Loadbalancing/failover two ISP circuits with iproute2 policy routing

by
JavaWannabe
from LinuxQuestions.org on (#54DKR)
I have two ISP connections connected to a linux box.
I am able to successfully load share both ISP connections by using Iproute2 and creating a seperate routing table with IP rules.

I have a statement in my policy routing table which says to route any address from 1.0.0.0 - 127.255.255.255 out my verizon circuit,
and to route any address from 128.0.0.1 - 254.255.255.255 out my AT&T circuit.

The problem is when one circuit goes down then half my internet connections go down with it.

My question is, is there a way to cause the traffic to flow over to the other circuit when this condition occurs?

In my previous setup with iproute2, I did have one circuit working strictly as a backup circuit when the primary circuit went down and all traffic
would automatically flow over to the other circuit route, however I'm unable to accomplish this same behavior when using policy routing.latest?d=yIl2AUoC8zA latest?i=5Jl56M_2Rs0:h62u3kmA1A8:F7zBnMy latest?i=5Jl56M_2Rs0:h62u3kmA1A8:V_sGLiP latest?d=qj6IDK7rITs latest?i=5Jl56M_2Rs0:h62u3kmA1A8:gIN9vFw5Jl56M_2Rs0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments