CS/CCNA
<Jeremy's IT Lab> Day7: IPv4 Addressing
햄키
2025. 3. 18. 23:01
728x90
IPv4 Addressing
e.i)
192.168.1.254/24
구간별 2진수 8자리 계산
192 > 11000000
168 > 10101000
1 > 00000001
254 > 11111110
192.168.1 > network portion of address
254 > host portion of address
Class | First octect | First octect numeric range |
A | 0xxx xxxx | 0-127 |
B | 10xx xxxx | 128-191 |
C | 110x xxxx | 192-223 |
D (Multicast addresses) | 1110 xxxx | 224-239 |
E (Reserved (experimental) | 1111 xxxx | 240-255 |
Loopback Addresses
-> Address range 127.0.0.0 - 127.255.255.255
Class | First octect | First octect numeric range | Prefix Length |
A | 0xxx xxxx | 0-127 | /8 |
B | 10xx xxxx | 128-191 | /16 |
C | 110x xxxx | 192-223 | /24 |
A class: Fewer networks, More hosts
C class: More networks, Fewer hosts
Netmask:
Class A: /8
255.0.0.0
11111111 00000000 00000000 00000000
* Host portion of the address is all 0's = Network Address (CANNOT be assigned as a host adr)
* Host portion of the address is all 1's = Broadcast Address (CANNOT be assigned as a host adr)