![Black Box LS1016A User Manual Download Page 126](http://html.mh-extra.com/html/black-box/ls1016a/ls1016a_user-manual_2763435126.webp)
Clustering
126
BLACK BOX
®
Advanced Console Server
New Parameters and Commands
A new parameter, conf.nat_clustering_ip allows you to enable or disable the clustering via the
NAT table. This parameter should be configured with the IP address used to access the serial
ports. The NAT clustering will work regardless of the interface where this IP address is
assigned to. Additionally, there are two chains (post_nat_cluster and pre_nat_cluster) that
holds all rules to perform NAT for clustering.
Abbreviation List
The Master BLACK BOX
®
Advanced Console Server box will issue a series of iptables com-
mands to populate the nat table with the necessary rules to perform NAT translation for
remote ports. Two chains will be created:
•
post_nat_cluster
(to change the source IP address), and
•
pre_nat_cluster
(to change the destination IP address)
The BLACK BOX
®
Advanced Console Server administrator must enable clustering via NAT in
pslave.conf (conf.nat_clustering_ip <clustering_ip>).
iptables -D PREROUTING -t nat -p tcp -j pre_nat_cluster
iptables -D POSTROUTING -t nat -p tcp -j post_nat_cluster
clustering_ip
IP address of any BLACK BOX
®
Advanced Console Server
interface (Master box). It is a public IP address and is the one that
must be used to connect with the Slave's serial ports.
master_ip
Primary or secondary ethernet IP address of the Master box
(usually a public IP address).
slave_ip
Primary or secondary ethernet IP address of the Slave box
(usually a non public IP address)
master_port
Remote serial port parameter "socket_port" (configured in the
Master box).
slave_port
Local serial port parameter “socket_port” (configured in the
Slave box).