Install NixOS on Hetzner Online: Difference between revisions

Hexa (talk | contribs)
Network configuration: Bring in sync with Hetzner cloud and give only networkd examples for a static config, as well as one using DHCP
Hexa (talk | contribs)
Network configuration: IPV4 subnet is usually shared
Line 12: Line 12:
== Network configuration ==
== Network configuration ==


Hetzner Cloud offers both IPv4 (/32 or shorter subnets) and IPv6 (/64 subnet) connectivity to each machine. The assigned addresses can be looked up on the [https://robot.hetzner.com/server Hetzner Robot]  on the IPs tab of a machine. The public IPv4 address of the server can automatically be obtained via DHCP. For IPv6 you have to statically configure both address and gateway.
Hetzner Cloud offers both IPv4 (usually in a shared /26 or /27 subnet) and IPv6 (/64 subnet) connectivity to each machine. The assigned addresses can be looked up on the [https://robot.hetzner.com/server Hetzner Robot]  on the IPs tab of a machine. The public IPv4 address of the server can automatically be obtained via DHCP. For IPv6 you have to statically configure both address and gateway.


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">