LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Setting gateway permanently through console on MD9.2 (https://www.linuxquestions.org/questions/linux-newbie-8/setting-gateway-permanently-through-console-on-md9-2-a-119881/)

RyanAT 11-25-2003 04:06 PM

Setting gateway permanently through console on MD9.2
 
Hi guys, thanks in advance for your help; Im still very green when it comes to the Linux world. Ive got a webserver running Mandrake 9.2 with a single ethernet adapter and public IP address. I tried using the GUI tool to configure my ethernet, but the gateway didnt stick. Even defining the gateway in a console session (even that command escapes me at the moment) would only last until the network or computer was rebooted. What am I missing?

david_ross 11-26-2003 02:10 PM

Welcome to LQ. Try setting:
GATEWAY=ip.of.gateway.here

in:
/etc/sysconfig/network-scripts/ifcfg-eth0


All times are GMT -5. The time now is 04:22 AM.