How to configure a routing proxy queue in CAM in a NAT environment.

Document ID : KB000052435
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

The solution provides details about how to configure the cam.cfg file with NAT addresses.

Solution:

Scenario is:

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:

  1. Configure the cam.cfg file as follows:

    cam.cfg on server A:
    *ROUTING
    forward NAT_B = IP_B(to)
    .....

    cam.cfg on server B:
    *ROUTING
    forward NAT_A = IP_A(to)
    .....

  2. Recycle CAM at same time by running a command on both servers: camclose

  3. When finished on both servers, run this command on them again: cam start

  4. 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.

  5. Verify that the settings are still correct by opening the updated cam.cfg file.