Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPv6 added with random prefix #312

Open
NiceRath opened this issue Oct 7, 2024 · 1 comment
Open

IPv6 added with random prefix #312

NiceRath opened this issue Oct 7, 2024 · 1 comment

Comments

@NiceRath
Copy link

NiceRath commented Oct 7, 2024

We have seen this issue happen on multiple debian11/12 root-servers (running at Hetzner):

Version: 3.0.0-1.1 (latest in default apt-repo)

Note: xxxx is redacted

  1. We configure an IP-address in /etc/network/interfaces.d/:

    auto eno1
    iface eno1 inet6 static
      address 2a01:4f8:2xxx:xxxx::1
      netmask 64
    
  2. Perform a ifreload -a or reboot the server

  3. We see a 'random' IP-address on the interface (output of ip a)

    inet6 74ca:5341:1400:200:2a01:4f8:2xxx:xxxx/32 scope global 
    

When using the 'legacy' ifupdown - every works as expected.

As a workaround - this worked:

  auto eno1
  iface eno1 inet6 static
    up ip address add 2a01:4f8:2xxx:xxxx::1/64 dev eno1

Interesting enough - adding another interface like this (for Hetzner vswitch) works without any issues:

auto eno1.4000
iface eno1.4000 inet6 static
  address 2a01:4f8:fxxx:xxxx::1
  netmask 64
  vlan-raw-device eno1
  mtu 1400
@NiceRath NiceRath changed the title Issue with IPv6 interpretation IPv6 added with random prefix Oct 7, 2024
@julienfortin
Copy link
Contributor

Try removing static:

auto eno1
iface eno1
  address 2a01:4f8:2xxx:xxxx::1
  netmask 64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants