netstat -nr
route delete default 192.168.1.251
ou can add default router temporarily by following command
route add default 192.168.10.249
You can add default router permanently by following commands
route -p add default 192.168.1.249
Or
echo 192.168.1.249 > /etc/defaultrouter
It will create /etc/defaultrouter file if not already available.
Next time you restart you system 192.168.1.249 will be automatically added to default router.
Recent Comments