Hello,
this should not happen.
Please post show ip interface and show ip route. Change some byte but not everything so we can understand which addresses are in different subnets, etc.
As temporary workaround, try configuring a static default route pointing to the address that you know to be correct.