I want to implement network with 2 default-gateway for the internet connection. one primary and a secondary route. We can configure the static route to be active only while a host respond, but i can configure that first route be the single route while the host respond ?
I beleive the simplest way to do this is to add the both routes with different administrative distance on your core router , that will pass the data to the gateway . For example , ip route 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx ======> Primary
ip route 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx 10 ======> Secondary