Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Can I assign the /64 ipv6 address obtained by he.net to the proxmox vps?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Can I assign the /64 ipv6 address obtained by he.net to the proxmox vps?

This is my proxmox's interface

auto lo
iface lo inet loopback

iface enp1s0f1 inet manual

auto vmbr0
iface vmbr0 inet static
address XXXXXXXXX/24
gateway XXXXXXXX
bridge-ports enp1s0f1
bridge-stp off
bridge-fd 0

iface enx8e4f8c80b8f9 inet manual

iface enp1s0f0 inet manual

auto he-ipv6
iface he-ipv6 inet6 tunnel
mode sit
address 2001:450:c:1155::2
netmask 64
endpoint 66.250.18.42
local 104.255.110.87
ttl 255
gateway 2001:450:c:1155::1

auto vmbr1
iface vmbr1 inet static
address 10.0.0.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.0.0.1/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.0.0.1/24' -o vmbr0 -j MASQUERADE

Thanked by 1uncooked92

Comments

  • Depending on whether you use ifupdown or ifupdown2 to manage your network, they differ.

  • @spiritlhl said:
    Depending on whether you use ifupdown or ifupdown2 to manage your network, they differ.

    I use proxmox 7.X,maybe it use ifupdown2

  • you probably would want to edit the IPs out of your post.

    ideally you can request a /48 routed at the HE panel. you can then assign ::1/48 at the bridge and assign /64s at VMs or whatever

  • @lowenduser1 said:
    you probably would want to edit the IPs out of your post.

    ideally you can request a /48 routed at the HE panel. you can then assign ::1/48 at the bridge and assign /64s at VMs or whatever

    Are there any tutorials on this?

  • @ymgswx said:

    @spiritlhl said:
    Depending on whether you use ifupdown or ifupdown2 to manage your network, they differ.

    I use proxmox 7.X,maybe it use ifupdown2

    https://ipv6tunnel.spiritlhl.top/

    You can use this URL to convert the configuration of the corresponding platforms

    Thanked by 1Naomii
  • keonkeon Member

    @ymgswx you are on the right track. You just need to add the first address of the routed /64 prefix (not your server/client ipv6 ) to vmbr1 and the enable ipv6 packet forwarding.

    I am guessing that in you case the routed /64 prefix will be something like 2001:450:d:xxxx::/64 so the first ip will be 2001:450:d:xxxx::1/64. Assign this to vmbr1, add:

    iface vmbr1 inet6 static
            address 2001:450:d:xxxx::1/64
    

    The you will need to manually assign other any other ipv6 to from your routed prefix to your VM's and it will work.

    If you want ipv6s to be auto assigned, configure either radvd or DHCPv6 on vmbr1

Sign In or Register to comment.