> For the complete documentation index, see [llms.txt](https://krjaeh0.gitbook.io/j-log/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://krjaeh0.gitbook.io/j-log/network/fundamentals/basics/lanandwan.md).

# LANAndWAN

| 구분   | LAN(Local Area Network) | WAN(Wide Area Network)               |
| ---- | ----------------------- | ------------------------------------ |
| 범위   | 건물이나 작은 지역 내에 제한        | 도시, 국가, 혹은 대륙을 아우르는 넓은 지역            |
| 속도   | 일반적으로 높은 전송 속도          | LAN에 비해 상대적으로 낮은 전송 속도               |
| 관리   | 단일 조직이나 개인이 관리          | 여러 조직이나 정부가 관리하거나, 여러 서비스 제공자를 통해 관리 |
| 비용   | 설치와 유지 보수 비용이 상대적으로 낮음  | 광범위한 네트워크 구축과 유지에 더 많은 비용이 듬         |
| 사용 예 | 사무실 건물, 학교, 가정 내 네트워크   | 인터넷, 대규모 기업의 글로벌 네트워크                |

**LAN(Local Area Network)**

* 통신 주체인 자신을 포함한 동일 네트워크를 의미하며, 비교적 작은 범위로 구성된다.
* 사용자가 포함된 지역 네트워크
* 연결 방법: LAN 장비를 사용하여 연결
* 연결 장비: NIC(랜카드), Switch, T/P Cable
* 특징: 네트워크 구축 시 비용이 증가하지만 통신, 유지/보수 비용이 낮다
* 통신 프로토콜: Ethernet (IEEE에서 지정한 LAN 구간 표준 프로토콜)
  * Ethernet: `10 Mbps`
  * FastEthernet: `100 Mbps`
  * GigabitEthernet: `1,000 Mbps`
* 통신 주소: MAC address (16진수 48bit, 예: `HH-HH-HH-HH-HH-HH`)

**WAN (Wide Area Network)**

* 자신이 포함되지 않는 외부 네트워크를 의미
* 비교적 큰 범위로 구성된다.
* 분리된 LAN과 LAN을 연결하는 네트워크
* 연결 방법: WAN 장비를 사용하여 연결
* 연결 장비: Router
* 특징:
  * 일반적으로 ISP로 임대 회선을 사용하기 때문에 네트워크 구축 비용이 낮다.
  * 통신, 유지/보수 비용이 높다.
* 통신 프로토콜: IP (Internet Protocol: IANA에서 관리)
* 통신 주소: IP Address (10진수 32bit, 형식: `A.B.C.D`)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://krjaeh0.gitbook.io/j-log/network/fundamentals/basics/lanandwan.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
