Re: IPv4+IPv6 Dual Stack Networking for Shared Networks

2024-02-20 Thread Wido den Hollander




Op 20/02/2024 om 09:16 schreef Wei ZHOU:

Hi,

For a shared network with IPv6, you need to configure SLAAC on the upstream
router, as CloudStack VR is not the IPv6 gateway.



Correct with a few additions:

- Make sure you set the lifetime of the RA to something like 60s and the 
interval to 10s, this makes for a fast failover


OR

- Use VRRPv3 and sent out SLAAC with the Unicast VRRPv3 address


- You might want to sent the rDNS servers with SLAAC as well
- Make sure privacy extensions are disabled inside the VMs

Wido


-Wei


On Tue, 20 Feb 2024 at 09:00, Ozhan Karaman  wrote:


Hi All;

I am using Cloudstack 4.19, I am trying to enable IPv4+IPv6 Dual Stack
Networking for Shared Networks, so I add a new network with both dual stack
ip definitions in Shared Mode. I started the vm and I noticed that I don't
get ipv6 ip from VR.

I connected to VR to check dhcp server/dnsmasq setup and it's setup is ok
but I noticed that VR's eth0 does only have an ipv4 ip address not v6. I
started to investigate more in VR and I noticed that ipv6 is disabled by
sysctl settings so network setup could not be successfully applied. By the
way, I am using the 4.19 SystemVM template.

So it looks like the VR image does not like to work with IPv6, I started to
investigate Network Offerings to check out if ipv6 needs to be enabled for
shared networking somewhere but I could not find any specific settings.

Does anyone have any clue for the missing piece?

Thanks
Ozhan





Re: IPv4+IPv6 Dual Stack Networking for Shared Networks

2024-02-20 Thread Wei ZHOU
Hi,

For a shared network with IPv6, you need to configure SLAAC on the upstream
router, as CloudStack VR is not the IPv6 gateway.

-Wei


On Tue, 20 Feb 2024 at 09:00, Ozhan Karaman  wrote:

> Hi All;
>
> I am using Cloudstack 4.19, I am trying to enable IPv4+IPv6 Dual Stack
> Networking for Shared Networks, so I add a new network with both dual stack
> ip definitions in Shared Mode. I started the vm and I noticed that I don't
> get ipv6 ip from VR.
>
> I connected to VR to check dhcp server/dnsmasq setup and it's setup is ok
> but I noticed that VR's eth0 does only have an ipv4 ip address not v6. I
> started to investigate more in VR and I noticed that ipv6 is disabled by
> sysctl settings so network setup could not be successfully applied. By the
> way, I am using the 4.19 SystemVM template.
>
> So it looks like the VR image does not like to work with IPv6, I started to
> investigate Network Offerings to check out if ipv6 needs to be enabled for
> shared networking somewhere but I could not find any specific settings.
>
> Does anyone have any clue for the missing piece?
>
> Thanks
> Ozhan
>


IPv4+IPv6 Dual Stack Networking for Shared Networks

2024-02-20 Thread Ozhan Karaman
Hi All;

I am using Cloudstack 4.19, I am trying to enable IPv4+IPv6 Dual Stack
Networking for Shared Networks, so I add a new network with both dual stack
ip definitions in Shared Mode. I started the vm and I noticed that I don't
get ipv6 ip from VR.

I connected to VR to check dhcp server/dnsmasq setup and it's setup is ok
but I noticed that VR's eth0 does only have an ipv4 ip address not v6. I
started to investigate more in VR and I noticed that ipv6 is disabled by
sysctl settings so network setup could not be successfully applied. By the
way, I am using the 4.19 SystemVM template.

So it looks like the VR image does not like to work with IPv6, I started to
investigate Network Offerings to check out if ipv6 needs to be enabled for
shared networking somewhere but I could not find any specific settings.

Does anyone have any clue for the missing piece?

Thanks
Ozhan