The solution provides details about how to configure the cam.cfg file with NAT addresses.
Server A uses IP address IP_A which belongs to NAT address NAT_A
Server B uses IP address IP_B which belongs to NAT address NAT_B
Server A should access Server B by its NAT address NAT_B
Server B should access Server A by its NAT address NAT_A
The 'camstat -a' command executed on Server A shows that CAM is able to bind IP_A
The 'camstat -a' command executed on Server B shows that CAM is able to bind IP_B
Every CAM message sent over TCP/IP contains either IP_A or IP_B as its destination host.
To achieve this goal:
- Configure the cam.cfg file as follows:
cam.cfg on server A:
forward NAT_B = IP_B(to)
cam.cfg on server B:
forward NAT_A = IP_A(to)
- Recycle CAM at same time by running a command on both servers: camclose
- When finished on both servers, run this command on them again: cam start
- With CAM release 1.12, the CAM configuration can be automatically updated. With this CAM 1.12 release, the command camsave must be used to save and check the active CAM configuration.
- Verify that the settings are still correct by opening the updated cam.cfg file.