diff options
author | Martin Schwenke <martin@meltin.net> | 2014-06-18 12:18:58 +1000 |
---|---|---|
committer | Martin Schwenke <martin@meltin.net> | 2014-06-25 20:46:15 +1000 |
commit | 90125744b49031bffb3bf7a7f190873f7c4cfdbd (patch) | |
tree | e9db8e73cad6bd1fc0dcc161fe07f347dd15b1a9 /config.d | |
parent | 0f7e763d3004a3d8c0bed650f866aed56a54e0c5 (diff) | |
download | autocluster-90125744b49031bffb3bf7a7f190873f7c4cfdbd.tar.gz autocluster-90125744b49031bffb3bf7a7f190873f7c4cfdbd.tar.xz autocluster-90125744b49031bffb3bf7a7f190873f7c4cfdbd.zip |
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>
Diffstat (limited to 'config.d')
-rw-r--r-- | config.d/00base.defconf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config.d/00base.defconf b/config.d/00base.defconf index eb17ba9..fd14df6 100644 --- a/config.d/00base.defconf +++ b/config.d/00base.defconf @@ -229,11 +229,11 @@ defconf DNSSEARCH "$DOMAIN" \ # Networks: # * First network is private and contains the CTDB node addresses. -# * Items look like: net/bits,dev[, nat|bridge=host_iface] +# * Items look like: net/bits,dev[,nat|bridge=host_iface][,gw=gateway_ip] -# * Right now autocluster only supported 24 bit networks. This will +# * Right now autocluster only supports 24 bit networks. This will # be improved in the future. -defconf NETWORKS "10.0.0.0/24,eth0 10.0.1.0/24,eth1 10.0.2.0/24,eth2" \ +defconf NETWORKS "10.0.0.0/24,eth0,gw=10.0.0.1 10.0.1.0/24,eth1 10.0.2.0/24,eth2" \ "<list>" "description of IP networks" has_public_addresses_DEFAULT () |