Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dadgar committed Jul 18, 2017
1 parent 8a2c655 commit 24236e6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions website/source/guides/cluster/requirements.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,17 @@ port.

* Serf WAN (Default 4648). This is used by servers to gossip over the WAN to
other servers. TCP and UDP.

When tasks ask for dynamic ports, they are allocated out of the port range
between 20,000 and 32,000. This is well under the ephemeral port range suggested
by the [IANA](https://en.wikipedia.org/wiki/Ephemeral_port). If your operating
system's default ephemeral port range overlaps with Nomad's dynamic port range,
you should tune the OS to avoid this overlap.

On Linux this can be checked and set as follows:

```
$ cat /proc/sys/net/ipv4/ip_local_port_range
32768 60999
$ echo "49152 65535" > /proc/sys/net/ipv4/ip_local_port_range
```

0 comments on commit 24236e6

Please sign in to comment.