when u change the network settings of ubuntu such as default gateway, i may have to logout and login to make the change effective. Maybe we can deactivate the network interface and activate it again to do the same. Next time, I will try this.