# Is there an option to bind Active Gate to a specific interface?

**URL:** <https://community.dynatrace.com/t/is-there-an-option-to-bind-active-gate-to-a-specific-interface/39783>\
**Category:** Open Q&A\
**Tags:** activegate, network-zones\
**Created:** [May 17, 2023, 11:45am UTC](https://community.dynatrace.com/t/is-there-an-option-to-bind-active-gate-to-a-specific-interface/39783 "2023-05-17T11:45:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![r\_weber](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/r_weber/32/24884_2.png) [@r\_weber](https://community.dynatrace.com/u/r_weber)\
**Post date:** [May 17, 2023, 11:45am UTC](https://community.dynatrace.com/t/is-there-an-option-to-bind-active-gate-to-a-specific-interface/39783/1 "2023-05-17T11:45:37Z")

</div>

Is anyone aware of an (undocumented) option to only bind an active gate to a specific network interface (or exclude interfaces)?  
I have an interesting case where an active gate located in DC1&nbsp;(external) reports two interfaces where one contains also an IP that belongs to a locally routed subnet in DC2 (internal). The result it that it can happen that agents in DC2 try to reach an Active gate endpoint reported by DC1 (which is of course not reachable or belongs to completely other services).  
I know for that scenario it is adviseable to also set up network zones (which we have) but it still could be that a oneagent in DC2 tries the remote IP in it’s serverlist as a fallback.

---

<div class="post-metadata">

**Author:** ![Lukasz\_Halman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/lukasz_halman/32/10781_2.png) [@Lukasz\_Halman](https://community.dynatrace.com/u/Lukasz_Halman)\
**Post date:** [May 17, 2023, 11:58am UTC](https://community.dynatrace.com/t/is-there-an-option-to-bind-active-gate-to-a-specific-interface/39783/2 "2023-05-17T11:58:42Z")

</div>

You can bind ActiveGate to specific interface using `bindToNetworkInterface` property in custom.properties file

Example:

```auto
[connectivity]
bindToNetworkInterface=192.168.1.1

```

---

<div class="post-metadata">

**Author:** ![r\_weber](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/r_weber/32/24884_2.png) [@r\_weber](https://community.dynatrace.com/u/r_weber)\
**Post date:** [May 17, 2023, 12:13pm UTC](https://community.dynatrace.com/t/is-there-an-option-to-bind-active-gate-to-a-specific-interface/39783/3 "2023-05-17T12:13:22Z")

</div>

Super, thanks!  
Please lets add this to the documentation 🙂
