# IPv6 for people who already know IPv4: how to split what your ISP gives you into VLANs — retained record

> Retained reddit record from reddit:homelab.

Canonical: https://highsignal.app/data/records/621d7c8a1e41f675

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:homelab)  published 2026-11-09 09:31 ingested 2026-11-10 02:41

[original source ↗](https://www.reddit.com/r/homelab/comments/1xrncz5/ipv6_for_people_who_already_know_ipv4_how_to/)

## retained text



```
Lots of people get two IPv6 things from their ISP, something like a "/64" and a "/48" or "/56", and have no idea what to do with them. If you know IPv4 subnetting, it's easier than it looks.

The /64 is just the link between your router and your ISP. Leave it alone.

The bigger mask (/48, /56 or /60) is yours. You cut it into smaller pieces, one per network or VLAN.



Rule number one: every network gets a /64. Doesn't matter if it has 3 devices or 300. Smaller than /64 and some devices (Android phones for example) won't get an address.

How many networks you can make:

    /64 = 1 network
    /60 = 16 networks
    /56 = 256 networks
    /48 = 65,536 networks



Tip: match the address to the VLAN number. If your ISP gives you 2001:db8:1234:ab00::/56:

    main LAN   2001:db8:1234:ab00::/64
    VLAN 10    2001:db8:1234:ab10::/64
    VLAN 20    2001:db8:1234:ab20::/64

\*Note that 2001:db8 is just an example, use your own.



You'll always know which network an address belongs to just by looking at it. On a /56 this works for VLANs 1 to 99.



In OPNsense or pfSense, set each VLAN to "Track Interface" and type the VLAN number (10, 20...) in "IPv6 Prefix ID". If only one network gets IPv6, check that your router asks the ISP for the full size (/56 or /48), not just a /64.



There's one catch: many ISPs change your IPv6 prefix from time to time, so any address you typed in by hand breaks. For servers and internal stuff, also give them an internal address that starts with fd (like a 192.168 address in v4). It never changes, and devices can have both at the same time.



What size does your ISP give you?


```



document fetched 2026-11-10 00:35 · canonical https://reddit.com/r/homelab/comments/1xrncz5/ipv6_for_people_who_already_know_ipv4_how_to
