How to temporarily change the default gateway in Messaging Gateway using the command line
search cancel

How to temporarily change the default gateway in Messaging Gateway using the command line

book

Article ID: 153942

calendar_today

Updated On:

Products

Messaging Gateway

Issue/Introduction

The default gateway used by the Symantec Messaging Gateway (SMG) needs to be temporarily changed using the command line interface (CLI).

Environment

Messaging Gateway

Resolution

  • Check the current IP routing table with the command:
    route -n
     
  • To add the new default gateway to be used:
    route add default gw #.#.#.# (where #.#.#.# is new default gateway IP)
     
  • If another gateway route previously existed, you may delete it by issuing the command::
    route del default gw 192.0.2.1 (where 192.0.2.1 is old IP gateway)

Note: This is not a permanent change. You must also change the netword configuration for the scanner in the Control Center Administration > Configuration > host > Ethernet to make the change permanent.