Net Host Total
Net Addr Addr
Addr Number
Class Range
NetMask Bits Bits of hosts
----------------------------------------------------------
A 0-127
255.0.0.0 8 24 16777216 (i.e. 114.0.0.0)
B 128-191
255.255.0.0 16 16 65536 (i.e. 150.0.0.0)
C 192-254
255.255.255.0 24 8 256 (i.e. 199.0.0.0)
D 224-239
(multicast)
E 240-255
(reserved)
F 208-215
255.255.255.240 28 4 16
G 216/8 ARIN
- North America
G 217/8 RIPE
NCC - Europe
G 218-219/8
APNIC
H 220-221
255.255.255.248 29 3 8 (reserved)
K 222-223
255.255.255.254 31 1 2 (reserved)
(ref: RFC1375
& http://www.iana.org/assignments/ipv4-address-space )
( http://www.iana.org/numbers.htm
)
----------------------------------------------------------
The current
list of special use prefixes:
0.0.0.0/8
127.0.0.0/8
192.0.2.0/24
10.0.0.0/8
172.16.0.0/12
192.168.0.0/16
169.254.0.0/16
all D/E space
(ref: RFC1918
http://www.rfc-editor.org/rfc/rfc1918.txt )
( or ftp://ftp.isi.edu/in-notes/rfc1918.txt
)
(rfc search:
http://www.rfc-editor.org/rfcsearch.html )
( http://www.ietf.org/ietf/1id-abstracts.txt
)
( http://www.ietf.org/shadow.html
)
Martians:
(updates at: www.iana.org/assignments/ipv4-address-space )
no ip
source-route
access-list
100 deny ip host 0.0.0.0 any
deny ip
0.0.0.0 0.255.255.255 any log ! antispoof
deny ip
0.0.0.0 0.255.255.255 0.0.0.0 255.255.255.255 ! antispoof
deny ip any
255.255.255.128 0.0.0.127 ! antispoof
deny ip host
0.0.0.0 any log ! antispoof
deny ip host
[router intf] [router intf] ! antispoof
deny ip
xxx.xxx.xxx.0 0.0.0.255 any log ! lan area
deny ip 0/8
0.255.255.255 any log ! IANA - Reserved
deny ip 1/8
0.255.255.255 any log ! IANA - Reserved
deny ip 2/8
0.255.255.255 any log ! IANA - Reserved
deny ip 5/8
0.255.255.255 any log ! IANA - Reserved
deny ip 7/8
0.255.255.255 any log ! IANA - Reserved
deny ip
10.0.0.0 0.255.255.255 any log ! IANA - Private Use
deny ip 23/8
0.255.255.255 any log ! IANA - Reserved
deny ip 27/8
0.255.255.255 any log ! IANA - Reserved
deny ip 31/8
0.255.255.255 any log ! IANA - Reserved
deny ip
36-37/8 0.255.255.255 any log ! IANA - Reserved
deny ip 39/8
0.255.255.255 any log ! IANA - Reserved
deny ip 41-42/8
0.255.255.255 any log ! IANA - Reserved