網路常用範例一覽

為避免影響實際運作中的服務或設備,RFC 等標準特別保留了一些網域名稱、IP 位址與電子郵件地址,以下整理常見的範例。

網域名稱

名稱 用途
example.com 範例用途
example.net 範例用途
example.org 範例用途
localhost 代表本機
.example 範例用 TLD
.test 測試用途
.invalid 表示不存在的網域
.localhost localhost 專用

IPv4

範圍 用途
192.0.2.0/24 TEST-NET-1,文件與範例用途
198.51.100.0/24 TEST-NET-2,文件與範例用途
203.0.113.0/24 TEST-NET-3,文件與範例用途
127.0.0.1 localhost,本機
10.0.0.0/8 私有網路
172.16.0.0/12 私有網路
192.168.0.0/16 私有網路
169.254.0.0/16 鏈路本地(Link-Local)
100.64.0.0/10 CGNAT
0.0.0.0 未指定位址
255.255.255.255 廣播位址

IPv6

範圍 用途
::1 localhost,本機
2001:db8::/32 文件與範例用途
fe80::/10 鏈路本地(Link-Local)
fc00::/7 唯一本地位址(ULA)

電子郵件地址

user@example.com
admin@example.com
info@example.com

常用 URL

https://example.com/
https://example.org/
https://example.net/
http://localhost/
http://127.0.0.1/

主要 RFC