Configure Network Interfaces

You can use the configuration option proxy_client_listen_subnet_mask to configure network interfaces. This can be specified at both the grid and proxy level to control which network interface the proxy binds to when listening for connections from clients.

If a machine has multiple network interfaces, a specific subnet mask can be provided in a standard CIDR notation to control which interface should be selected. When specified at the grid level, all proxies inherit this value and attempt to use the specified subnet mask.

For example, in the following grid configuration, all proxies attempt to use the subnet mask 10.0.1.0/24:
grid create copyset_size=1 proxy_client_listen_subnet_mask=10.0.1.0/24
proxy create p3

If there is a need to override this value for a specific proxy, it can also be specified at the proxy level. The options for proxy ports and proxy listen subnet masks can be combined at both the grid and proxy level.

For example:
proxy create proxy_client_listen_subnet_mask=10.0.2.0/24 p4
proxy create proxy_client_listen_subnet_mask=10.0.2.0/24 proxy_client_listen_port=8892 p5