> For the complete documentation index, see [llms.txt](https://docs.lan.kokomocloud.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lan.kokomocloud.com/configuring-networks/configuring-gateway/configuring-interface/wan/advanced-wan-configuring-ipv4-over-ipv6.md).

# IPv4 over IPv6の設定

(DS-Lite / MAP-E / IPIP)

WAN1を接続インターフェースとして選択した後、IPv4 over IPv6設定を行う方法について説明します。KOKOMOゲートウェイは、DS-Lite、MAP-E、IPIPなどのトンネリング技術をサポートし、IPv6ベースのISP回線上でIPv4通信を可能にします。

## VNEベースネットワークにおけるIPv4 over IPv6 <a href="#ipv4-over-ipv6-in-vne-based-networks" id="ipv4-over-ipv6-in-vne-based-networks"></a>

VNE（Virtual Network Enabler）が提供する環境では、DS-Lite、MAP-EやIPIP（IP-in-IP）などの技術を使って、IPv4接続をIPv6基盤上で提供します。これにより、従来のIPv4サービスを維持しながら、高速な接続を実現します。

VNEベースのIPv4 over IPv6構成の主な特長は、以下のとおりです。

* DS-Lite、MAP-EまたはIPIPによるIPv4アクセス
* 必要に応じた静的IPv4割り当て（通常はIPIP）
* DDNSや認証機構との連携
* ルーティングおよびトンネル管理はVNEインフラ側で実施

### １．接続方式の選択 <a href="#connection-type-selection" id="connection-type-selection"></a>

「**設定**」＞「**ゲートウェイ**」＞「**インタフェース**」＞「**WAN**」で「WAN1」を選択した後、接続タイプで「**IPoE**」を選択してください。

<figure><img src="https://3232614208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq0d2GcdQx4MpQfoVgUfJ%2Fuploads%2FRDj8ngPFXjAPa1vXkonD%2Fimage.png?alt=media&amp;token=a0768ea8-53e2-45ff-a5b6-8562b8c2c9e0" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
利用可能なIPoE接続（MAP-E / DS-Lite / 固定IP）は、選択したVNEに依存します。
{% endhint %}

### ２．VNEサービス名の選択 <a href="#selecting-vne-service-name" id="selecting-vne-service-name"></a>

「**v6plus**」もしくは「**Xpass**」を選択してください。

* 「**v6plus**」を選択した場合は、IPoE接続は自動的に「**MAP-E**」か「**固定IP**」を選択する形
* 「**Xpass**」を選択した場合は、IPoE接続は自動的に「**DS-Lite**」か「**固定IP**」を選択する形

<figure><img src="https://3232614208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq0d2GcdQx4MpQfoVgUfJ%2Fuploads%2F4XqhTWPi02CNs3YpBtfa%2Fimage.png?alt=media&amp;token=58ead461-de23-40ee-bdc6-4977fd34cb44" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
「v6プラス」および「v6plus」は、株式会社JPIXの登録商標（または商標）です。
{% endhint %}

{% hint style="info" %}
クロスパス（Xpass）は、アルテリア・ネットワークス株式会社の登録商標（または商標）です。
{% endhint %}

{% hint style="danger" %}
「BIGLOBE」「OCN」は現在未サポートです。順次サポートVNEは拡充予定です。
{% endhint %}

### ３．v6plus（MAP-E） <a href="#v6plus-map-e" id="v6plus-map-e"></a>

MAP-Eはステートレスなトンネリング方式であり、手動設定を必要としません。

<table><thead><tr><th width="260" valign="top">項目</th><th valign="top">説明</th></tr></thead><tbody><tr><td valign="top">DNSサーバー</td><td valign="top">「ISPからの情報を元にする」に固定されます。</td></tr></tbody></table>

<figure><img src="https://3232614208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq0d2GcdQx4MpQfoVgUfJ%2Fuploads%2FrADxHFC8BllXaQ67m4y5%2Fimage.png?alt=media&amp;token=7dfaab6a-c4a6-4033-9d81-05923ac9ca8b" alt=""><figcaption></figcaption></figure>

### ４．Xpass（DS-Lite） <a href="#xpass-ds-lite" id="xpass-ds-lite"></a>

DS-Liteでは、以下の項目を設定します。

<table><thead><tr><th width="260" valign="top">項目</th><th valign="top">説明</th></tr></thead><tbody><tr><td valign="top">BR / AFTR アドレス</td><td valign="top">必須。ISPから提供されます。</td></tr><tr><td valign="top">DNSサーバー</td><td valign="top">「ISPから取得する」に固定されます。</td></tr></tbody></table>

<figure><img src="https://3232614208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq0d2GcdQx4MpQfoVgUfJ%2Fuploads%2FV8eVzSsM2Vra2mzkwA8m%2Fimage.png?alt=media&amp;token=2cccd97c-20c6-4788-bf04-083b0920b325" alt=""><figcaption></figcaption></figure>

### ５．固定IP（IPIP） <a href="#ipip" id="ipip"></a>

IPIPベースの構成では、VNE種別として「**v6plus**」または「**Xpass**」を選択します。各方式で必要なパラメータは異なります。

#### **VNE = v6plus（JPIX）** <a href="#v6plus" id="v6plus"></a>

<table><thead><tr><th width="260" valign="top">項目</th><th valign="top">説明</th></tr></thead><tbody><tr><td valign="top">BR / AFTR アドレス</td><td valign="top">必須。ISPまたはVNEから提供されます。</td></tr><tr><td valign="top">IPv4アドレス</td><td valign="top">必須。固定IPv4アドレス。</td></tr><tr><td valign="top">インターフェースID</td><td valign="top">v6plusから割り当てられます。</td></tr><tr><td valign="top">サーバーURLを更新</td><td valign="top">提供事業者から提供されます。</td></tr><tr><td valign="top">ユーザー名・パスワード</td><td valign="top">ISPにより任意。</td></tr><tr><td valign="top">DNSサーバー</td><td valign="top">「ISPから取得する」に固定されます。</td></tr></tbody></table>

<figure><img src="https://3232614208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq0d2GcdQx4MpQfoVgUfJ%2Fuploads%2Fo9Ec6py3IoyVhRFh9fag%2Fimage.png?alt=media&amp;token=f854d862-bc7e-4d2e-9cf6-26bbf2d1639a" alt=""><figcaption></figcaption></figure>

#### **VNE = Xpass（アルテリア・ネットワークス）** <a href="#xpass" id="xpass"></a>

<table data-search="false"><thead><tr><th width="260" valign="top">項目</th><th valign="top">説明</th></tr></thead><tbody><tr><td valign="top">BR / AFTR アドレス</td><td valign="top">必須。ISPから提供されます。</td></tr><tr><td valign="top">IPv4アドレス</td><td valign="top">必須。固定公開IP。</td></tr><tr><td valign="top">DDNS更新サーバーURL</td><td valign="top">Xpassから提供されます。</td></tr><tr><td valign="top">基本認証ID・パスワード</td><td valign="top">Xpassから提供されます。</td></tr><tr><td valign="top">FQDN / DDNS ID</td><td valign="top">割り当てられたホスト名。</td></tr><tr><td valign="top">DDNSパスワード</td><td valign="top">Xpassから提供されます。</td></tr><tr><td valign="top">DNSサーバー</td><td valign="top">「ISPから取得する」に固定されます。</td></tr></tbody></table>

<figure><img src="https://3232614208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq0d2GcdQx4MpQfoVgUfJ%2Fuploads%2FOFMO329SZeeSBg6K8GE7%2Fimage.png?alt=media&amp;token=0e34e54b-f935-4ed2-ac8f-caf61e38964a" alt=""><figcaption></figcaption></figure>

### ６．LAN側の IPv6 アドレッシング <a href="#lan-side-ipv6-addressing" id="lan-side-ipv6-addressing"></a>

「**設定**」＞「**ゲートウェイ**」＞「**インターフェース**」＞「**LAN**」で、該当するインターフェスを選択して以下のいずれかの方式でIPv6を有効にします。

* 無効
* DHCPv6-PD
* IPv6リレー

<figure><img src="https://3232614208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq0d2GcdQx4MpQfoVgUfJ%2Fuploads%2FEtdUmZhKjGR5uRaeeteK%2Fimage.png?alt=media&amp;token=2b9d9746-c430-4a07-8b19-a215c87daa0c" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**注意事項**

* ISPがDHCPv6-PD/IPv6リレーをサポートする必要があります。
* DHCPv6-PD または IPv6リレー を有効にできる LANインターフェースは、同時に1つのみです。
  {% endhint %}

### ７．ゲートウェイモニタリング <a href="#gateway-monitoring" id="gateway-monitoring"></a>

IPv4およびIPv6アドレスは、以下で表示されます。

* 「**管理**」＞「**ゲートウェイ**」
* 「**管理**」＞「**ゲートウェイ**」＞「**詳細情報**」

<figure><img src="https://3232614208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq0d2GcdQx4MpQfoVgUfJ%2Fuploads%2F7NLOFnm7vIXYvh4PQeZz%2Fimage.png?alt=media&amp;token=55305d63-1b28-4160-9649-5d59a8ec84c7" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3232614208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq0d2GcdQx4MpQfoVgUfJ%2Fuploads%2F0TzGrUfcHvCYOqdPfLQw%2Fimage.png?alt=media&amp;token=113215e5-a28c-4303-bd21-45062f00b2b0" alt=""><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.lan.kokomocloud.com/configuring-networks/configuring-gateway/configuring-interface/wan/advanced-wan-configuring-ipv4-over-ipv6.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
