I have a 2620 Cisco Router with only one Fastethernet port Now I have two internet gateways. I want to config my router as when primary routing fails second routing automatically start to route all my packets. When I set 2 IP route command in my router then I check I see it work well but when peer IP on primary routing is down it can not change to second routing until I remove first route command.In the following I write my setting. How can I set it?
interface FastEthernet0/0 ip address 126.96.36.199 255.255.255.248 secondary ip address 188.8.131.52 255.255.255.252 ip route 0.0.0.0 0.0.0.0 184.108.40.206 ip route 0.0.0.0 0.0.0.0 220.127.116.11 100