Skip to content

IPv6 does not work #8314

Open
Open
@0sorkon

Description

@0sorkon
ISSUE TYPE
  • Bug Report
COMPONENT NAME
Network
CLOUDSTACK VERSION
4.18.1.0
CONFIGURATION

Advanced network, isolated network with dualstack ip config

OS / ENVIRONMENT

Compute:

root@cloud2:~# cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
SUMMARY

When creating an isolated network with ipv4+ipv6, ip addresses are assigned to the VM (displayed in the interface), but are not received via DHCP from the virtual router inside VM. At the same time ipv4 addresses are received by guest VMs normally. Setting the enable-ra option, which is not enabled by default in /etc/dnsmasq.conf has no effect. When assigning ipv6 manually to the guest VM (the one specified in the interface), ping to the virtual router fails with the error

Destination unreachable: Address unreachable. 

tcpdump on the bridge where virtual interfaces are located:

12:03:15.186417 IP6 2a00:1728:23:109f:1:ff:fee7:1 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 2a00:1728:23:109f::1, length 32
12:03:16.210411 IP6 2a00:1728:23:109f:1:ff:fee7:1 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 2a00:1728:23:109f::1, length 32
12:03:17.234483 IP6 2a00:1728:23:109f:1:ff:fee7:1 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 2a00:1728:23:109f::1, length 32
12:03:17.234737 IP 10.1.1.254.22 > 10.1.1.1.59366: Flags [P.], seq 1169432167:1169432483, ack 3282011073, win 501, length 316
12:03:17.234945 IP 10.1.1.1.59366 > 10.1.1.254.22: Flags [.], ack 316, win 5882, length 0
12:03:18.258392 IP6 2a00:1728:23:109f:1:ff:fee7:1 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 2a00:1728:23:109f::1, length 32
12:03:18.410325 IP6 fe80::1:ff:fee7:2 > ff02::1: ICMP6, router advertisement, length 104
12:03:19.282398 IP6 2a00:1728:23:109f:1:ff:fee7:1 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 2a00:1728:23:109f::1, length 32
12:03:20.306561 IP6 2a00:1728:23:109f:1:ff:fee7:1 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 2a00:1728:23:109f::1, length 32

Tested on Debian 11, Ubuntu 22.04 b CentOS5 (deployed from built-in template). No additional configurations at host level.

STEPS TO REPRODUCE

create an isolated network as shown in the video https://www.youtube.com/watch?v=rqqJENCAwoo. Create a VM on this network. Log in to the VM and check the ipv6 assignment on the primary interface. Try pinging the virtual router


EXPECTED RESULTS

Guest VM gets ipv6 by dhcp and can ping the virtual router

ACTUAL RESULTS

Guest VM does not get ipv6 ip over dhcp and cannot ping the virtual router


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions