Disclosure up front: I run IPYE, a company that leases IP space. Most of this article is practical how-to; IPYE appears where a free /48, LOA, or ROA helps you try the work, with a short call to action at the end.
A common Proxmox setup on a rented dedicated server bridges VMs straight onto the provider's network. That works for the provider's own addresses, but it is the wrong model for your own prefix. The provider routes your /48 to the host, so the host should route it on to the VMs. This article sets up routed /64s for Proxmox VE guests from a free IPv6 /48 from IPYE, using 2001:db8:100::/48. The host's uplink is vmbr0, and the /48 arrives over BGP or a static route from the provider.
Why routed instead of bridged
With a bridge on the uplink, every VM's MAC address appears on the provider's switch. Many dedicated server providers allow only the server's own MAC and drop the rest. Routing avoids this: VMs sit on an internal bridge, the host forwards their traffic, and the provider only ever sees the host's MAC.
It also gives you a clean place to filter. Every packet to or from a VM crosses the host's forward path.
Host networking
Proxmox uses ifupdown2 and /etc/network/interfaces. Add an internal bridge with no physical ports for each VM subnet:
auto vmbr1 iface vmbr1 inet6 static address 2001:db8:100:10::1/64 bridge-ports none bridge-stp off bridge-fd 0 post-up ip -6 route add blackhole 2001:db8:100::/48 || true auto vmbr2 iface vmbr2 inet6 static address 2001:db8:100:20::1/64 bridge-ports none bridge-stp off bridge-fd 0 Then enable forwarding. If the uplink takes its default route from router advertisements, keep RAs accepted while forwarding:
cat > /etc/sysctl.d/60-routed-v6.conf <<'X' net.ipv6.conf.all.forwarding = 1 net.ipv6.conf.vmbr0.accept_ra = 2 X sysctl --system ifreload -a ifreload -a applies changes without a reboot. Run it from the console or with a fallback plan, because a typo in the uplink stanza can cut you off.
Addressing the guests
Two choices work well:
- Static addresses. Give each VM an address such as
2001:db8:100:10::10/64with gateway2001:db8:100:10::1. Cloud-init in Proxmox can set these from the VM's Cloud-Init tab, which is the tidiest way for templates. - SLAAC. Install
radvdon the host and advertise each internal bridge's /64. Guests configure themselves, and you pin service addresses inside the guest where needed.
A minimal radvd.conf for one bridge:
interface vmbr1 { AdvSendAdvert on; prefix 2001:db8:100:10::/64 { AdvOnLink on; AdvAutonomous on; }; RDNSS 2001:db8:100:53::1 { }; }; Proxmox firewall
The Proxmox firewall works at datacenter, node and VM levels and handles IPv6 rules natively. A few points matter for routed setups:
- With the firewall enabled on a VM's network device, Proxmox inserts a firewall bridge for that interface. Rules apply per VM, which is convenient, but you need ICMPv6 neighbour discovery allowed or the guest loses its gateway. The default NDP option on the VM firewall handles this. Leave it on.
- Use IPSets for groups of addresses, such as an
admin-v6set with your management /64, and reference them in rules instead of repeating prefixes. - Test a new rule set with the firewall's log level raised on one VM before applying it everywhere.
SDN as an alternative
Recent Proxmox releases include the SDN feature. A Simple zone with a VNet and an IPv6 subnet creates an internal bridge and gateway for you, and can manage DHCP through dnsmasq. It is the same routed design, defined in the web interface instead of in /etc/network/interfaces. Pick one approach per host so you do not end up with two sources of truth.
Verify
ip -6 route show table main | grep 2001:db8:100 ping -6 -c3 2001:db8:100:10::10 From outside your network, a traceroute to the VM should show the host as the hop before it. If traffic reaches the host but not the VM, check the forward path with nft list ruleset or the Proxmox firewall log, in that order.
Getting the /48 to the host
Your provider needs to route or accept a BGP announcement for the prefix. They will usually ask for a Letter of Authorization, which you can download from the IPYE customer area, and the matching ROA is published automatically from IPYE's ARIN or APNIC accounts.
Do this next
Claim a free /48, ask your dedicated server provider to route it to your Proxmox host, and start with one internal bridge and one test VM. Questions: ipye@turnel.com.
About IPYE
IPYE (https://ipye.com) leases IPv4, IPv6 and ASN space with instant setup. Your first IPv6 /48 is free for the first year, a real allocation you can announce on your own ASN, with a LOA from the portal and the ROA created automatically. ASN and region changes apply automatically. IPv4 /24 to /22 leases include LOA, ROA and per-/24 rDNS; WHOIS is editable on IPv6 /44 and larger. Locations: Los Angeles, New York, Ashburn, Salt Lake City, London, Amsterdam, Frankfurt. Claim your free /48: https://my.ipye.com/products/ipv6-rental. Questions: ipye@turnel.com.
Disclosure: I run IPYE
