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

# IPv6

IPv4의 수량 부족 문제를 개선\
시스템을 모두 대체하기에 비용이 많이 들어 IPv4와 혼용해서 사용 중

* 글로벌 주소
* 링크 로컬 주소
* 사이트 로컬 주소
* 멀티캐스트 주소

### 주소 축약

{% stepper %}
{% step %}

### 예시

`2002:0eee:0000:0000:0000:0000:0000:0000`/32 → `2002:eee::`/32

설명:

* `:0eee:` → `:eee:` (옥텟의 가장 앞에 있는 0은 생략)
* `0000:~:0000` → `::` (연속된 옥텟의 0000은 `::`로 생략)
* `/32` → 한 옥텟 당 16비트, 두 옥텟을 넷마스크로 사용
  {% endstep %}

{% step %}

### 예시

`2002:3eee:1240:0000:0000:3fee:0000:0000`/48 → `2002:3eee:1240::3fee:0:0`/48

설명:

* `:1240:` → 옥텟 뒤에 등장하는 0은 생략 불가능
* `:0:0` → 연속된 `0000` 생략은 한번만 가능
  {% endstep %}
  {% endstepper %}

### 연결 종류

* unie
* multi
* any (IPv4의 브로드캐스트)

### 네트워크 연결

* 터널링 (VPN과 연관)
* 스택커블: IPv4, IPv6를 동시에 사용하는 방법


---

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