[id='match-fallback-strategies_{context}']
= Match and fallback strategies

{brandname} Server can enumerate all network interfaces on the host system and bind to an interface, host, or IP address that matches a value, which can include regular expressions for additional flexibility.

[discrete]
== Match host

.XML
[source,xml,options="nowrap",subs=attributes+,role="primary"]
----
include::xml/server_network_matchhost.xml[]
----

.JSON
[source,json,options="nowrap",subs=attributes+,role="secondary"]
----
include::json/server_network_matchhost.json[]
----

.YAML
[source,yaml,options="nowrap",subs=attributes+,role="secondary"]
----
include::yaml/server_network_matchhost.yaml[]
----

[discrete]
== Match interface

.XML
[source,xml,options="nowrap",subs=attributes+,role="primary"]
----
include::xml/server_network_matchinterface.xml[]
----

.JSON
[source,json,options="nowrap",subs=attributes+,role="secondary"]
----
include::json/server_network_matchinterface.json[]
----

.YAML
[source,yaml,options="nowrap",subs=attributes+,role="secondary"]
----
include::yaml/server_network_matchinterface.yaml[]
----

[discrete]
== Match address

.XML
[source,xml,options="nowrap",subs=attributes+,role="primary"]
----
include::xml/server_network_matchaddress.xml[]
----

.JSON
[source,json,options="nowrap",subs=attributes+,role="secondary"]
----
include::json/server_network_matchaddress.json[]
----

.YAML
[source,yaml,options="nowrap",subs=attributes+,role="secondary"]
----
include::yaml/server_network_matchaddress.yaml[]
----

[discrete]
== Fallback

.XML
[source,xml,options="nowrap",subs=attributes+,role="primary"]
----
include::xml/server_network_fallback.xml[]
----

.JSON
[source,json,options="nowrap",subs=attributes+,role="secondary"]
----
include::json/server_network_fallback.json[]
----

.YAML
[source,yaml,options="nowrap",subs=attributes+,role="secondary"]
----
include::yaml/server_network_fallback.yaml[]
----
