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

somnath31

Member
Oct 9, 2020
13
0
6
32
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!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!