IP 주소 지정 및 서브넷팅
IPv4 주소 지정, 네트워크 클래스 및 서브넷팅 개념을 익혀 IP 네트워크를 효율적으로 구성하고 관리합니다.
IP 주소 지정 및 서브넷팅은(는) CoddyKit의 무료 Linux Networking & TCP/IP for Developers 강의입니다. 이것은 4개 중 2번째 강의입니다. 아래에서 전체 강의를 무료로 읽을 수 있으며, 내장 코드 에디터와 24/7 AI 튜터와 함께 브라우저에서 직접 실습할 수 있습니다. 이 강의는 Linux Networking & TCP/IP for Developers 학습 경로의 일부이며, 진행 상황이 웹과 CoddyKit 앱에 동기화됩니다. Linux Networking & TCP/IP for Developers 강의에는 총 4개의 강의가 포함되어 있습니다.
이 강의의 일부는 아직 번역되지 않았으며 영어로 표시됩니다.
Your Device's Network Address
Every device connected to a network needs a unique identifier, much like a mailing address for your house. In computer networks, this identifier is called an Internet Protocol (IP) address.
An IP address allows devices to locate and communicate with each other across local networks and the internet.
The IPv4 Address Format
We primarily use IPv4 (Internet Protocol version 4) addresses. These are 32-bit numbers, typically written in a dotted-decimal format.
This format divides the 32 bits into four sections, called octets, separated by dots. Each octet can range from 0 to 255.
- Example:
192.168.1.100 - Each 'dot' separates an octet.
IP Addresses in Binary
While we see IP addresses in decimal, computers understand them in binary. Each octet is 8 bits (a byte), so an IPv4 address is 32 bits long (4 octets * 8 bits/octet).
For example, the decimal number 192 in binary is 11000000. Understanding this binary representation is key to comprehending subnetting.
Network and Host Portions
An IP address isn't just one big number; it's logically divided into two parts:
- Network Portion (Network ID): Identifies the specific network a device belongs to. All devices on the same network share the same network ID.
- Host Portion (Host ID): Uniquely identifies a specific device (host) within that network.
Think of it like a street address: the street name is the network, and the house number is the host.
What is a Subnet Mask?
How does a computer know which part of an IP address is the network portion and which is the host portion? It uses a subnet mask.
A subnet mask is another 32-bit number that works with an IP address to define the network and host parts. Like an IP address, it's often written in dotted-decimal format (e.g., 255.255.255.0).
How Subnet Masks Work
In binary, a subnet mask consists of a series of 1s followed by a series of 0s.
- The
1s represent the network portion of the IP address. - The
0s represent the host portion.
By comparing an IP address with its subnet mask (a process called 'ANDing'), a device can determine its network ID and its unique host ID.
Historical Network Classes (A, B, C)
Historically, IP addresses were categorized into classes (A, B, C, D, E) based on their first octet. This system, known as classful addressing, defined default subnet masks:
- Class A: First octet 1-126 (Default mask:
255.0.0.0) - Class B: First octet 128-191 (Default mask:
255.255.0.0) - Class C: First octet 192-223 (Default mask:
255.255.255.0)
Why Classful Addressing Was Inefficient
While simple, classful addressing led to significant waste of IP addresses. For example, a Class B network could support over 65,000 hosts, far too many for most organizations, but you couldn't easily divide it.
This inflexibility and inefficiency in allocating IP addresses spurred the need for a more granular approach: subnetting.
Subnetting: Dividing Networks
Subnetting is the process of dividing a single large IP network into smaller, more manageable subnetworks (subnets).
It involves borrowing bits from the host portion of an IP address to extend the network portion, creating more, smaller networks. Each subnet then has its own unique network ID.
Benefits of Subnetting
Subnetting offers several crucial advantages for network administrators:
- Improved Efficiency: Reduces the waste of IP addresses compared to classful addressing.
- Reduced Network Traffic: Smaller broadcast domains mean less unnecessary traffic.
- Enhanced Security: Isolates segments of the network, limiting the impact of security breaches.
- Easier Management: Organizes the network logically, making troubleshooting and administration simpler.
Quick Check: Network ID
You now understand how an IP address and subnet mask work together. Let's test your knowledge.
IP Addressing & Subnetting Recap
Great job! You've learned the fundamentals of IPv4 addressing, including how IP addresses are structured and divided into network and host portions using a subnet mask.
You also explored the historical classful addressing system and understood why subnetting became essential for efficient and flexible network design. Subnetting allows us to create smaller, more manageable subnets, improving network performance and security.
자주 묻는 질문
“IP 주소 지정 및 서브넷팅” 강의는 무료인가요?
네 — “IP 주소 지정 및 서브넷팅” 전체 내용을 이 웹사이트에서 무료로 읽을 수 있습니다. 인터랙티브하게 실습하려면(내장 코드 에디터와 24/7 AI 튜터), CoddyKit PRO로 업그레이드하면 Linux Networking & TCP/IP for Developers 강의 전체를 잠금 해제할 수 있습니다. Linux Networking & TCP/IP for Developers 강의에는 총 4개의 강의가 포함되어 있습니다.
“IP 주소 지정 및 서브넷팅”에서 뭘 배우나요?
IPv4 주소 지정, 네트워크 클래스 및 서브넷팅 개념을 익혀 IP 네트워크를 효율적으로 구성하고 관리합니다. 브라우저에서 직접 실행하는 실습 코드로 Linux Networking & TCP/IP for Developers을(를) 배우며, 24/7 AI 튜터가 강의를 진행하면서 질문에 답변해줍니다.
Linux Networking & TCP/IP for Developers을(를) 시작하는 데 경험이 필요한가요?
사전 경험은 필요하지 않습니다. CoddyKit의 Linux Networking & TCP/IP for Developers은(는) 초급자부터 고급 학습자까지를 위해 구성되어 있으므로, 여기서 시작하거나 처음부터 시작할 수 있으며 자신의 속도대로 진행할 수 있습니다. 이것은 4개 중 2번째 강의입니다.
“IP 주소 지정 및 서브넷팅” 강의는 얼마나 걸리나요?
대부분의 CoddyKit 강의는 약 5~10분이 소요됩니다. 각 강의는 간결하고 인터랙티브하여 꾸준한 진행이 가능하며, 웹과 앱에서 중단한 부분부터 바로 시작할 수 있습니다.
이 Linux Networking & TCP/IP for Developers 강의에서 코드를 작성하고 실행할 수 있나요?
네. 모든 Linux Networking & TCP/IP for Developers 강의에는 내장 코드 에디터가 포함되어 있으므로, 브라우저에서 바로 실제 코드를 작성하고 실행한 후 즉시 AI 피드백을 받을 수 있습니다 — 로컬 설정이 필요 없습니다.
이 강의의 모든 강의
- TCP/IP 모델 이해
- IP 주소 지정 및 서브넷팅
- TCP 및 UDP 기초
- ICMP와 Ping 및 Traceroute의 역할