| IPv4. ÀÌ ¸ðµâÀº IPv4 ÁÖ¼Ò¸¦ ½±°Ô Á¶ÀÛ ÇÒ ¼ö ÀÖ½À´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
IPv4. ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À̸§:
- Alain Barthe
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://www.albar.fr/
IPv4. ű×
IPv4. ¼³¸í
ÀÌ ¸ðµâÀ» »ç¿ëÇϸé IPv4 ÁÖ¼Ò°¡ ½±°Ô Á¶ÀÛ ÇÒ ¼ö ÀÖ½À´Ï´Ù. IPv4´Â IPv4 ÁÖ¼Ò¸¦À§ÇÑ À¯Æ¿¸®Æ¼¸¦ Á¦°øÇÏ´Â Python ¸ðµâÀÔ´Ï´Ù. IP, ¸¶½ºÅ© ¹× ¼ºê³Ý Ŭ·¡½º¸¦ Á¤ÀÇÇÕ´Ï´Ù. ÀÌ·¯ÇÑ Å¬·¡½ºÀÇ °´Ã¼´Â Á÷Á¢ »ý¼ºµÇ¾î¼´Â ¾ÈµÇ¸ç, IPv4 ÇÔ¼ö¸¦ ÅëÇؼ´Â ±×·¸Áö ¾Ê¾Æ¾ßÇÕ´Ï´Ù. ±×°ÍÀº ¶ÇÇÑ À¯¿ëÇÑ º¯È¯ ±â´ÉÀ» Á¤ÀÇÇÕ´Ï´Ù. >>> IPv4 °¡Á® ¿À±â IPv4 >>> A = IPv4 ( '192.168.1.3') >>> A # A´Â String'192.168.1.3 '>>> A.Set_Mask (23 ) a = ipv4 ( '192.168.1.3/23')¿Í µ¿ÀÏÇÕ´Ï´Ù. >>> a.mask # ¶Ç´Â a = ipv4 ( '192.168.1.3', '255.255.254.255.254.2555.254.0'>>> a. subnet.start'192.168.0.0 '>>> a.subnet.end'192.168.1.255'>>> a.same_subnet ( '192.168.2.1') °ÅÁþ >>> a.bitstr'11000000101010000000000100000011 '>>> a.subnet .Bitmask'1100000010101000000000000 '>>> A.Hexaval'C0A80103'>>> A.IntVal3232235779L >>> A.IPCLASS'C '¿ä±¸ »çÇ× : ¡¤ ÆÄÀ̽ã
IPv4. °ü·Ã ¼ÒÇÁÆ®¿þ¾î