Skip to main content
2 of 2
deleted 19 characters in body
Rui F Ribeiro
  • 58k
  • 28
  • 156
  • 239

It's very easy, you only need to type the next commands:

$ route del 0/0 $ route add 0/0 192.168.0.1 

You gonna need to replace the '192.168.0.1' with the IP of your choice.

And to check the changes you can use 'netstat':

$ netstat -r 

This command show the routing table of the system.

ifm
  • 111
  • 1