2022 Developer Survey is open! Take survey.

New answers tagged

0 votes

Getting an IP from an ipv6 dhcp server

Ubuntu 20.04 LTS Disable ip6tables is not a good idea, instead I add a bypass for DHCPv6. ipif=$(ip link show | awk -F':' ' $2 ~ /^[ ]+e.+[0-9]/ { sub(/^[ \t]+/, "",$2); print $2; }') sudo ...
user avatar
0 votes

Ubuntu set default outgoing ipv6 address

Set lifetime: 0 on the non preferred addresses. From man netplan(5): lifetime (scalar) – since 0.100 Default: forever. This can be forever or 0 and corresponds to the PreferredLifetime option ...
user avatar
  • 101
0 votes

Configure static IPv6 on Ubuntu

TLDR; In IPv6 let the host use your network gateway advertised address; only configure the host IP address/mask (and optionally DNS). In IPv6 you can configure the host IPv6 address statically, obtain ...
user avatar
  • 76

Top 50 recent answers are included