IP Address Plan Workbook-V101

14
Instructions and Guidelines for IP Address Plan/Inventory Workbook Developed by Chuck Wade www.interisle.net 07/16/2022 18:33:05 document.xls Page 1 of 14 1 1 2 2 3 4 5

description

for IP planning

Transcript of IP Address Plan Workbook-V101

Page 1: IP Address Plan Workbook-V101

Instructions and Guidelines forIP Address Plan/Inventory Workbook

Developed byChuck Wade

www.interisle.net

04/17/2023 18:37:29 document.xls Page 1 of 13

1 Read Me First1

2

2 Objectives3 Overview of Intended Use4 Simple Customization and Variable Definitions5 Example Address Plan

Questions/ comments can be sent to:[email protected]

This Excel workbook provides a tool for building and maintaining IP address plans and network inventories. It is provided as a template that most users will modify it to suit their specific purposes. You are free to use this tool and adapt it to your needs. It may be distributed provided that the document properties continue to identify the original author and references to Interisle Consulting Group. Feedback, suggestions, and enhancements are most welcome, and can be sent to<[email protected]>.

To read these instructions and technical guidelines, click on the expand [+] buttons in the left-hand margin to expose text in the outline structure. Similarly, the collapse [-] buttons can be used to hide text.

Page 2: IP Address Plan Workbook-V101

IP Addr Plan TemplateDeveloped by

Chuck Wadewww.interisle.net

04/17/2023 18:37:29 document.xls Page 2 of 13

CIDR SuperNetIP Address

.Description

Host No. 0

Page 3: IP Address Plan Workbook-V101

IP Addr Plan TemplateDeveloped by

Chuck Wadewww.interisle.net

04/17/2023 18:37:29 document.xls Page 3 of 13

CIDR SuperNetIP Address

.Description

Host No. 0

/32 0•0•0•1/32 This is the last row of IP Address formulas; insert rows and copy down from row above through row below to expand address plan

Page 4: IP Address Plan Workbook-V101

Example Addr PlanDeveloped by

Chuck Wadewww.interisle.net

04/17/2023 18:37:29 document.xls Page 4 of 13

CIDR SuperNetIP Address IP Mask Subnet Size

.Description Octal IP Address Binary IP Address

Host No. ###/13 SuperNet 10•248•0•0/13 255•248•0•0 524,286 Top Level Super Net 0A:F8:00:00 012-370-000-000 00001010 11111000 00000000 00000000

/8 11•0•0•0/8 255•0•0•0 16,777,214 Next Super Net in Seque 0B:00:00:00 013-000-000-000 00001011 00000000 00000000 00000000

/32 0•0•0•1/32 This is the last row of 00:00:00:01 000-000-000-001 00000000 00000000 00000000 00000001

Hex IP Address

Page 5: IP Address Plan Workbook-V101

Decimal Binary Hex Octal CIDR Mask Mask (1) Mask (2) Mask (3)0 00000000 00 000 1 128•0•0•0 128 0 01 00000001 01 001 2 192•0•0•0 192 0 02 00000010 02 002 3 224•0•0•0 224 0 03 00000011 03 003 4 240•0•0•0 240 0 04 00000100 04 004 5 248•0•0•0 248 0 05 00000101 05 005 6 252•0•0•0 252 0 06 00000110 06 006 7 254•0•0•0 254 0 07 00000111 07 007 8 255•0•0•0 255 0 08 00001000 08 010 9 255•128•0•0 255 128 09 00001001 09 011 10 255•192•0•0 255 192 0

10 00001010 0A 012 11 255•224•0•0 255 224 011 00001011 0B 013 12 255•240•0•0 255 240 012 00001100 0C 014 13 255•248•0•0 255 248 013 00001101 0D 015 14 255•252•0•0 255 252 014 00001110 0E 016 15 255•254•0•0 255 254 015 00001111 0F 017 16 255•255•0•0 255 255 016 00010000 10 020 17 255•255•128•0 255 255 12817 00010001 11 021 18 255•255•192•0 255 255 19218 00010010 12 022 19 255•255•224•0 255 255 22419 00010011 13 023 20 255•255•240•0 255 255 24020 00010100 14 024 21 255•255•248•0 255 255 24821 00010101 15 025 22 255•255•252•0 255 255 25222 00010110 16 026 23 255•255•254•0 255 255 25423 00010111 17 027 24 255•255•255•0 255 255 25524 00011000 18 030 25 255•255•255•128 255 255 25525 00011001 19 031 26 255•255•255•192 255 255 25526 00011010 1A 032 27 255•255•255•224 255 255 25527 00011011 1B 033 28 255•255•255•240 255 255 25528 00011100 1C 034 29 255•255•255•248 255 255 25529 00011101 1D 035 30 255•255•255•252 255 255 25530 00011110 1E 036 31 255•255•255•254 255 255 25531 00011111 1F 037 32 255•255•255•255 255 255 25532 00100000 20 04033 00100001 21 041 These tables facilitate converting octets to binary, hex, and octal strings, and 34 00100010 22 042 CIDR values to corresponding IP address masks. The CIDR_Mask table above35 00100011 23 043 could be moved into one of the IP Address worksheets to create a standalone36 00100100 24 044 worksheet that can be used without any other worksheet links.37 00100101 25 04538 00100110 26 046 The CIDR_Mask table is also pretty handy as a reference when working with39 00100111 27 047 IP addresses and subnets. A variation of this table is reproduced on the next40 00101000 28 050 worksheet (Crib Sheet 1) so it can be printed out as reference table.41 00101001 29 05142 00101010 2A 05243 00101011 2B 053 Questions/comments can be sent to:44 00101100 2C 054 [email protected] 00101101 2D 05546 00101110 2E 05647 00101111 2F 05748 00110000 30 060

Page 6: IP Address Plan Workbook-V101

49 00110001 31 06150 00110010 32 06251 00110011 33 06352 00110100 34 06453 00110101 35 06554 00110110 36 06655 00110111 37 06756 00111000 38 07057 00111001 39 07158 00111010 3A 07259 00111011 3B 07360 00111100 3C 07461 00111101 3D 07562 00111110 3E 07663 00111111 3F 07764 01000000 40 10065 01000001 41 10166 01000010 42 10267 01000011 43 10368 01000100 44 10469 01000101 45 10570 01000110 46 10671 01000111 47 10772 01001000 48 11073 01001001 49 011174 01001010 4A 11275 01001011 4B 11376 01001100 4C 11477 01001101 4D 11578 01001110 4E 11679 01001111 4F 11780 01010000 50 12081 01010001 51 12182 01010010 52 12283 01010011 53 12384 01010100 54 12485 01010101 55 12586 01010110 56 12687 01010111 57 12788 01011000 58 13089 01011001 59 13190 01011010 5A 13291 01011011 5B 13392 01011100 5C 13493 01011101 5D 13594 01011110 5E 13695 01011111 5F 13796 01100000 60 14097 01100001 61 14198 01100010 62 142

Page 7: IP Address Plan Workbook-V101

99 01100011 63 143100 01100100 64 144101 01100101 65 145102 01100110 66 146103 01100111 67 147104 01101000 68 150105 01101001 69 151106 01101010 6A 152107 01101011 6B 153108 01101100 6C 154109 01101101 6D 155110 01101110 6E 156111 01101111 6F 157112 01110000 70 160113 01110001 71 161114 01110010 72 162115 01110011 73 163116 01110100 74 164117 01110101 75 165118 01110110 76 166119 01110111 77 167120 01111000 78 170121 01111001 79 171122 01111010 7A 172123 01111011 7B 173124 01111100 7C 174125 01111101 7D 175126 01111110 7E 176127 01111111 7F 177128 10000000 80 200129 10000001 81 201130 10000010 82 202131 10000011 83 203132 10000100 84 204133 10000101 85 205134 10000110 86 206135 10000111 87 207136 10001000 88 210137 10001001 89 211138 10001010 8A 212139 10001011 8B 213140 10001100 8C 214141 10001101 8D 215142 10001110 8E 216143 10001111 8F 217144 10010000 90 220145 10010001 91 221146 10010010 92 222147 10010011 93 223148 10010100 94 224

Page 8: IP Address Plan Workbook-V101

149 10010101 95 225150 10010110 96 226151 10010111 97 227152 10011000 98 230153 10011001 99 231154 10011010 9A 232155 10011011 9B 233156 10011100 9C 234157 10011101 9D 235158 10011110 9E 236159 10011111 9F 237160 10100000 A0 240161 10100001 A1 241162 10100010 A2 242163 10100011 A3 243164 10100100 A4 244165 10100101 A5 245166 10100110 A6 246167 10100111 A7 247168 10101000 A8 250169 10101001 A9 251170 10101010 AA 252171 10101011 AB 253172 10101100 AC 254173 10101101 AD 255174 10101110 AE 256175 10101111 AF 257176 10110000 B0 260177 10110001 B1 261178 10110010 B2 262179 10110011 B3 263180 10110100 B4 264181 10110101 B5 265182 10110110 B6 266183 10110111 B7 267184 10111000 B8 270185 10111001 B9 271186 10111010 BA 272187 10111011 BB 273188 10111100 BC 274189 10111101 BD 275190 10111110 BE 276191 10111111 BF 277192 11000000 C0 300193 11000001 C1 301194 11000010 C2 302195 11000011 C3 303196 11000100 C4 304197 11000101 C5 305198 11000110 C6 306

Page 9: IP Address Plan Workbook-V101

199 11000111 C7 307200 11001000 C8 310201 11001001 C9 311202 11001010 CA 312203 11001011 CB 313204 11001100 CC 314205 11001101 CD 315206 11001110 CE 316207 11001111 CF 317208 11010000 D0 320209 11010001 D1 321210 11010010 D2 322211 11010011 D3 323212 11010100 D4 324213 11010101 D5 325214 11010110 D6 326215 11010111 D7 327216 11011000 D8 330217 11011001 D9 331218 11011010 DA 332219 11011011 DB 333220 11011100 DC 334221 11011101 DD 335222 11011110 DE 336223 11011111 DF 337224 11100000 E0 340225 11100001 E1 341226 11100010 E2 342227 11100011 E3 343228 11100100 E4 344229 11100101 E5 345230 11100110 E6 346231 11100111 E7 347232 11101000 E8 350233 11101001 E9 351234 11101010 EA 352235 11101011 EB 353236 11101100 EC 354237 11101101 ED 355238 11101110 EE 356239 11101111 EF 357240 11110000 F0 360241 11110001 F1 361242 11110010 F2 362243 11110011 F3 363244 11110100 F4 364245 11110101 F5 365246 11110110 F6 366247 11110111 F7 367248 11111000 F8 370

Page 10: IP Address Plan Workbook-V101

249 11111001 F9 371250 11111010 FA 372251 11111011 FB 373252 11111100 FC 374253 11111101 FD 375254 11111110 FE 376255 11111111 FF 377

Page 11: IP Address Plan Workbook-V101

Mask (4) Host BitsSubnet Size0 31 2,147,483,6460 30 1,073,741,8220 29 536,870,9100 28 268,435,4540 27 134,217,7260 26 67,108,8620 25 33,554,4300 24 16,777,2140 23 8,388,6060 22 4,194,3020 21 2,097,1500 20 1,048,5740 19 524,2860 18 262,1420 17 131,0700 16 65,5340 15 32,7660 14 16,3820 13 8,1900 12 4,0940 11 2,0460 10 1,0220 9 5100 8 254

128 7 126192 6 62224 5 30240 4 14248 3 6252 2 2254 1255 0

These tables facilitate converting octets to binary, hex, and octal strings, and CIDR values to corresponding IP address masks. The CIDR_Mask table abovecould be moved into one of the IP Address worksheets to create a standaloneworksheet that can be used without any other worksheet links.

The CIDR_Mask table is also pretty handy as a reference when working withIP addresses and subnets. A variation of this table is reproduced on the nextworksheet (Crib Sheet 1) so it can be printed out as reference table.

Page 12: IP Address Plan Workbook-V101

CIDR Mapping toIP Addresses, Masks, Subnet Size

Developed by Chuck Wade

www.interisle.net

Net-Part Bits (CIDR) Host-Part Bits CIDR Subnet Mask Subnet Size1 31 1 128 000 000 000 2,147,483,6462 30 2 192 000 000 000 1,073,741,8223 29 3 224 000 000 000 536,870,9104 28 4 240 000 000 000 268,435,4545 27 5 248 000 000 000 134,217,7266 26 6 252 000 000 000 67,108,8627 25 7 254 000 000 000 33,554,4308 24 8 255 000 000 000 16,777,2149 23 9 255 128 000 000 8,388,60610 22 10 255 192 000 000 4,194,30211 21 11 255 224 000 000 2,097,15012 20 12 255 240 000 000 1,048,57413 19 13 255 248 000 000 524,28614 18 14 255 252 000 000 262,14215 17 15 255 254 000 000 131,07016 16 16 255 255 000 000 65,53417 15 17 255 255 128 000 32,76618 14 18 255 255 192 000 16,38219 13 19 255 255 224 000 8,19020 12 20 255 255 240 000 4,09421 11 21 255 255 248 000 2,04622 10 22 255 255 252 000 1,02223 9 23 255 255 254 000 51024 8 24 255 255 255 000 25425 7 25 255 255 255 128 12626 6 26 255 255 255 192 6227 5 27 255 255 255 224 3028 4 28 255 255 255 240 1429 3 29 255 255 255 248 630 2 30 255 255 255 252 231 1 31 255 255 255 254 (2)32 0 32 255 255 255 255 (0)

AQ32
A CIDR value of 31 is not normally valid, though there are some situations where this might be allowed. The best example of where it might be useful is for allocating a subnet to a "wire," where only the two end points on the wire need IP addresses--e.g., two routers communicating over a point-to-point link. In this situation, there is really no concept of broadcasting. However, it is best to avoid doing this, and to use a subnet with CIDR=30 instead.
Page 13: IP Address Plan Workbook-V101

Number of Subnets per Supernetand Hosts per Subnet

Developed by Chuck Wade

www.interisle.net

CIDR SubSuper /30 /29 /28 /27 /26 /25 /24 /23 /22 /21 /20 /19 /18 /17 /16 /15 /14 /13 /12 /11 /10 /9 /8

/1 ### ### ### ### ### ### ### ### ### ### 524,288 262,144 131,072 65,536 32,768 16,384 8,192 4,096 2,048 1,024 512 256 128/2 ### ### ### ### ### ### ### ### ### 524,288 262,144 131,072 65,536 32,768 16,384 8,192 4,096 2,048 1,024 512 256 128 64/3 ### ### ### ### ### ### ### ### 524,288 262,144 131,072 65,536 32,768 16,384 8,192 4,096 2,048 1,024 512 256 128 64 32/4 ### ### ### ### ### ### ### 524,288 262,144 131,072 65,536 32,768 16,384 8,192 4,096 2,048 1,024 512 256 128 64 32 16/5 ### ### ### ### ### ### 524,288 262,144 131,072 65,536 32,768 16,384 8,192 4,096 2,048 1,024 512 256 128 64 32 16 8/6 ### ### ### ### ### 524,288 262,144 131,072 65,536 32,768 16,384 8,192 4,096 2,048 1,024 512 256 128 64 32 16 8 4/7 ### ### ### ### 524,288 262,144 131,072 65,536 32,768 16,384 8,192 4,096 2,048 1,024 512 256 128 64 32 16 8 4 2/8 ### ### ### 524,288 262,144 131,072 65,536 32,768 16,384 8,192 4,096 2,048 1,024 512 256 128 64 32 16 8 4 2 1/9 ### ### 524,288 262,144 131,072 65,536 32,768 16,384 8,192 4,096 2,048 1,024 512 256 128 64 32 16 8 4 2 1 # Hosts

/10 ### 524,288 262,144 131,072 65,536 32,768 16,384 8,192 4,096 2,048 1,024 512 256 128 64 32 16 8 4 2 1 # Hosts ###/11 524,288 262,144 131,072 65,536 32,768 16,384 8,192 4,096 2,048 1,024 512 256 128 64 32 16 8 4 2 1 # Hosts ### /8/12 262,144 131,072 65,536 32,768 16,384 8,192 4,096 2,048 1,024 512 256 128 64 32 16 8 4 2 1 # Hosts ### /9/13 131,072 65,536 32,768 16,384 8,192 4,096 2,048 1,024 512 256 128 64 32 16 8 4 2 1 # Hosts ### /10/14 65,536 32,768 16,384 8,192 4,096 2,048 1,024 512 256 128 64 32 16 8 4 2 1 # Hosts ### /11/15 32,768 16,384 8,192 4,096 2,048 1,024 512 256 128 64 32 16 8 4 2 1 # Hosts 524,286 /12/16 16,384 8,192 4,096 2,048 1,024 512 256 128 64 32 16 8 4 2 1 # Hosts 262,142 /13/17 8,192 4,096 2,048 1,024 512 256 128 64 32 16 8 4 2 1 # Hosts 131,070 /14/18 4,096 2,048 1,024 512 256 128 64 32 16 8 4 2 1 # Hosts 65,534 /15/19 2,048 1,024 512 256 128 64 32 16 8 4 2 1 # Hosts 32,766 /16/20 1,024 512 256 128 64 32 16 8 4 2 1 # Hosts 16,382 /17/21 512 256 128 64 32 16 8 4 2 1 # Hosts 8,190 /18/22 256 128 64 32 16 8 4 2 1 # Hosts 4,094 /19/23 128 64 32 16 8 4 2 1 # Hosts 2,046 /20/24 64 32 16 8 4 2 1 # Hosts 1,022 /21/25 32 16 8 4 2 1 # Hosts 510 /22/26 16 8 4 2 1 # Hosts 254 /23 • This table can be used to look up several types of values, and to convert/27 8 4 2 1 # Hosts 126 /24 between number of hosts, number of subnets, and CIDR values./28 4 2 1 # Hosts 62 /25 • Given a supernet size expressed as a CIDR value in the left-most column,/29 2 1 # Hosts 30 /26 look up how many subnets can be contained in columns to the right./30 1 # Hosts 14 /27 • If you know how many hosts are needed per subnet, you could look up/31 # Hosts 6 /28 the required subnet size in the column heading, and then find what size /32 2 /29 supernet is needed to support the required number of subnets