Always first use netstat -nr to check the gateway what you have and what the details it has...you See 0.0.0.0. when its a default one and you should first think that why am I changing this gateway than use this command:
route add default gw your ip eth0