Does any one knows a way to configure a cisco router with multiple gateways - multiple gateways of last resort?
I've tried adding a gateway of last resort twice (with different metric) but only one is shown:
Router(config)# ip route 0.0.0.0 0.0.0.0 2.2.2.2 10
Router(config)# ip route 0.0.0.0 0.0.0.0 3.3.3.3 100
And the show ip route output was:
Router# show ip route
Gateway of last resort is 2.2.2.2 to network 0.0.0.0
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, FastEthernet0/0
3.0.0.0/24 is subnetted, 1 subnets
C 3.3.3.0 is directly connected, FastEthernet0/1
32.0.0.0/30 is subnetted, 1 subnets
C 32.2.2.0 is directly connected, Serial0/2/0
S* 0.0.0.0/0 [10/0] via 2.2.2.2
The point is that i cannot see the other route with higher distance metric?
Anyone has a sugestion?
I mean will this config work if the link on 2.2.2.2 fails? Will the router choose the other network 3.3.3.3, if the link 2.2.2.2 fails?