> 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/lanenvsetup.md).

# LANEnvSetup

{% stepper %}
{% step %}

### 장비 배치

네트워크를 구성하고자 하는 곳에 총 3개의 장치가 개별적으로 놓여있다.
{% endstep %}

{% step %}

### 스위치로 묶기

이를 하나의 네트워크로 묶기 위해 L2 Switch(그냥 Switch라고 해도 됨)를 사용한다.
{% endstep %}

{% step %}

### IP 할당

하나의 스위치로 모든 기기를 연결했다고 데이터 통신이 가능한 것은 아니다.\
각 PC에 접속해 각각의 독립된 IP를 할당해야 한다.

여기서 [Subnet Mask](broken://pages/c4ca2e01935cb0fafbda6aec7631cd818c96c148)에 대한 내용이 중요하다.\
192.168.10.0/24 대역을 사용한다는 의미에서 255.255.255.0 입력
{% endstep %}

{% step %}

### 나머지 장비 설정

다른 PC 들도 아래와 같이 설정했다.

* PC: 192.168.10.2
* server: 192.168.10.3
  {% endstep %}

{% step %}

### 연결 확인

잘 연결되었는지 테스트해본다.

통신이 잘 이뤄진다. 이렇게 LAN 환경은 구축이 되었다.
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
주의할 점: IP 대역(네트워크 주소)을 신경 써야 한다. 다른 대역의 IP를 사용하면 같은 네트워크로 인식되지 않아 통신할 수 없다.
{% endhint %}

* [단말 원격 접속](broken://pages/4d8fcb02b44dc2d1577ea80cfdf80d2fe1a608e2)
* [VLAN](broken://pages/aaed20016af6fda2b281077600407792b3295d97)
* [STP](broken://pages/dbf77dffab3bfeda430beae055a42f3c6bc84511)


---

# 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/lanenvsetup.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.
