1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb/doc/examples/11.natgw.options
Martin Schwenke bd58f7af40 ctdb-docs: Add example configuration files
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2018-05-17 04:04:32 +02:00

26 lines
768 B
Plaintext

# NAT gateway configuration
#
# See ctdb.conf for main cluster configuration details
#
# Cluster provides file services on following IP addresses
#
# 10.1.1.101 - 10.1.1.106
#
# When a node is not hosting any IPs, it cannot connect to network
# infrastructure (e.g. DNS, Active Directory, ...).
#
# Using NAT gateway feature of CTDB allows a node not hosting IPs to connect
# to network infrastructure using the additional CTDB_NATGW_PUBLIC_IP.
# ---------- /etc/ctdb/natgw_nodes ----------
# 192.168.1.1
# 192.168.1.2
# 192.168.1.3
# ---------- /etc/ctdb/natgw_nodes ----------
#
CTDB_NATGW_PUBLIC_IP=10.1.1.121/24
CTDB_NATGW_PUBLIC_IFACE=eth1
CTDB_NATGW_DEFAULT_GATEWAY=10.1.1.254
CTDB_NATGW_PRIVATE_NETWORK=192.168.1.0/24
CTDB_NATGW_NODES=/etc/ctdb/natgw_nodes