IPv4 Forwarding
IPv4 forwarding is required for the Application and Infrastructure servers to communicate. If the IP addressing mode is changed to static from DHCP (default), IPv4 forwarding gets disabled. In this case, verify the status of IPv4 forwarding and enable it before the initialization process starts.
Note: IPv4 forwarding is enabled by default.
Enable IPv4 forwarding on both the Application and Infrastructure servers before initializing the docker engine services required for communication. Login as root user.
- Edit the /etc/sysctl.conf file to add net.ipv4.ip_forward=1 and save the file.
- Run the
systemctl restart network
command to restart the network services. - Run the
sysctl net.ipv4.ip_forward
to check the status of IPv4 forwarding. The expected output is net.ipv4.ip_forward=1.