Possible to assign /64 IPv6 to a single vm which have static IP?

somnath31

Member
Oct 9, 2020
13
0
6
33
Hello!

Right now I have a vm with static IP assign like this
IPv4: 45.169.54.479
IPv6: 2001:48c0:0:3::1 (which is belongs to the 2001:48c0:0:3::/64 block)


The IP block 2001:48c0:0:3::/64 is comes from the main block 2001:48c0::/48

I want to assign full /64 IPv6 block on each vm from the main /48 subnet instead of presently single IPv6

Is there any way to assign the whole /64 IPv6 block to that VM instead of a single IP?

Do I need to make some changes on ipfilter-net* ?

Like this?

/etc/pve/firewall/<VMID>.fw

[IPSET ipfilter-net0] # only allow specified IPs on net0
45.169.54.479
2001:48c0:0:3::1/64 (Instead of 2001:48c0:0:3::1)


?



I know for some /64 subnet might be too much. But that's what I need and want..
 
u need a forwarding rule on the pve host for the subnets. read docs to the theme static routing!