[c-nsp] VLSM <-> Cisco ACL <-> Extended ACL format table?

Eric Van Tol eric at atlantech.net
Sun Dec 23 08:15:01 EST 2007


> -----Original Message-----
> From: cisco-nsp-bounces at puck.nether.net 
> [mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Hank 
> Nussbacher
> Sent: Sunday, December 23, 2007 7:32 AM
> To: cisco-nsp at puck.nether.net
> Subject: [c-nsp] VLSM <-> Cisco ACL <-> Extended ACL format table?
> 
> Can anyone point me at a table which shows the 3 different 
> formats of VLSM 
> (/14) vs Cisco ACL (0.3.255.255) vs Cisco Extended ACL 
> (255.252.0.0) all in 
> one neat table?

Like this one?  (formatting may be off)


IP block	Notation	Subnet mask	Inverse mask
1 	/32 (single) 	255.255.255.255	0.0.0.0
2 	/31 	255.255.255.254	0.0.0.1
4 	/30 	255.255.255.252	0.0.0.3
8 	/29 	255.255.255.248	0.0.0.7
16 	/28 	255.255.255.240	0.0.0.15
32 	/27 	255.255.255.224	0.0.0.31
64 	/26 	255.255.255.192	0.0.0.63
128 	/25 	255.255.255.128	0.0.0.127
256 	/24 	255.255.255.0 	0.0.0.255
256 * 2 	/23 	255.255.254.0 	0.0.1.255
256 * 4 	/22 	255.255.252.0 	0.0.3.255
256 * 8 	/21 	255.255.248.0 	0.0.7.255
256 * 16 	/20 	255.255.240.0 	0.0.15.255
256 * 32 	/19 	255.255.224.0 	0.0.31.255
256 * 64 	/18 	255.255.192.0 	0.0.63.255
256 * 128 	/17 	255.255.128.0 	0.0.127.255
65,536 	/16 	255.255.0.0 	0.0.255.255
65,536 * 2 	/15 	255.254.0.0 	0.1.255.255
65,536 * 4 	/14 	255.252.0.0 	0.3.255.255
65,536 * 8 	/13 	255.248.0.0 	0.7.255.255
65,536 * 16 	/12 	255.240.0.0 	0.15.255.255
65,536 * 32 	/11 	255.224.0.0 	0.31.255.255
65,536 * 64 	/10 	255.192.0.0 	0.63.255.255
65,536 * 128 	/9 	255.128.0.0 	0.127.255.255
16,777,216 	/8 	255.0.0.0 	0.255.255.255
16,777,216 * 2 	/7 	254.0.0.0 	1.255.255.255
16,777,216 * 4 	/6 	252.0.0.0 	3.255.255.255
16,777,216 * 8 	/5 	248.0.0.0 	7.255.255.255
16,777,216 * 16	/4 	240.0.0.0 	15.255.255.255
16,777,216 * 32	/3 	224.0.0.0 	31.255.255.255
16,777,216 * 64	/2 	192.0.0.0 	63.255.255.255
16,777,216 * 128	/1 	128.0.0.0 	127.255.255.255
Default Route 	/0 	0.0.0.0 	255.255.255.255

-evt


More information about the cisco-nsp mailing list