Originally in 6.2 (I think) I used to have one ethX that had the GATEWAY=
line and used that to denote the gateway.  Subsequently I had a problem
where I had a more recent version and went to change the gateway in the ethX
scripts and it was not there.  I added the GATEWAY= line and it still didn't
work.  I ultimately found that there was a line in /etc/sysconfig/network
for the gateway.  I changed it and took the lines out of the ethX and it
worked fine.  I also found that the GUI tools were not making any changes to
ethX for the gateway, but rather to just /etc/sysconfig/network so I
abandoned using ethX.

Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Rodolfo J. Paiz
Sent: Friday, February 28, 2003 5:04 PM
To: Red Hat List
Subject: RE: Connecting two networks through a RedHat box

On Fri, 2003-02-28 at 15:43, Larry Brown wrote:
> Don't put the GATEWAY= line in there though.  This can mess you up if you
> change the gateway in the future since it is now stored in the
> /etc/sysconfig/network file.

Does "it is now stored" mean "it is now always supposed to be stored" in
recent versions of Red Hat, and I didn't notice?

Or does it mean "it's stored because we put it there in previous
attempts at troubleshooting"?

I've always been used to having a GATEWAY for each device, then adding
(for example) "GATEWAYDEV=eth0" to /etc/sysconfig/network...

--
Rodolfo J. Paiz
[EMAIL PROTECTED]




--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to