Login
You're viewing the techdon.dev public feed.
  • Aug 17, 2026, 6:52 PM

    You have a dual-stack #FreeBSD server. You already have IPv4 working fine on it. The jails are the classic/original NAT type (not VNET, no bridges or any of that stuff)

    You want to add IPv6 to the jails. Your hosting provider gives you a /64.

    What kind of IPs do you use on the jails?

    💬 1🔄 1⭐ 0

Replies

  • Aug 17, 2026, 7:00 PM

    @pertho i'd use VNET and a bridge and give the jails public IP addresses. but if you really don't want to do that for some reason, i'd use a ULA.

    link-local addresses get messy for this because of the required interface scope; to take one example, Apache can't reverse proxy to an IPv6 literal address with a scope id.

    also, without a bridge, the jails won't be able to communicate with each other if they only have LL addresses, but perhaps you don't care about that.

    (i am not entirely sure what you mean by "NAT type" though -- if you aren't using VNET, can you not just assign addresses from the /64 on your public interface and give them to the jails, like you do for IPv4? -- i've never used NAT for jails so i don't know what exact setup that implies.)

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0