place it in rc.local at /etc/rc?/

-----Original Message-----
From: William Villanueva [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 04, 2001 10:16 PM
To: [EMAIL PROTECTED]
Subject: [plug] route


Hi!

I'm running a Mandrake 7.1 server and everytime I reboot the machine, I have
to issue the command:

 route add default gw 192.168.1.1 metric 1

Where and how should I be adding this route configuration so that it will
automatically load when the server reboots?

I have tried configuring this through linuxconf's networking: Routing and
gateways: Set default option
without any effect.

[/etc/sysconfig/network] contains:
GATEWAYDEV=eth0
NETWORKING=yes
FORWARD_IPV4=yes
DOMAINNAME=purity.com.ph
HOSTNAME=server.purity.com.ph
GATEWAY=192.168.1.1

 --- 8< ---

I'm not running routed or gated which I don't think I need, do I?

Thanks!

Take care and God bless.

William

 ======================================================================

        The Lord is my Shepherd, that's all I want...

 ======================================================================

_
Philippine Linux Users Group. Web site and archives at
http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to