Simple SDN zone IPv6 HowTo?

renne

Active Member
Jul 26, 2019
19
2
43
Hello,

we want to setup Simple SDN zones with IPv6 but can't find any documentation about how to configure SLAAC or DHCPv6 for a Simple SDN zone in the WebUI.

Goal:
Netcup-VPS with two public static IPv4 addresses and two public static IPv6/64 prefixes -> Headscale VPN -> Proxmox VE node -> SDN zone.

One public static IPv4 address and one public static IPv6/64 prefix are used for the VPS itself and the other public static IPv4 address/IPv6/64 prefix shall be routed into a Proxmox VE SDN zone called "dmz". The Headscale coordinator and a Tailscale node are running on the VPS and another Tailscale node is running on the Proxmox VE host.
One public static IPv4 address and one public static IPv6/64 prefix are routed to the tailscale0 network device on the Proxmox host.

Dnsmasq supports DHCPv6/SLAAC/Router-Advertisement but how does it have to be configured for Simple SDN zones in the Proxmox WebUI?

Thanx for any Hint :)
 
Last edited:
Similar issue here. I have a /40 prefix but I'm unable to set up dnsmasq to assign DHCPv6 or SLAAC.
Using the similar config as IPv4, I got:
Code:
prefix length must be at least 64 at line 3 of /etc/dnsmasq.d/simple/10-simple1.conf
and for dnsmasq config:
Code:
dhcp-range=set:simple-2602:F9B1:1::-48,2602:F9B1:1::,static,48,infinite

In my case, I prefer to use SLAAC. So I manually set dnsmasq config to:
Code:
dhcp-range=set:simple-2602:F9B1:1::-48,2602:F9B1:1::,ra-only,48h
I can get an IPv6 address in VM, but the traffic doesn't go through.
 
Similar issue here. I have a /40 prefix but I'm unable to set up dnsmasq to assign DHCPv6 or SLAAC.
Using the similar config as IPv4, I got:
Code:
prefix length must be at least 64 at line 3 of /etc/dnsmasq.d/simple/10-simple1.conf
and for dnsmasq config:
Code:
dhcp-range=set:simple-2602:F9B1:1::-48,2602:F9B1:1::,static,48,infinite

In my case, I prefer to use SLAAC. So I manually set dnsmasq config to:
Code:
dhcp-range=set:simple-2602:F9B1:1::-48,2602:F9B1:1::,ra-only,48h
I can get an IPv6 address in VM, but the traffic doesn't go through.

I was able to configure an IPv6 SDN subnet in PVE 8.3.2 via the WebUI.
  • Zone
    • IPAM
      • pve
    • automatic DHCP
      • true
  • Subnet
    • Set "DHCP ranges"

VMs get IPv4/IPv6 addresses via DHCPv4/v6.
Routing is next ;-)
 
Last edited:
I got this working after a fashion, so posting here in case it helps:
  • I tried DHCP6 since this seems to play better with the way Proxmox seems to want to do things; if you set the DHCP6 range in the subnet config this then matches the address in the IPAM list. But then I ended up with only ipv6 DNS in the containers, which couldn't connect
  • Got it working properly with SLAAC, although this means that the ipv6 addresses listed in the datacenter IPAM don't match those in the containers
    • It's not that important, but setting some unique DHCP6 range means that that range appears in the list, although they aren't the addresses the containers actually get
    • As for the actual config:
      • Subnet: set to ipv6 subnet of the LAN interface that Proxmox is connected to
      • Gateway: router ipv6 address
      • DHCP ranges: a "fake" DHCP range that doesn't conflict with anything real (although that doesn't really mean anything)
Then the containers get addresses and DNS from the SDN ipv4 server. All that's good enough for my needs.

Seems some rough edges in the implementation, I suppose
 
Follow up to this: I'm removing my setup for the time being, since there seems to be too much unclarity about if/how this is supposed to work right now. Perhaps we can get some updates now that v9 is out?
 
  • Like
Reactions: devilkin