CIDR - таблица преобразования

  • user warning: Table './muffsql1/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '2:02ebbed31c54de4999f115c471b5b0a5' in /usr/local/www/muff.kiev.ua/includes/cache.inc on line 27.
  • user warning: Table './muffsql1/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p class=\"rtejustify\"><strong>CIDR (Classless Inter-Domain Routing) - бесклассовая адресация</strong>. Метод IP-адресации, позволяющий гибко управлять пространством IP-адресов, не используя жёсткие рамки классовой адресации. Использование этого метода позволяет экономно использовать ограниченный ресурс IP-адресов, поскольку возможно применение различных масок подсетей к различным подсетям.</p>\n<p class=\"rtejustify\">Лично я предпочитаю использовать <a href=\"http://muff.kiev.ua/content/ipcalc-schitaem-seti-po-pravilnomu\">IPCalc</a>, но для наглядного примера годится и эта таблица. Тем более есть возможность ее распечатать и расположить в пределе видимости около рабочего места.</p>\n<p class=\"rtejustify\">Возможно многим она не пригодится, но имея в своем распоряжении чуть больше 4 тыс. маршрутизируемых IP-адресов,&nbsp;ежедневно стыкаешься с разбиением сетей на подсети.</p>\n<p class=\"rtejustify\">\n<table border=\"1\" cellspacing=\"2\" cellpadding=\"5\" width=\"100%\">\n<tbody>\n<tr style=\"font-weight: bold\">\n<td class=\"rtecenter\">Подсеть</td>\n<td class=\"rtecenter\">Кол-во адресов<br />\n в подсети</td>\n<td class=\"rtecenter\">\n<p>Кол-во хостов<br />\n в подсети</p>\n</td>\n<td class=\"rtecenter\">Маска</td>\n<td class=\"rtecenter\">количество<br />\n &quot;классовых&quot; <br />\n сетей</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/1</td>\n<td class=\"rtecenter\">2 147 483 648</td>\n<td class=\"rtecenter\">2 147 483 646</td>\n<td class=\"rtecenter\">128.0.0.0</td>\n<td class=\"rtecenter\">128 A</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/2</td>\n<td class=\"rtecenter\">1 073 741 824</td>\n<td class=\"rtecenter\">1 073 741 822</td>\n<td class=\"rtecenter\">192.0.0.0</td>\n<td class=\"rtecenter\">64 A</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/3</td>\n<td class=\"rtecenter\">536 870 912</td>\n<td class=\"rtecenter\">536 870 910</td>\n<td class=\"rtecenter\">224.0.0.0</td>\n<td class=\"rtecenter\">32 A</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/4</td>\n<td class=\"rtecenter\">268 435 456</td>\n<td class=\"rtecenter\">268 435 454</td>\n<td class=\"rtecenter\">240.0.0.0</td>\n<td class=\"rtecenter\">16 A</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/5</td>\n<td class=\"rtecenter\">134 217 728</td>\n<td class=\"rtecenter\">134 217 726</td>\n<td class=\"rtecenter\">248.0.0.0</td>\n<td class=\"rtecenter\">8 A</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/6</td>\n<td class=\"rtecenter\">67 108 864</td>\n<td class=\"rtecenter\">67 108 862</td>\n<td class=\"rtecenter\">252.0.0.0</td>\n<td class=\"rtecenter\">4 A</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/7</td>\n<td class=\"rtecenter\">33 554 432</td>\n<td class=\"rtecenter\">33 554 430</td>\n<td class=\"rtecenter\">254.0.0.0</td>\n<td class=\"rtecenter\">2 A</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/8</td>\n<td class=\"rtecenter\">16 777 216</td>\n<td class=\"rtecenter\">16 777 214</td>\n<td class=\"rtecenter\">255.0.0.0</td>\n<td class=\"rtecenter\">1 A (256 B)</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/9</td>\n<td class=\"rtecenter\">8 388 608</td>\n<td class=\"rtecenter\">8 388 606</td>\n<td class=\"rtecenter\">255.128.0.0</td>\n<td class=\"rtecenter\">(1/2 A) 128 B</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/10</td>\n<td class=\"rtecenter\">4 194 304</td>\n<td class=\"rtecenter\">4 194 302</td>\n<td class=\"rtecenter\">255.192.0.0</td>\n<td class=\"rtecenter\">(1/4 A) 64 B</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/11</td>\n<td class=\"rtecenter\">2 097 152</td>\n<td class=\"rtecenter\">2 097 150</td>\n<td class=\"rtecenter\">255.224.0.0</td>\n<td class=\"rtecenter\">(1/8 A) 32 B</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/12</td>\n<td class=\"rtecenter\">1 048 576</td>\n<td class=\"rtecenter\">1 048 574</td>\n<td class=\"rtecenter\">255.240.0.0</td>\n<td class=\"rtecenter\">16 B</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/13</td>\n<td class=\"rtecenter\">524 288</td>\n<td class=\"rtecenter\">524 286</td>\n<td class=\"rtecenter\">255.248.0.0</td>\n<td class=\"rtecenter\">8 B</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/14</td>\n<td class=\"rtecenter\">262 144</td>\n<td class=\"rtecenter\">262 142</td>\n<td class=\"rtecenter\">255.252.0.0</td>\n<td class=\"rtecenter\">4 B</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/15</td>\n<td class=\"rtecenter\">131 072</td>\n<td class=\"rtecenter\">13 107</td>\n<td class=\"rtecenter\">255.254.0.0</td>\n<td class=\"rtecenter\">2 B</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/16</td>\n<td class=\"rtecenter\">65 536</td>\n<td class=\"rtecenter\">65 534</td>\n<td class=\"rtecenter\">255.255.0.0</td>\n<td class=\"rtecenter\">1 B (256 C)</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/17</td>\n<td class=\"rtecenter\">32 768</td>\n<td class=\"rtecenter\">32 766</td>\n<td class=\"rtecenter\">255.255.128.0</td>\n<td class=\"rtecenter\">(1/2 B) 128 C</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/18</td>\n<td class=\"rtecenter\">16 384</td>\n<td class=\"rtecenter\">16 382</td>\n<td class=\"rtecenter\">255.255.192.0</td>\n<td class=\"rtecenter\">(1/4 B) 64 C</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/19</td>\n<td class=\"rtecenter\">8 192</td>\n<td class=\"rtecenter\">8 190</td>\n<td class=\"rtecenter\">255.255.224.0</td>\n<td class=\"rtecenter\">(1/8 B) 32 C</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/20</td>\n<td class=\"rtecenter\">4 096</td>\n<td class=\"rtecenter\">4 094</td>\n<td class=\"rtecenter\">255.255.240.0</td>\n<td class=\"rtecenter\">16 C</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/21</td>\n<td class=\"rtecenter\">2 048</td>\n<td class=\"rtecenter\">2 046</td>\n<td class=\"rtecenter\">255.255.248.0</td>\n<td class=\"rtecenter\">8 C</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/22</td>\n<td class=\"rtecenter\">1 024</td>\n<td class=\"rtecenter\">1 022</td>\n<td class=\"rtecenter\">255.255.252.0</td>\n<td class=\"rtecenter\">4 C</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/23</td>\n<td class=\"rtecenter\">512</td>\n<td class=\"rtecenter\">510</td>\n<td class=\"rtecenter\">255.255.254.0</td>\n<td class=\"rtecenter\">2 C</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/24</td>\n<td class=\"rtecenter\">256</td>\n<td class=\"rtecenter\">254</td>\n<td class=\"rtecenter\">255.255.255.0</td>\n<td class=\"rtecenter\">1 C</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/25</td>\n<td class=\"rtecenter\">128</td>\n<td class=\"rtecenter\">126</td>\n<td class=\"rtecenter\">255.255.255.128</td>\n<td class=\"rtecenter\">1/2 C</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/26</td>\n<td class=\"rtecenter\">64</td>\n<td class=\"rtecenter\">62</td>\n<td class=\"rtecenter\">255.255.255.192</td>\n<td class=\"rtecenter\">1/4 C</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/27</td>\n<td class=\"rtecenter\">32</td>\n<td class=\"rtecenter\">30</td>\n<td class=\"rtecenter\">255.255.255.224</td>\n<td class=\"rtecenter\">1/8 C</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/28</td>\n<td class=\"rtecenter\">16</td>\n<td class=\"rtecenter\">14</td>\n<td class=\"rtecenter\">255.255.255.240</td>\n<td class=\"rtecenter\">1/16 C</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/29</td>\n<td class=\"rtecenter\">8</td>\n<td class=\"rtecenter\">6</td>\n<td class=\"rtecenter\">255.255.255.248</td>\n<td class=\"rtecenter\">1/32 C</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/30</td>\n<td class=\"rtecenter\">4</td>\n<td class=\"rtecenter\">2</td>\n<td class=\"rtecenter\">255.255.255.252</td>\n<td class=\"rtecenter\">1/64 C</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/31</td>\n<td class=\"rtecenter\">2</td>\n<td class=\"rtecenter\">0</td>\n<td class=\"rtecenter\">255.255.255.254</td>\n<td class=\"rtecenter\">1/128 C</td>\n</tr>\n<tr>\n<td class=\"rtecenter\">/32</td>\n<td class=\"rtecenter\">1</td>\n<td class=\"rtecenter\">1</td>\n<td class=\"rtecenter\">255.255.255.255</td>\n<td class=\"rtecenter\">1/256 C</td>\n</tr>\n</tbody>\n</table>\n</p>\n', created = 1767368265, expire = 1767454665, headers = '', serialized = 0 WHERE cid = '2:02ebbed31c54de4999f115c471b5b0a5' in /usr/local/www/muff.kiev.ua/includes/cache.inc on line 112.
  • user warning: Table './muffsql1/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '2:07243fc0252056071eaa62af8c18d662' in /usr/local/www/muff.kiev.ua/includes/cache.inc on line 27.
  • user warning: Table './muffsql1/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p class=\"rtecenter\"><a class=\"thickbox\" href=\"/files/imagepicker/1/wake_up_ua.png\"><img alt=\"Вставай, Україно!\" class=\"imgp_img\" src=\"/files/imagepicker/1/thumbs/wake_up_ua.png\" style=\"height:200px; width:150px\" /></a></p>\n', created = 1767368265, expire = 1767454665, headers = '', serialized = 0 WHERE cid = '2:07243fc0252056071eaa62af8c18d662' in /usr/local/www/muff.kiev.ua/includes/cache.inc on line 112.
  • user warning: Table './muffsql1/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '3:cc913d232116f0426090404133377d88' in /usr/local/www/muff.kiev.ua/includes/cache.inc on line 27.
  • user warning: Table './muffsql1/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '2:d9a86123bfcbc57878743027b584400b' in /usr/local/www/muff.kiev.ua/includes/cache.inc on line 27.
  • user warning: Table './muffsql1/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p class=\"rtecenter\"><a href=\"http://muff.kiev.ua/rss.xml\"><img alt=\"RSS\" width=\"160\" height=\"60\" src=\"http://muff.kiev.ua/files/muf-rss.png\" /></a></p>\n', created = 1767368265, expire = 1767454665, headers = '', serialized = 0 WHERE cid = '2:d9a86123bfcbc57878743027b584400b' in /usr/local/www/muff.kiev.ua/includes/cache.inc on line 112.
  • user warning: Table './muffsql1/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '3:39649256b636e3d5ded656bc52bd8c01' in /usr/local/www/muff.kiev.ua/includes/cache.inc on line 27.
Версия для печатиОтправить другуPDF version

CIDR (Classless Inter-Domain Routing) - бесклассовая адресация. Метод IP-адресации, позволяющий гибко управлять пространством IP-адресов, не используя жёсткие рамки классовой адресации. Использование этого метода позволяет экономно использовать ограниченный ресурс IP-адресов, поскольку возможно применение различных масок подсетей к различным подсетям.

Лично я предпочитаю использовать IPCalc, но для наглядного примера годится и эта таблица. Тем более есть возможность ее распечатать и расположить в пределе видимости около рабочего места.

Возможно многим она не пригодится, но имея в своем распоряжении чуть больше 4 тыс. маршрутизируемых IP-адресов, ежедневно стыкаешься с разбиением сетей на подсети.

Подсеть Кол-во адресов
в подсети

Кол-во хостов
в подсети

Маска количество
"классовых"
сетей
/1 2 147 483 648 2 147 483 646 128.0.0.0 128 A
/2 1 073 741 824 1 073 741 822 192.0.0.0 64 A
/3 536 870 912 536 870 910 224.0.0.0 32 A
/4 268 435 456 268 435 454 240.0.0.0 16 A
/5 134 217 728 134 217 726 248.0.0.0 8 A
/6 67 108 864 67 108 862 252.0.0.0 4 A
/7 33 554 432 33 554 430 254.0.0.0 2 A
/8 16 777 216 16 777 214 255.0.0.0 1 A (256 B)
/9 8 388 608 8 388 606 255.128.0.0 (1/2 A) 128 B
/10 4 194 304 4 194 302 255.192.0.0 (1/4 A) 64 B
/11 2 097 152 2 097 150 255.224.0.0 (1/8 A) 32 B
/12 1 048 576 1 048 574 255.240.0.0 16 B
/13 524 288 524 286 255.248.0.0 8 B
/14 262 144 262 142 255.252.0.0 4 B
/15 131 072 13 107 255.254.0.0 2 B
/16 65 536 65 534 255.255.0.0 1 B (256 C)
/17 32 768 32 766 255.255.128.0 (1/2 B) 128 C
/18 16 384 16 382 255.255.192.0 (1/4 B) 64 C
/19 8 192 8 190 255.255.224.0 (1/8 B) 32 C
/20 4 096 4 094 255.255.240.0 16 C
/21 2 048 2 046 255.255.248.0 8 C
/22 1 024 1 022 255.255.252.0 4 C
/23 512 510 255.255.254.0 2 C
/24 256 254 255.255.255.0 1 C
/25 128 126 255.255.255.128 1/2 C
/26 64 62 255.255.255.192 1/4 C
/27 32 30 255.255.255.224 1/8 C
/28 16 14 255.255.255.240 1/16 C
/29 8 6 255.255.255.248 1/32 C
/30 4 2 255.255.255.252 1/64 C
/31 2 0 255.255.255.254 1/128 C
/32 1 1 255.255.255.255 1/256 C

Ваша оценка: Нет Средняя: 4.5 (13 голосов)

Вставай, Україно!

Литература

Юзеры с компом на "Вы", программеры - на "Ты", а хацкеры - на "Ты, козёл..."