summaryrefslogtreecommitdiffstats
path: root/ctdb/doc/examples/11.natgw.options
blob: e2460cbb89429fe97909ae39622910305dc06476 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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