[NTLUG:Discuss] Setting the default GW at boot
Jay Urish
j at yourlinuxguru.com
Tue Dec 26 11:06:16 CST 2000
At 10:18 AM 12/26/00, you wrote:
>Hi All,
>I hope X-Mass was great for everyone. I have about 5 remote locations on a
>frame circuit and in the /etc/rc.d/rc.local file I inserted the line:
>
>/sbin/route add default gw xxx.xxx.xxx.xxx
>
>This seems to work for about half of the computers, the rest I have to
>telnet to and manually set the gateway. Where can I put the above line so
>it will be set on ALL the computers at boot time.
>
>Thanks in advance.
>
>
>
/etc/sysconfig/network
mine looks like this
--
NETWORKING=yes
FORWARD_IPV4=true
HOSTNAME=ns.drdhotels.com
DOMAINNAME=drdhotels.com
GATEWAY=216.87.148.65
GATEWAYDEV=eth0
>Carter B. Bennett
>The Dunlap Company
>Fort Worth, TX
>
>email: cbbennett at dunlaps.com
>Voice: 817-347-0258
>Fax: 817-877-1302
>
>_______________________________________________
>http://ntlug.org/mailman/listinfo/discuss
Jay Urish
Your Linux Guru.
Sendmail/Bind/Apache/DHCPD/IPchains/Samba expertise all in one place!
www.yourlinuxguru.com
More information about the Discuss
mailing list