We have noticed a problem while doing trace route using ping plotter from a laptop connected wireless our route changes from our primary default gateway to the secondary we want it to use the primary all the time unless the link goes down. Here is our routing statment. The cost of 10.8 is the perfered route by not setting a cost it's using 1 the top one 10.4 set to 2 . We want traffic to go out the 10.8.x.x route.
ip default-gateway 10.8.X.X.X vlan 10 ip
ip default-gateway 10.4.X.X 2 vlan 11 IP
Our uplinks to the network has the OSPF cost settings of 1 on both uplinks I'm assuming the default gatway should be used to force all traffic to the 10.8 route, but we are seeing traffic go out the 10.4 route. We think we should change the cost on the 2nd uplink 10.4 vlan 11 to cost of 2 instead of 1 forcing traffic to go out 1.
This problem is because wireless phones are dropping calls could be route changes during the call.
interface vlan 10
ip address 10.8.X.X 255.255.255.X
operstate up
ip ospf area 0.0.0.10
ip ospf dead-interval 8
ip ospf hello-interval 2
ip ospf authentication message-digest
ip ospf message-digest-key XXXXXX
interface vlan 11
ip address 10.4.X.X 255.255.255.X
operstate up
ip ospf area 0.0.0.10
ip ospf dead-interval 8
ip ospf hello-interval 2
ip ospf authentication message-digest
ip ospf message-digest-key XXXXXX