ãã£ãã @m4g ããã®ãã¤ã¼ãã§ããããªãã¼ã«ãæãåºããã®ã§ã¾ã¨ãã¦ããã¾ã CIDRå ¥ããã該å½ããIPã¢ãã¬ã¹ãå ¨é¨ããã¹ãã§åããããã¼ã«ã¨ããªãããªãã 192.168.0.0/16ã£ã¦å ¥ããã 192.168.0.1 192.168.0.2 â¦â¦ 192.168.255.254 ã¿ããã«åºåãããã¨expingã®ä¸è¦§ã¨ãä½ãæãã£ã¡ã楽â m4g (@m4quick) 2022å¹´5æ13æ¥ ãã£ãã prips (print IP address) pripsã®ã¤ã³ã¹ãã¼ã« pripsã®ä½¿ç¨ä¾ aggregate aggregateã®ã¤ã³ã¹ãã¼ã« aggregate使ç¨ä¾ grepcidr grepcidrã®ã¤ã³ã¹ãã¼ã« grepcidrã®ä½¿ç¨ä¾ sort ã¾ã¨ã prips (print IP address) ç§ã以ååæ§ã®ãã¼ã«ãæ¢ãã¦ãblacknonããã®ããã°ã§
ãµã¨ããããã¯ã¼ã¯ã¢ãã¬ã¹ã¨CIDRãæå®ãã¦å¯¾è±¡ç¯å²ã§å©ç¨ã§ããIPã¢ãã¬ã¹ã®ä¸è¦§ãåå¾ãã楽ãªæ¹æ³ãªãããªã¼ãã¨æã£ã¦èª¿ã¹ã¦è¦ãã¨ããããpripsãã³ãã³ãã¨ãããã®ããããããªã®ã§åå¿ã¨ãã¦æ®ãã¦ããã UbuntuãMacã§ããã°ã以ä¸ã®ã³ãã³ãã§ã¤ã³ã¹ãã¼ã«ã§ããã sudo apt install prips # Ubuntuã®å ´å sudo brew install prips # Mac OS Xã®å ´å ã¤ã³ã¹ãã¼ã«ã§ãããã以ä¸ã®ããã«ã³ãã³ããå®è¡ãããã¨ã§æå®ã¬ã³ã¸ã®IPã¢ãã¬ã¹ã®ä¸è¦§ãåå¾ã§ãã(ãããã¯ã¼ã¯ã¢ãã¬ã¹ã¨ããã¼ããã£ã¹ãã¢ãã¬ã¹ãå«ããã©)ã prips ãããã¯ã¼ã¯ã¢ãã¬ã¹/CIDR blacknon@BS-PUB-UBUNTU-01:~$ prips 172.16.16.0/30 172.16.16.0 172.16.16.1 172.16.1
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}