Repository navigation
fix(platform): the host routes IPv6 through Contabo's router, not fe80::1 - #2639
Closed
ExtraToast wants to merge 1 commit into
Closed
ExtraToast wants to merge 1 commit into
ExtraToast wants to merge 1 commit into
Conversation
…0::1 (#2638) Nothing answers on fe80::1, so the default IPv6 route led nowhere: the host had no IPv6, while DNS publishes its address for mail and the web hosts. The neighbour table shows the router at fe80::2dc:ff:fe00:2.
Contributor
Changes
No production or test lines added. CoverageNo coverage summary reached this report. Patch coverage: this pull request changes no line that coverage measures.
|
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2638
Why
The host's default IPv6 route pointed at
fe80::1, where nothing answers. The neighbour table showedfe80::1 FAILED, and the real router answering atfe80::2dc:ff:fe00:2(MAC00:dc:00:00:00:02, also2a02:c207::2). So the host had no IPv6 at all. DNS still publishes its IPv6 address formail.esa-blueshell.nl, the MX and the web hosts, so senders that prefer IPv6 time out first and mail arrives late.What changes
The static default route in
platform/nix/hosts/frankfurt-contabo-1/default.nixgoes viafe80::2dc:ff:fe00:2, stillonlink. The comment now names the router address and says whyfe80::1is wrong.Rollout
sudo ip -6 route replace default via fe80::2dc:ff:fe00:2 dev ens18 onlink. This lasts until the next reboot.sudo nixos-rebuild boot --flake 'github:ESA-Blueshell/website/<merge-sha>?dir=platform#frankfurt-contabo-1'. The next reboot keeps the right route. No reboot is needed now, because step 1 already applied it.Verified
The
NixOS flake checkCI job builds the config. The route itself is verified on the host by step 1 and aping -6to2606:4700:4700::1111.