Sun Feb 28, 2010 3:40 pm - How To Configure Default Gateway In Linux
#3185
How To Configure Default Gateway In Linux
Welcome to Webune Support
Webune Provide Linux Dedicated Servers!!!
if you have a linux server, its often necessary to change your network settings from the command line
so to change your default gateway from the shell terminal console, you can use the route command, for example, lets say i want to set my default gateway to 192.168.1.1 i would send this command:
now restart your network for the changes to take affect
done
hope that helps
Webune Provide Linux Dedicated Servers!!!
if you have a linux server, its often necessary to change your network settings from the command line
so to change your default gateway from the shell terminal console, you can use the route command, for example, lets say i want to set my default gateway to 192.168.1.1 i would send this command:
route add default gw 192.168.1.1
now restart your network for the changes to take affect
/etc/init.d/network restart
done
hope that helps
author: Webune Support