Ubuntu 18.04 server configured with static ipv6 request dhcp ipv6 address





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I'm having trouble understanding why an Ubuntu 18.04 LTS server installed on a bhyve host insists on requesting a dhcpv6 address despite being configured with a static address with dhcp6 off.



root@ubs:~# journalctl -u systemd-networkd
...
-- Reboot --
Feb 15 14:01:45 ubs systemd[1]: Starting Network Service...
Feb 15 14:01:45 ubs systemd-networkd[584]: Enumeration completed
Feb 15 14:01:45 ubs systemd[1]: Started Network Service.
Feb 15 14:01:45 ubs systemd-networkd[584]: lo: Link is not managed by us
Feb 15 14:01:45 ubs systemd-networkd[584]: enp0s4: IPv6 successfully enabled
Feb 15 14:01:45 ubs systemd-networkd[584]: enp0s4: Gained carrier
Feb 15 14:01:46 ubs systemd-networkd[584]: enp0s4: Gained IPv6LL
Feb 15 14:01:48 ubs systemd-networkd[584]: enp0s4: DHCPv6 address 2a02:2f04:...::941a/128 timeout preferred 4500 valid 7200
Feb 15 14:01:50 ubs systemd-networkd[584]: enp0s4: Configured
root@ubs:~# networkctl status enp0s4
● 2: enp0s4
Link File: /lib/systemd/network/99-default.link
Network File: /run/systemd/network/10-netplan-enp0s4.network
Type: ether
State: routable (configured)
Path: pci-0000:00:04.0
Driver: virtio_net
Vendor: Red Hat, Inc.
Model: Virtio network device
HW Address: 00:a0:98:7a:8e:aa (NetApp)
Address: 10.0.200.11
2a02:2f04:...::51
2a02:2f04:...::941a
2a02:2f04:146:...:8eaa
fe80::2a0:98ff:fe7a:8eaa
Gateway: 10.0.200.1
DNS: 2a02:2f04:...::1
Search Domains: domain.tld
root@ubs:~#


But DHCP v6 is NOT configured:



root@ubs:~# cat /etc/netplan/50-cloud-init.yaml
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
ethernets:
enp0s4:
addresses:
- 10.0.200.11/24
- 2a02:2f04:...::51/64
dhcp4: false
dhcp6: false
gateway4: 10.0.200.1
gateway6: 2a02:2f04:...::1
nameservers:
addresses:
- 2a02:2f04:...::1
search:
- domain.tld
version: 2
root@ubs:~#


Who's sending the solicit message? is this a bug or i'm overlooking something obvious?










share|improve this question























  • But... you've configured IPv6 addresses, gateway6, and nameservers!

    – heynnema
    Feb 15 at 15:28


















0















I'm having trouble understanding why an Ubuntu 18.04 LTS server installed on a bhyve host insists on requesting a dhcpv6 address despite being configured with a static address with dhcp6 off.



root@ubs:~# journalctl -u systemd-networkd
...
-- Reboot --
Feb 15 14:01:45 ubs systemd[1]: Starting Network Service...
Feb 15 14:01:45 ubs systemd-networkd[584]: Enumeration completed
Feb 15 14:01:45 ubs systemd[1]: Started Network Service.
Feb 15 14:01:45 ubs systemd-networkd[584]: lo: Link is not managed by us
Feb 15 14:01:45 ubs systemd-networkd[584]: enp0s4: IPv6 successfully enabled
Feb 15 14:01:45 ubs systemd-networkd[584]: enp0s4: Gained carrier
Feb 15 14:01:46 ubs systemd-networkd[584]: enp0s4: Gained IPv6LL
Feb 15 14:01:48 ubs systemd-networkd[584]: enp0s4: DHCPv6 address 2a02:2f04:...::941a/128 timeout preferred 4500 valid 7200
Feb 15 14:01:50 ubs systemd-networkd[584]: enp0s4: Configured
root@ubs:~# networkctl status enp0s4
● 2: enp0s4
Link File: /lib/systemd/network/99-default.link
Network File: /run/systemd/network/10-netplan-enp0s4.network
Type: ether
State: routable (configured)
Path: pci-0000:00:04.0
Driver: virtio_net
Vendor: Red Hat, Inc.
Model: Virtio network device
HW Address: 00:a0:98:7a:8e:aa (NetApp)
Address: 10.0.200.11
2a02:2f04:...::51
2a02:2f04:...::941a
2a02:2f04:146:...:8eaa
fe80::2a0:98ff:fe7a:8eaa
Gateway: 10.0.200.1
DNS: 2a02:2f04:...::1
Search Domains: domain.tld
root@ubs:~#


But DHCP v6 is NOT configured:



root@ubs:~# cat /etc/netplan/50-cloud-init.yaml
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
ethernets:
enp0s4:
addresses:
- 10.0.200.11/24
- 2a02:2f04:...::51/64
dhcp4: false
dhcp6: false
gateway4: 10.0.200.1
gateway6: 2a02:2f04:...::1
nameservers:
addresses:
- 2a02:2f04:...::1
search:
- domain.tld
version: 2
root@ubs:~#


Who's sending the solicit message? is this a bug or i'm overlooking something obvious?










share|improve this question























  • But... you've configured IPv6 addresses, gateway6, and nameservers!

    – heynnema
    Feb 15 at 15:28














0












0








0








I'm having trouble understanding why an Ubuntu 18.04 LTS server installed on a bhyve host insists on requesting a dhcpv6 address despite being configured with a static address with dhcp6 off.



root@ubs:~# journalctl -u systemd-networkd
...
-- Reboot --
Feb 15 14:01:45 ubs systemd[1]: Starting Network Service...
Feb 15 14:01:45 ubs systemd-networkd[584]: Enumeration completed
Feb 15 14:01:45 ubs systemd[1]: Started Network Service.
Feb 15 14:01:45 ubs systemd-networkd[584]: lo: Link is not managed by us
Feb 15 14:01:45 ubs systemd-networkd[584]: enp0s4: IPv6 successfully enabled
Feb 15 14:01:45 ubs systemd-networkd[584]: enp0s4: Gained carrier
Feb 15 14:01:46 ubs systemd-networkd[584]: enp0s4: Gained IPv6LL
Feb 15 14:01:48 ubs systemd-networkd[584]: enp0s4: DHCPv6 address 2a02:2f04:...::941a/128 timeout preferred 4500 valid 7200
Feb 15 14:01:50 ubs systemd-networkd[584]: enp0s4: Configured
root@ubs:~# networkctl status enp0s4
● 2: enp0s4
Link File: /lib/systemd/network/99-default.link
Network File: /run/systemd/network/10-netplan-enp0s4.network
Type: ether
State: routable (configured)
Path: pci-0000:00:04.0
Driver: virtio_net
Vendor: Red Hat, Inc.
Model: Virtio network device
HW Address: 00:a0:98:7a:8e:aa (NetApp)
Address: 10.0.200.11
2a02:2f04:...::51
2a02:2f04:...::941a
2a02:2f04:146:...:8eaa
fe80::2a0:98ff:fe7a:8eaa
Gateway: 10.0.200.1
DNS: 2a02:2f04:...::1
Search Domains: domain.tld
root@ubs:~#


But DHCP v6 is NOT configured:



root@ubs:~# cat /etc/netplan/50-cloud-init.yaml
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
ethernets:
enp0s4:
addresses:
- 10.0.200.11/24
- 2a02:2f04:...::51/64
dhcp4: false
dhcp6: false
gateway4: 10.0.200.1
gateway6: 2a02:2f04:...::1
nameservers:
addresses:
- 2a02:2f04:...::1
search:
- domain.tld
version: 2
root@ubs:~#


Who's sending the solicit message? is this a bug or i'm overlooking something obvious?










share|improve this question














I'm having trouble understanding why an Ubuntu 18.04 LTS server installed on a bhyve host insists on requesting a dhcpv6 address despite being configured with a static address with dhcp6 off.



root@ubs:~# journalctl -u systemd-networkd
...
-- Reboot --
Feb 15 14:01:45 ubs systemd[1]: Starting Network Service...
Feb 15 14:01:45 ubs systemd-networkd[584]: Enumeration completed
Feb 15 14:01:45 ubs systemd[1]: Started Network Service.
Feb 15 14:01:45 ubs systemd-networkd[584]: lo: Link is not managed by us
Feb 15 14:01:45 ubs systemd-networkd[584]: enp0s4: IPv6 successfully enabled
Feb 15 14:01:45 ubs systemd-networkd[584]: enp0s4: Gained carrier
Feb 15 14:01:46 ubs systemd-networkd[584]: enp0s4: Gained IPv6LL
Feb 15 14:01:48 ubs systemd-networkd[584]: enp0s4: DHCPv6 address 2a02:2f04:...::941a/128 timeout preferred 4500 valid 7200
Feb 15 14:01:50 ubs systemd-networkd[584]: enp0s4: Configured
root@ubs:~# networkctl status enp0s4
● 2: enp0s4
Link File: /lib/systemd/network/99-default.link
Network File: /run/systemd/network/10-netplan-enp0s4.network
Type: ether
State: routable (configured)
Path: pci-0000:00:04.0
Driver: virtio_net
Vendor: Red Hat, Inc.
Model: Virtio network device
HW Address: 00:a0:98:7a:8e:aa (NetApp)
Address: 10.0.200.11
2a02:2f04:...::51
2a02:2f04:...::941a
2a02:2f04:146:...:8eaa
fe80::2a0:98ff:fe7a:8eaa
Gateway: 10.0.200.1
DNS: 2a02:2f04:...::1
Search Domains: domain.tld
root@ubs:~#


But DHCP v6 is NOT configured:



root@ubs:~# cat /etc/netplan/50-cloud-init.yaml
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
ethernets:
enp0s4:
addresses:
- 10.0.200.11/24
- 2a02:2f04:...::51/64
dhcp4: false
dhcp6: false
gateway4: 10.0.200.1
gateway6: 2a02:2f04:...::1
nameservers:
addresses:
- 2a02:2f04:...::1
search:
- domain.tld
version: 2
root@ubs:~#


Who's sending the solicit message? is this a bug or i'm overlooking something obvious?







networking server dhcpv6






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 15 at 12:26









InqInq

1




1













  • But... you've configured IPv6 addresses, gateway6, and nameservers!

    – heynnema
    Feb 15 at 15:28



















  • But... you've configured IPv6 addresses, gateway6, and nameservers!

    – heynnema
    Feb 15 at 15:28

















But... you've configured IPv6 addresses, gateway6, and nameservers!

– heynnema
Feb 15 at 15:28





But... you've configured IPv6 addresses, gateway6, and nameservers!

– heynnema
Feb 15 at 15:28










1 Answer
1






active

oldest

votes


















0














false is not an option according to the examples on the netplan website.
However, the netplan reference page states (bool), which makes true/false first guess.



dhcp4: yes/no
dhcp6: yes/no





share|improve this answer


























  • ok but very short. Please give some reference information

    – cmak.fr
    Mar 9 at 8:50











  • The yaml file was generated by the ubuntu installer. Tried replacing false with no..same result.

    – Inq
    Mar 12 at 13:45











  • if the ipv6 address is not from dhcpv6, check to see if it's your mac address with your 64 prefix.

    – Chesh1re
    Mar 14 at 4:59












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1118503%2fubuntu-18-04-server-configured-with-static-ipv6-request-dhcp-ipv6-address%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














false is not an option according to the examples on the netplan website.
However, the netplan reference page states (bool), which makes true/false first guess.



dhcp4: yes/no
dhcp6: yes/no





share|improve this answer


























  • ok but very short. Please give some reference information

    – cmak.fr
    Mar 9 at 8:50











  • The yaml file was generated by the ubuntu installer. Tried replacing false with no..same result.

    – Inq
    Mar 12 at 13:45











  • if the ipv6 address is not from dhcpv6, check to see if it's your mac address with your 64 prefix.

    – Chesh1re
    Mar 14 at 4:59
















0














false is not an option according to the examples on the netplan website.
However, the netplan reference page states (bool), which makes true/false first guess.



dhcp4: yes/no
dhcp6: yes/no





share|improve this answer


























  • ok but very short. Please give some reference information

    – cmak.fr
    Mar 9 at 8:50











  • The yaml file was generated by the ubuntu installer. Tried replacing false with no..same result.

    – Inq
    Mar 12 at 13:45











  • if the ipv6 address is not from dhcpv6, check to see if it's your mac address with your 64 prefix.

    – Chesh1re
    Mar 14 at 4:59














0












0








0







false is not an option according to the examples on the netplan website.
However, the netplan reference page states (bool), which makes true/false first guess.



dhcp4: yes/no
dhcp6: yes/no





share|improve this answer















false is not an option according to the examples on the netplan website.
However, the netplan reference page states (bool), which makes true/false first guess.



dhcp4: yes/no
dhcp6: yes/no






share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 9 at 9:26

























answered Mar 9 at 8:38









Chesh1reChesh1re

11




11













  • ok but very short. Please give some reference information

    – cmak.fr
    Mar 9 at 8:50











  • The yaml file was generated by the ubuntu installer. Tried replacing false with no..same result.

    – Inq
    Mar 12 at 13:45











  • if the ipv6 address is not from dhcpv6, check to see if it's your mac address with your 64 prefix.

    – Chesh1re
    Mar 14 at 4:59



















  • ok but very short. Please give some reference information

    – cmak.fr
    Mar 9 at 8:50











  • The yaml file was generated by the ubuntu installer. Tried replacing false with no..same result.

    – Inq
    Mar 12 at 13:45











  • if the ipv6 address is not from dhcpv6, check to see if it's your mac address with your 64 prefix.

    – Chesh1re
    Mar 14 at 4:59

















ok but very short. Please give some reference information

– cmak.fr
Mar 9 at 8:50





ok but very short. Please give some reference information

– cmak.fr
Mar 9 at 8:50













The yaml file was generated by the ubuntu installer. Tried replacing false with no..same result.

– Inq
Mar 12 at 13:45





The yaml file was generated by the ubuntu installer. Tried replacing false with no..same result.

– Inq
Mar 12 at 13:45













if the ipv6 address is not from dhcpv6, check to see if it's your mac address with your 64 prefix.

– Chesh1re
Mar 14 at 4:59





if the ipv6 address is not from dhcpv6, check to see if it's your mac address with your 64 prefix.

– Chesh1re
Mar 14 at 4:59


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1118503%2fubuntu-18-04-server-configured-with-static-ipv6-request-dhcp-ipv6-address%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Questions related to Moebius Transform of Characteristic Function of the Primes

List of scandals in India

Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?