Add interface for update the router information.
Improve the get default gateway to get the gateway address if any.