Set gateway
Oct 18, 2008 · c] Save routing information to a configuration file so that after reboot you get same default gateway. ip command to set a default router to 192.168.1.254. Login as the root and type: # ip route add default via 192.168.1.254 OR $ sudo ip route add default via 192.168.1.254. route command to set a default router to 192.168.1.254. Login as the