ドキュメントで例に使えるIPアドレスまとめ【IPv4編】 | Linux Fan

ドキュメントで例に使えるIPアドレスまとめ【IPv4編】

2018年7月18日

Webサイトや書籍に例としてIPアドレスを掲載したい時、自分や他者のグローバルIPアドレスを使うわけにもいきません。読んだ人が、必要もないのにそのIPアドレスにアクセスしてしまうかもしれないからです。

そのため、「ドキュメント用のIPv4アドレス範囲」が「RFC6890」や「RFC5737」で定められています。

このページでは、「ドキュメントで例に使えるIPv4アドレス」を紹介します。

ドキュメントに利用できるIPv4アドレスの範囲

次の範囲内の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)

通常、この範囲に含まれるアドレスにアクセスしようとしても、どこにもルーティングされません。

なお、「ドキュメントに利用できるIPv6アドレスの範囲」については次の記事をご覧ください。

ドキュメントに利用できるIPv4アドレスの一覧

以下に、ドキュメントに利用できる全IPv4アドレスを掲載します。ただし、ネットワークアドレス(ホスト部のビットがすべて0)とブロードキャストアドレス(ホスト部のビットがすべて1)は除いてあります。
必要に応じて、コピー&ペーストしてお使いください。

192.0.2.0/24 (TEST-NET-1)

192.0.2.1
192.0.2.2
192.0.2.3
192.0.2.4
192.0.2.5
192.0.2.6
192.0.2.7
192.0.2.8
192.0.2.9
192.0.2.10
192.0.2.11
192.0.2.12
192.0.2.13
192.0.2.14
192.0.2.15
192.0.2.16
192.0.2.17
192.0.2.18
192.0.2.19
192.0.2.20
192.0.2.21
192.0.2.22
192.0.2.23
192.0.2.24
192.0.2.25
192.0.2.26
192.0.2.27
192.0.2.28
192.0.2.29
192.0.2.30
192.0.2.31
192.0.2.32
192.0.2.33
192.0.2.34
192.0.2.35
192.0.2.36
192.0.2.37
192.0.2.38
192.0.2.39
192.0.2.40
192.0.2.41
192.0.2.42
192.0.2.43
192.0.2.44
192.0.2.45
192.0.2.46
192.0.2.47
192.0.2.48
192.0.2.49
192.0.2.50
192.0.2.51
192.0.2.52
192.0.2.53
192.0.2.54
192.0.2.55
192.0.2.56
192.0.2.57
192.0.2.58
192.0.2.59
192.0.2.60
192.0.2.61
192.0.2.62
192.0.2.63
192.0.2.64
192.0.2.65
192.0.2.66
192.0.2.67
192.0.2.68
192.0.2.69
192.0.2.70
192.0.2.71
192.0.2.72
192.0.2.73
192.0.2.74
192.0.2.75
192.0.2.76
192.0.2.77
192.0.2.78
192.0.2.79
192.0.2.80
192.0.2.81
192.0.2.82
192.0.2.83
192.0.2.84
192.0.2.85
192.0.2.86
192.0.2.87
192.0.2.88
192.0.2.89
192.0.2.90
192.0.2.91
192.0.2.92
192.0.2.93
192.0.2.94
192.0.2.95
192.0.2.96
192.0.2.97
192.0.2.98
192.0.2.99
192.0.2.100
192.0.2.101
192.0.2.102
192.0.2.103
192.0.2.104
192.0.2.105
192.0.2.106
192.0.2.107
192.0.2.108
192.0.2.109
192.0.2.110
192.0.2.111
192.0.2.112
192.0.2.113
192.0.2.114
192.0.2.115
192.0.2.116
192.0.2.117
192.0.2.118
192.0.2.119
192.0.2.120
192.0.2.121
192.0.2.122
192.0.2.123
192.0.2.124
192.0.2.125
192.0.2.126
192.0.2.127
192.0.2.128
192.0.2.129
192.0.2.130
192.0.2.131
192.0.2.132
192.0.2.133
192.0.2.134
192.0.2.135
192.0.2.136
192.0.2.137
192.0.2.138
192.0.2.139
192.0.2.140
192.0.2.141
192.0.2.142
192.0.2.143
192.0.2.144
192.0.2.145
192.0.2.146
192.0.2.147
192.0.2.148
192.0.2.149
192.0.2.150
192.0.2.151
192.0.2.152
192.0.2.153
192.0.2.154
192.0.2.155
192.0.2.156
192.0.2.157
192.0.2.158
192.0.2.159
192.0.2.160
192.0.2.161
192.0.2.162
192.0.2.163
192.0.2.164
192.0.2.165
192.0.2.166
192.0.2.167
192.0.2.168
192.0.2.169
192.0.2.170
192.0.2.171
192.0.2.172
192.0.2.173
192.0.2.174
192.0.2.175
192.0.2.176
192.0.2.177
192.0.2.178
192.0.2.179
192.0.2.180
192.0.2.181
192.0.2.182
192.0.2.183
192.0.2.184
192.0.2.185
192.0.2.186
192.0.2.187
192.0.2.188
192.0.2.189
192.0.2.190
192.0.2.191
192.0.2.192
192.0.2.193
192.0.2.194
192.0.2.195
192.0.2.196
192.0.2.197
192.0.2.198
192.0.2.199
192.0.2.200
192.0.2.201
192.0.2.202
192.0.2.203
192.0.2.204
192.0.2.205
192.0.2.206
192.0.2.207
192.0.2.208
192.0.2.209
192.0.2.210
192.0.2.211
192.0.2.212
192.0.2.213
192.0.2.214
192.0.2.215
192.0.2.216
192.0.2.217
192.0.2.218
192.0.2.219
192.0.2.220
192.0.2.221
192.0.2.222
192.0.2.223
192.0.2.224
192.0.2.225
192.0.2.226
192.0.2.227
192.0.2.228
192.0.2.229
192.0.2.230
192.0.2.231
192.0.2.232
192.0.2.233
192.0.2.234
192.0.2.235
192.0.2.236
192.0.2.237
192.0.2.238
192.0.2.239
192.0.2.240
192.0.2.241
192.0.2.242
192.0.2.243
192.0.2.244
192.0.2.245
192.0.2.246
192.0.2.247
192.0.2.248
192.0.2.249
192.0.2.250
192.0.2.251
192.0.2.252
192.0.2.253
192.0.2.254

198.51.100.0/24 (TEST-NET-2)

198.51.100.1
198.51.100.2
198.51.100.3
198.51.100.4
198.51.100.5
198.51.100.6
198.51.100.7
198.51.100.8
198.51.100.9
198.51.100.10
198.51.100.11
198.51.100.12
198.51.100.13
198.51.100.14
198.51.100.15
198.51.100.16
198.51.100.17
198.51.100.18
198.51.100.19
198.51.100.20
198.51.100.21
198.51.100.22
198.51.100.23
198.51.100.24
198.51.100.25
198.51.100.26
198.51.100.27
198.51.100.28
198.51.100.29
198.51.100.30
198.51.100.31
198.51.100.32
198.51.100.33
198.51.100.34
198.51.100.35
198.51.100.36
198.51.100.37
198.51.100.38
198.51.100.39
198.51.100.40
198.51.100.41
198.51.100.42
198.51.100.43
198.51.100.44
198.51.100.45
198.51.100.46
198.51.100.47
198.51.100.48
198.51.100.49
198.51.100.50
198.51.100.51
198.51.100.52
198.51.100.53
198.51.100.54
198.51.100.55
198.51.100.56
198.51.100.57
198.51.100.58
198.51.100.59
198.51.100.60
198.51.100.61
198.51.100.62
198.51.100.63
198.51.100.64
198.51.100.65
198.51.100.66
198.51.100.67
198.51.100.68
198.51.100.69
198.51.100.70
198.51.100.71
198.51.100.72
198.51.100.73
198.51.100.74
198.51.100.75
198.51.100.76
198.51.100.77
198.51.100.78
198.51.100.79
198.51.100.80
198.51.100.81
198.51.100.82
198.51.100.83
198.51.100.84
198.51.100.85
198.51.100.86
198.51.100.87
198.51.100.88
198.51.100.89
198.51.100.90
198.51.100.91
198.51.100.92
198.51.100.93
198.51.100.94
198.51.100.95
198.51.100.96
198.51.100.97
198.51.100.98
198.51.100.99
198.51.100.100
198.51.100.101
198.51.100.102
198.51.100.103
198.51.100.104
198.51.100.105
198.51.100.106
198.51.100.107
198.51.100.108
198.51.100.109
198.51.100.110
198.51.100.111
198.51.100.112
198.51.100.113
198.51.100.114
198.51.100.115
198.51.100.116
198.51.100.117
198.51.100.118
198.51.100.119
198.51.100.120
198.51.100.121
198.51.100.122
198.51.100.123
198.51.100.124
198.51.100.125
198.51.100.126
198.51.100.127
198.51.100.128
198.51.100.129
198.51.100.130
198.51.100.131
198.51.100.132
198.51.100.133
198.51.100.134
198.51.100.135
198.51.100.136
198.51.100.137
198.51.100.138
198.51.100.139
198.51.100.140
198.51.100.141
198.51.100.142
198.51.100.143
198.51.100.144
198.51.100.145
198.51.100.146
198.51.100.147
198.51.100.148
198.51.100.149
198.51.100.150
198.51.100.151
198.51.100.152
198.51.100.153
198.51.100.154
198.51.100.155
198.51.100.156
198.51.100.157
198.51.100.158
198.51.100.159
198.51.100.160
198.51.100.161
198.51.100.162
198.51.100.163
198.51.100.164
198.51.100.165
198.51.100.166
198.51.100.167
198.51.100.168
198.51.100.169
198.51.100.170
198.51.100.171
198.51.100.172
198.51.100.173
198.51.100.174
198.51.100.175
198.51.100.176
198.51.100.177
198.51.100.178
198.51.100.179
198.51.100.180
198.51.100.181
198.51.100.182
198.51.100.183
198.51.100.184
198.51.100.185
198.51.100.186
198.51.100.187
198.51.100.188
198.51.100.189
198.51.100.190
198.51.100.191
198.51.100.192
198.51.100.193
198.51.100.194
198.51.100.195
198.51.100.196
198.51.100.197
198.51.100.198
198.51.100.199
198.51.100.200
198.51.100.201
198.51.100.202
198.51.100.203
198.51.100.204
198.51.100.205
198.51.100.206
198.51.100.207
198.51.100.208
198.51.100.209
198.51.100.210
198.51.100.211
198.51.100.212
198.51.100.213
198.51.100.214
198.51.100.215
198.51.100.216
198.51.100.217
198.51.100.218
198.51.100.219
198.51.100.220
198.51.100.221
198.51.100.222
198.51.100.223
198.51.100.224
198.51.100.225
198.51.100.226
198.51.100.227
198.51.100.228
198.51.100.229
198.51.100.230
198.51.100.231
198.51.100.232
198.51.100.233
198.51.100.234
198.51.100.235
198.51.100.236
198.51.100.237
198.51.100.238
198.51.100.239
198.51.100.240
198.51.100.241
198.51.100.242
198.51.100.243
198.51.100.244
198.51.100.245
198.51.100.246
198.51.100.247
198.51.100.248
198.51.100.249
198.51.100.250
198.51.100.251
198.51.100.252
198.51.100.253
198.51.100.254

203.0.113.0/24 (TEST-NET-3)

203.0.113.1
203.0.113.2
203.0.113.3
203.0.113.4
203.0.113.5
203.0.113.6
203.0.113.7
203.0.113.8
203.0.113.9
203.0.113.10
203.0.113.11
203.0.113.12
203.0.113.13
203.0.113.14
203.0.113.15
203.0.113.16
203.0.113.17
203.0.113.18
203.0.113.19
203.0.113.20
203.0.113.21
203.0.113.22
203.0.113.23
203.0.113.24
203.0.113.25
203.0.113.26
203.0.113.27
203.0.113.28
203.0.113.29
203.0.113.30
203.0.113.31
203.0.113.32
203.0.113.33
203.0.113.34
203.0.113.35
203.0.113.36
203.0.113.37
203.0.113.38
203.0.113.39
203.0.113.40
203.0.113.41
203.0.113.42
203.0.113.43
203.0.113.44
203.0.113.45
203.0.113.46
203.0.113.47
203.0.113.48
203.0.113.49
203.0.113.50
203.0.113.51
203.0.113.52
203.0.113.53
203.0.113.54
203.0.113.55
203.0.113.56
203.0.113.57
203.0.113.58
203.0.113.59
203.0.113.60
203.0.113.61
203.0.113.62
203.0.113.63
203.0.113.64
203.0.113.65
203.0.113.66
203.0.113.67
203.0.113.68
203.0.113.69
203.0.113.70
203.0.113.71
203.0.113.72
203.0.113.73
203.0.113.74
203.0.113.75
203.0.113.76
203.0.113.77
203.0.113.78
203.0.113.79
203.0.113.80
203.0.113.81
203.0.113.82
203.0.113.83
203.0.113.84
203.0.113.85
203.0.113.86
203.0.113.87
203.0.113.88
203.0.113.89
203.0.113.90
203.0.113.91
203.0.113.92
203.0.113.93
203.0.113.94
203.0.113.95
203.0.113.96
203.0.113.97
203.0.113.98
203.0.113.99
203.0.113.100
203.0.113.101
203.0.113.102
203.0.113.103
203.0.113.104
203.0.113.105
203.0.113.106
203.0.113.107
203.0.113.108
203.0.113.109
203.0.113.110
203.0.113.111
203.0.113.112
203.0.113.113
203.0.113.114
203.0.113.115
203.0.113.116
203.0.113.117
203.0.113.118
203.0.113.119
203.0.113.120
203.0.113.121
203.0.113.122
203.0.113.123
203.0.113.124
203.0.113.125
203.0.113.126
203.0.113.127
203.0.113.128
203.0.113.129
203.0.113.130
203.0.113.131
203.0.113.132
203.0.113.133
203.0.113.134
203.0.113.135
203.0.113.136
203.0.113.137
203.0.113.138
203.0.113.139
203.0.113.140
203.0.113.141
203.0.113.142
203.0.113.143
203.0.113.144
203.0.113.145
203.0.113.146
203.0.113.147
203.0.113.148
203.0.113.149
203.0.113.150
203.0.113.151
203.0.113.152
203.0.113.153
203.0.113.154
203.0.113.155
203.0.113.156
203.0.113.157
203.0.113.158
203.0.113.159
203.0.113.160
203.0.113.161
203.0.113.162
203.0.113.163
203.0.113.164
203.0.113.165
203.0.113.166
203.0.113.167
203.0.113.168
203.0.113.169
203.0.113.170
203.0.113.171
203.0.113.172
203.0.113.173
203.0.113.174
203.0.113.175
203.0.113.176
203.0.113.177
203.0.113.178
203.0.113.179
203.0.113.180
203.0.113.181
203.0.113.182
203.0.113.183
203.0.113.184
203.0.113.185
203.0.113.186
203.0.113.187
203.0.113.188
203.0.113.189
203.0.113.190
203.0.113.191
203.0.113.192
203.0.113.193
203.0.113.194
203.0.113.195
203.0.113.196
203.0.113.197
203.0.113.198
203.0.113.199
203.0.113.200
203.0.113.201
203.0.113.202
203.0.113.203
203.0.113.204
203.0.113.205
203.0.113.206
203.0.113.207
203.0.113.208
203.0.113.209
203.0.113.210
203.0.113.211
203.0.113.212
203.0.113.213
203.0.113.214
203.0.113.215
203.0.113.216
203.0.113.217
203.0.113.218
203.0.113.219
203.0.113.220
203.0.113.221
203.0.113.222
203.0.113.223
203.0.113.224
203.0.113.225
203.0.113.226
203.0.113.227
203.0.113.228
203.0.113.229
203.0.113.230
203.0.113.231
203.0.113.232
203.0.113.233
203.0.113.234
203.0.113.235
203.0.113.236
203.0.113.237
203.0.113.238
203.0.113.239
203.0.113.240
203.0.113.241
203.0.113.242
203.0.113.243
203.0.113.244
203.0.113.245
203.0.113.246
203.0.113.247
203.0.113.248
203.0.113.249
203.0.113.250
203.0.113.251
203.0.113.252
203.0.113.253
203.0.113.254