Define gateway for default route in $NETWORKS
authorMartin Schwenke <martin@meltin.net>
Wed, 18 Jun 2014 02:18:58 +0000 (12:18 +1000)
committerMartin Schwenke <martin@meltin.net>
Wed, 25 Jun 2014 10:46:15 +0000 (20:46 +1000)
commit90125744b49031bffb3bf7a7f190873f7c4cfdbd
treee9db8e73cad6bd1fc0dcc161fe07f347dd15b1a9
parent0f7e763d3004a3d8c0bed650f866aed56a54e0c5
Define gateway for default route in $NETWORKS

It now goes into one of the ifcfg-eth* files instead of
/etc/sysconfig/network.

NetworkManager in RHEL 7.0 seems to have a horrible bug.  If GATEWAY
is defined in /etc/sysconfig/network and if it brings up the "wrong"
interface first then it adds a host route to the gateway on the
"wrong" network.  This means that outbound traffic is OK.  However,
for incoming traffic, ARP responses go out the "wrong" interface and
are either filtered on the node or are ignored by the host machine.

Signed-off-by: Martin Schwenke <martin@meltin.net>
autocluster
base/all/etc/sysconfig/network
config.d/00base.defconf