hello namesake!

> 
> 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?
> 
this is so oober weird because i know that when you set the gateway for
distros that use the 2.2 kernel it also configures a default route.
anyway, you can dump this line in the file:

/etc/rc.d/rc.local 
 
--------------------------------------
William Emmanuel S. Yu
Ateneo Cervini-Eliazo Networks (ACENT)
email  :  [EMAIL PROTECTED]
web    :  http://cersa.admu.edu.ph/
phone  :  63(2)4266001-5925/5904
 
Flattery will get you everywhere.
 

_
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