diff options
Diffstat (limited to 'pkgs/run-firecracker-vm')
| -rw-r--r-- | pkgs/run-firecracker-vm/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/run-firecracker-vm/default.nix b/pkgs/run-firecracker-vm/default.nix index 855b43c..6df6222 100644 --- a/pkgs/run-firecracker-vm/default.nix +++ b/pkgs/run-firecracker-vm/default.nix @@ -217,6 +217,12 @@ let # The default client identifier is derived from the machine-id, # which is the same in every VM, so they'd all get the same lease. dhcpV4Config.ClientIdentifier = "mac"; + # IPv6: the address from the MAC, which the host expects (see + # modules/host), and DNS stays the host's IPv4 address. + networkConfig.IPv6AcceptRA = true; + networkConfig.IPv6PrivacyExtensions = "no"; + ipv6AcceptRAConfig.Token = "eui64"; + ipv6AcceptRAConfig.UseDNS = false; }; boot.bcache.enable = false; |
