Hello, I'm having trouble getting ubuntu 16.04 server to request/get a dhcpv6 provided IP address when the networking.service restarts or the server reboots. I'm able to manually run dhclient -6 and get a dhcpv6 provided IP address. Under normal operation I just get a autoconfigured/peer probed IP address that is based on the subet and mac of the server. This is my network configuration.
Code:
# The loopback network interface auto lo iface lo inet loopback # The primary network interface auto ens6 iface ens6 inet dhcp iface ens6 inet6 dhcp
Code:
defaults (leaving out lo interface) net.ipv6.conf.all.autoconf = 1 net.ipv6.conf.default.autoconf = 1 net.ipv6.conf.ens6.autoconf = 1 new settings sysctl -w net.ipv6.conf.all.autoconf=0 sysctl -w net.ipv6.conf.default.autoconf=0 sysctl -w net.ipv6.conf.ens6.autoconf=0
Any idea how to make this system request a dhcpv6 provided IP instead of doing the autoconfig thing?
How to configure network for dhcpv6 address
Aucun commentaire:
Enregistrer un commentaire