How to change the IP address of the Inbound or Outbound interface on Messaging Gateway
search cancel

How to change the IP address of the Inbound or Outbound interface on Messaging Gateway

book

Article ID: 177715

calendar_today

Updated On:

Products

Messaging Gateway

Issue/Introduction

Changing IP address of the Inbound and / or Outbound interface on Symantec Messaging Gateway.

Resolution

  1. Go to Administration → Hosts → Configuration 
  2. Click on the host to be modified
  3. Select the Ethernet tab.
  4. Change the values.
  5. Click the Save button.

 

After a few moments the following message will display: (Perform the instructions noted in this message.)

The Control Center is being assigned a new IP address. This may take several minutes. The process is complete when you can access the Control Center in your browser using the new IP address. After that, log into the command line interface and restart the Control Center by typing service controlcenter restart. If you are already connected via ssh then do not expect the message of the controlcenter restarted since the destination IP is unreachable due to the change of IP configuration. You might ping the old and new IP to see which one is up. Then close ssh client and the browser to log in to the Control Center using the new IP address.

Should the Control Center's IP address be altered, each scanner must be accessed through the command-line interface to update the agent's trusted IP list accordingly.

agent-config --add <IP address of new control center>

No further configuration of SMG is required. Other devices may need to be reconfigured in your network, such as switches, routers, and/or firewalls.

 

If your configuration involves changing a subnet and multiple hosts, such as a control center plus a scanner and an additional scanner, we suggest a slightly different approach.

  1. Go to a Management Console of your virtual environment and alter settings of your virtual machines. Add new interface to the Network Interface controller and assign new network details on all hosts
  2. Log into the SMG command line using admin user and run the command. You have to do it on all of the hosts. 
    agent-config --add <new IP address of a host>
    If the current version of the SMG is 10.8.1 or higher, you have to restart agent service after adding new IP address
    service agent restart
  3. Alter configuration in the web interface. 
    1. Go to Administration → Hosts → Configuration 
    2. Click on the host to be modified
    3. Select the Ethernet tab.
    4. Change the values.
    5. Click the Save button.

WARNING!!! Keep in mind to first change the configuration of scanners and to adjust the control center as the last host

The last step would be to remove the old interfaces from the NIC and to delete the old IP addresses from the agent service configuration on all of the hosts.

agent-config --delete <old IP address>