> For the complete documentation index, see [llms.txt](https://prosbcdocs.telcobridges.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prosbcdocs.telcobridges.com/tmedia-documentation/server-and-os-administration/gateway-address.md).

# Gateway Address

The Gateway Address is the term used to force the Toolpack application to use specific network interfaces, also referred to TBX\_GW\_ADDRESS\_0 and TBX\_GW\_ADDRESS\_1 or TbxGwAddr0 and TbxGwAddr1.

It is mandatory to set those value when the host server has 2 or more network interfaces. Otherwise, the applications may not be able to see each other, or communication with adapters may use incorrect network interfaces, causing either failure to detect/connect to remote adapters or applications, or failure take advantage of network redundancy through two separate networks.

The TbxGwAddr0 and TbxGwAddr1 can be set when running the Toolpack installer (Custom Panel). TBX\_GW\_ADDRESS\_0 and TBX\_GW\_ADDRESS\_1 can also be edited directly in the *\[InstallDir]*/toolpack/setup/*\[MajorVersion]*/toolpack.ini file. If toolpack.ini is modified manually, the Toolpack system needs to be restarted.

**For the TMG family in standalone mode**, TBX\_GW\_ADDRESS\_0 and TBX\_GW\_ADDRESS\_1 both need to be set to 172.31.1.2.

> Example of a TMG3200 installation. TBToolPack-2.3.1-Linux-tbrel-1-ppc-Install --tbxgwaddr0 172.31.1.2 --tbxgwaddr1 172.31.1.2

**For the TMG family in 1+1 mode**, TBX\_GW\_ADDRESS\_0 and TBX\_GW\_ADDRESS\_1 will automatically be configured by Toolpack. (they should be set to 172.16.0.0 and 172.18.0.0 respectively)

**For non-network redundant applications**, these values can be set to: TBX\_GW\_ADDRESS\_0=ANY TBX\_GW\_ADDRESS\_1=ANY In that case, the application will be allowed to connect to adapters or other applications through any of the local networks of the host.

Environment variable TBX\_GW\_SUBNETS can be used to restrict the networks that are used when TBX\_GW\_ADDRESS\_0 is set to ANY: To restrict to 3 specific subnets, for example: export TBX\_GW\_SUBNETS='(10.3.2.0,10.3.6.0,192.168.1.0)' To use any subnet except 2 specific, for example: export TBX\_GW\_SUBNETS='!(10.3.2.0,10.3.6.0)'


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://prosbcdocs.telcobridges.com/tmedia-documentation/server-and-os-administration/gateway-address.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
