大网数据广告活动
服务器运维问答

How does VLAN subnetting work on IPv6?

· 52CE 我爱测

I have a network with about dozen VLANs, most with inter-VLAN routing, some without. They might talk to each other but not to the other's gateway. It's not divided because of security or congestion, it's more like there are VLANs…

问题原文

原帖链接 · Vita · CC BY-SA 3.0

I have a network with about dozen VLANs, most with inter-VLAN routing, some without. They might talk to each other but not to the other's gateway. It's not divided because of security or congestion, it's more like there are VLANs are for the servers, some exit locally to my ISPs, some are VPNed into another region, some is throttled, some are DMZ landing places for VPS...and of course there's one that's public. So VLANs are crucial for routing the traffic to the right places without assigning fixed IP addresses.

Just now I'm realizing that the broadcast domain is actually the key piece here but I'm still confused so I'll continue.

I've been reading up on IPv6 for a couple of days now and I'd like to divide a single /64 block into more or less what I have no but from what I can gather reading article, forums and some papers it's not advisable to go into smaller blocks. I did read something about how there's a subnet identifier built into the IPv6 address.

How can I divide a /64 block while all the clients get the same /64 prefix and I can still separate them on VLANs assigned with RADIUS as I'm doing right now?

I'd like for each clients get more or less the same address space without necessarily being a fixed IP no matter which AP or ethernet port it connects to.

Should I just eff it and go with longer prefixes and have the router or L3 switch(es) do the heavy lifting communicating the select VLANs back together? I'm afraid of getting asymmetric routing and resetting the network would be a major PITA even with backups; some of it is very far away connected by long-distance wireless links.

I appreciate your help; I can't find a specific enough answer relative to actual separation of segments, most are concerning only to the address space.

社区高分解答

原帖链接 · Zac67 · CC BY-SA 4.0

VLANs are layer 2 constructs, not layer 3. You pass frames inside a VLAN regardless of layer 3 protocol by switching. For crossing VLAN boundaries, a router is required.

Just like with IPv4, if you subnet an IPv6 network you need to grow the network mask/prefix, e.g. you can subnet a /56 network into 256 /64 networks (or just two /57 networks for that matter).

The beauty of IPv6 is that it's completely normal to use multiple different prefixes within a single network at the same time. So, if you need to renumber at any time you just put a new prefix on top, let it propagate through and then you remove the old prefix.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-08-31)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0 / CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。