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

What is the best default-gateway for IPv6

· 52CE 我爱测

Since IPv4 private IP Space was never contiguous, it is typical to send all unknown routes to an upstream gateway, such as your internet provider (ISP). With IPv6, private IP space is contiguous, and only 2000::/3 has been assign…

问题原文

原帖链接 · Jacob Evans · CC BY-SA 3.0

Since IPv4 private IP Space was never contiguous, it is typical to send all unknown routes to an upstream gateway, such as your internet provider (ISP).

With IPv6, private IP space is contiguous, and only 2000::/3 has been assigned as internet addressable by IANA

Would it be better to only route 2000::/3 to the ISP as opposed to all assigning a default route. (or use RA)

I would say it is obvious that all unregistered IP addresses are blocked from going out the wan (RFC1918,RFC5735, etc) so questions related to firewall/security are out of scope. This question is restricted to ROUTING please.

已采纳解答

原帖链接 · Andrew B · CC BY-SA 3.0

Would it be better to only route 2000::/3 to the ISP as opposed to all assigning a default route.

No. While Informational RFC 3587 is not a standard, it offers the following advice:

   RFC 2374 was the definition of addresses for Format Prefix 001
   (2000::/3) which is formally made historic by this document.  Even
   though currently only 2000::/3 is being delegated by the IANA,
   implementations should not make any assumptions about 2000::/3 being
   special.  In the future, the IANA might be directed to delegate
   currently unassigned portions of the IPv6 address space for the
   purpose of Global Unicast as well.

If you wanted to do this for a personal device, that's your own business. Given that this question is being asked on Serverfault and a business IT scope is assumed, the answer would have to be an unequivocal no. Any production environments designed around this assumption would have to be revisited at a future date if IANA assigns more of the address space to a purpose of Global Unicast. The design would also violate the design principle of least astonishment as it would not be reasonably expected of any future employees who are familiar with IPv6.

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

资料来源与适用范围

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

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

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