> 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/ip-addressing-and-nat/gatewaysetup.md).

# GatewaySetup

## Gateway란?

***

## 라우터 설치

***

외부 네트워크와 통신을 위해서는 우선 라우터 설치가 필요하다.\
라우터를 설치하는 과정에서 Gateway 설정은 진행하게 된다.\
원하는 라우터 모델에 스위치를 연결한다.

{% stepper %}
{% step %}

### 라우터 설치 단계

* 라우터를 설치하고 스위치를 원하는 포트에 연결합니다.
* 설치 후 라우터 전원을 켜고 기본 연결 상태를 확인합니다.
  {% endstep %}

{% step %}

### 라우터 확장

일부 장치는 모듈화를 통해 슬롯 확장이 가능합니다. 이번에는 미리 확장을 시켜 놓으려 합니다.

{% hint style="warning" %}
모듈을 설치할 때는 반드시 전원을 끈 상태에서 진행하세요.
{% endhint %}
{% endstep %}

{% step %}

### Gateway IP 설정

스위치와 달리 라우터는 연결된 것만으로 바로 외부 네트워크와 통신할 수는 없습니다.\
LAN 네트워크에서 라우터를 통해 외부로 나갈 수 있는 통로를 열어주어야 합니다. 그것이 Gateway에 IP를 부여하는 과정입니다.

전원이 켜진 라우터에 아래 이미지의 명령어를 순서대로 입력합니다.\
(명령어 내용은 아래 이미지를 참고하세요.)

요약: 라우터의 Gig0/0 인터페이스에 192.168.10.254/24 IP를 할당하고 꺼지지 않도록 설정

일정 시간이 지나면 연결되었음을 알 수 있는 초록불을 볼 수 있습니다.
{% endstep %}
{% endstepper %}


---

# 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/ip-addressing-and-nat/gatewaysetup.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.
