add gateway from command line

ifconfig
ifconfig

 

routeroute

 

 

route add default gw 192.168.1.1

route add

route add default gw 192.168.1.1