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

What is the name of an IP prefix with prefix length 31? (i.e. contains only 2 IP addresses)

· 52CE 我爱测

At my job, IP prefixes with prefix length 31 (i.e. they only fit 2 IP addresses) are commonly described at "linknet addresses". Lately I have noticed that this term doesn't appear to exist outside of my company. If I do a Google …

问题原文

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

At my job, IP prefixes with prefix length 31 (i.e. they only fit 2 IP addresses) are commonly described at "linknet addresses". Lately I have noticed that this term doesn't appear to exist outside of my company. If I do a Google search for "linknet address" or "link net address", I only find references to an ISP called "Linknet".

Does a term exist to describe this kind of IP prefix?

I'm asking because I'm developing a system where such IP prefixes are treated specially, so I need a term I can use to refer to them. I would prefer if this term wasn't one that was made up internally at my company.

社区高分解答

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

At former employer we'd have called this a "slash thirty-one" which saved two IPs over having to use a /30.

Nominally a /31 should not work, because the network and broadcast address take one IP each, leaving none for useful addressing. There were some items of customer equipment that couldn't handle it, so we had to use (or waste) a second /31 to make a /30.

The limitations on IPv4 availability make it practical to limit address wastage even a decade ago.

"linknet" would not have been used as a name, though if someone technical said "linknet" it would be obvious in context. A "point to point" link or network could have been said or used in documentation.

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

资料来源与适用范围

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

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

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