|
|
@ -66,10 +66,9 @@ The options below are all specified on the command-line.
|
|
|
|
state as other nodes will treat the non-routability as a failure. In Consul 1.1.0 and later this can be dynamically defined with a [go-sockaddr]
|
|
|
|
state as other nodes will treat the non-routability as a failure. In Consul 1.1.0 and later this can be dynamically defined with a [go-sockaddr]
|
|
|
|
template that is resolved at runtime.
|
|
|
|
template that is resolved at runtime.
|
|
|
|
|
|
|
|
|
|
|
|
<CodeBlockConfig>
|
|
|
|
<CodeBlockConfig heading="Using a static network interface name">
|
|
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
```shell
|
|
|
|
# Using a static network interface name
|
|
|
|
|
|
|
|
$ consul agent -advertise '{{ GetInterfaceIP "eth0" }}'
|
|
|
|
$ consul agent -advertise '{{ GetInterfaceIP "eth0" }}'
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|