On Fri, Feb 14, 2014 at 5:24 PM, ToddAndMargo <[email protected]> wrote: > On 02/14/2014 02:06 PM, Tom H wrote: >> On Fri, Feb 14, 2014 at 3:28 PM, ToddAndMargo <[email protected]> >> wrote: >>> >>> Two days ago, one of my workstations upgrade a ton of packages. It is not >>> on SL 6.5. This workstation uses static networking. >>> >>> Two things showed up that are of concern (both messed up my >>> firewall script which reads and uses these values): >>> >>> 1) my "GATEWAY=" setting was removed from /etc/sysconfig/network >>> and moved to /etc/sysconfig/network-scripts/ifcfg-eth1 >>> >>> "ifup eth1" will now read the "GATEWAY=" from ifcfg-eth1. If moved back >>> to >>> /etc/sysconfig/network, ifup will no longer read it. >>> >>> Has "GATEWAY" in /etc/sysconfig/network been depreciated? >>> >>> 2) in /etc/sysconfig/network-scripts/ifcfg-eth1, "BOOTPROTO=" got changed >>> from "static" to "none". >>> >>> Has this also been depreciated? >>> >>> Anyone know of a working document from Red Hat dealing with >>> what is current for ifcfg-ethx and /etc/sysconfig/network? >> >> GATEWAY works whether it's in network or ifcfg-*. > > That is what I though. Not any more (I did test this).
Setting NETWORK in either "/etc/sysconfig/network" or "/etc/sysconfig/network-scripts/ifcfg-* works for me. "/etc/sysconfig/network" is sourced in "/etc/sysconfig/network-scripts/ifup-eth". >> "static" has always been incorrect because it isn't a boot protocol. > > It was at one time. But, apparently got removed from > RHEL 6: > https://github.com/cobbler/cobbler/issues/361 This is the date that cobbler realized that it wasn't a valid option. These are the RHEL 4 and 5 versions: https://git.fedorahosted.org/cgit/initscripts.git/tree/sysconfig.txt?h=rhel4-branch https://git.fedorahosted.org/cgit/initscripts.git/tree/sysconfig.txt?h=rhel5-branch Neither has "static"; it was a mistake that didn't have a nefarious effect because of the way that the ifup scripts are set up.
