| 番号 | サービス | 接続方式 | 方式詳細 | IPv4アドレス | RTX設定 | ポート開放 |
|---|---|---|---|---|---|---|
| 1 | 一般ISP + 固定IPv4 | PPPoE | — | 専用固定 | ① PPPoE | ○ |
| 2 | 一般ISP | PPPoE | — | 専用動的 | ① PPPoE | ○ |
| 3 | NURO Biz(LAN1固定) | NURO独自 | 静的 | 専用固定 | ③ 静的IP | ○ |
| 4 | NURO Biz(LAN2動的) | NURO独自 | DHCP | 専用動的 | ② DHCPクライアント | ○ |
| 5 | v6プラス | IPoE | MAP-E | 共有 | ④ MAP-Eトンネル | △制限 |
| 6 | v6プラス固定IP | IPoE | IPIP | 専用固定 | ⑤IPIPトンネル | ○ |
| 7 | transix | IPoE | DS-Lite | 共有 | ⑤ DS-Liteトンネル | ×不可 |
| 8 | transix固定IP | IPoE | DS-Lite | 専用固定 | ⑤ DS-Liteトンネル | ○ |
① PPPoE設定(pp select / pppoe use)
② DHCPクライアント(ip lan2 address dhcp)
③ 静的IP(ip lan2 address 固定IP)
④ MAP-Eトンネル(tunnel encapsulation map-e)
⑤ IPIPトンネル(tunnel encapsulation ipip)
PPPoE、IPoEは接続方式の違いだが、ほとんどIPoE=over6となっているので、ここではIPv4=PPPoE、over6=IPoEとする。
over6は物理回線で認証する。over6は基本的にIPv6シングルスタックと同じで、その上にIPv4にも繋がる仕組みが乗っている感じ。相手がIPv6対応サイトなら最後までIPv6で届き、相手がIPv4サイトならルーターISP網出口の間だけカプセルでつつむだけ。PPPoEの場合は、全区間IPv4になる。
以前はPPPoEの契約でオプションとしてover6がほとんどだった。当時はIPv4はPPPoEで、IPv6サイトはIPoEという状態。(IPv6オプション)
現在のover6はPPPoEを使わずIPoEの上にIPv4を通すのも増えてきた。(DS-Lite/MAP-E)
・PPPoE設定
一般ISP(動的IP/固定IP)
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
ip route default gateway pp 1 ip lan1 address 192.168.100.1/24 pp select 1 pp always-on on pppoe use lan2 pppoe auto disconnect off pp auth accept pap chap pp auth myname YOUR_ISP_ID YOUR_ISP_PASSWORD ppp lcp mru on 1454 ppp ipcp ipaddress on ppp ipcp msext on ppp ccp type none ip pp mtu 1454 ip pp nat descriptor 1000 pp enable 1 nat descriptor type 1000 masquerade nat descriptor address outer 1000 ipcp dns server pp 1 |
・DHCPクライアント
|
1 2 3 4 5 6 7 8 9 10 11 |
ip lan1 address 192.168.100.1/24 ip lan2 address dhcp ip lan2 nat descriptor 1000 nat descriptor type 1000 masquerade nat descriptor address outer 1000 primary ip route default gateway dhcp lan2 dns server dhcp lan2 |
・静的IP
|
1 2 3 4 5 6 7 8 9 10 11 |
ip lan1 address 192.168.100.1/24 ip lan2 address 203.0.113.10/29 ip route default gateway 203.0.113.9 ip lan2 nat descriptor 1000 nat descriptor type 1000 masquerade nat descriptor address outer 1000 203.0.113.10 dns server 8.8.8.8 8.8.4.4 |
・MAP-Eトンネル
v6プラス、OCNバーチャルコネクト(共有・動的IP)
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
ip lan1 address 192.168.100.1/24 ipv6 lan2 address dhcp ipv6 lan2 dhcp service client ir=on tunnel select 1 tunnel encapsulation map-e tunnel map-e type v6plus ip tunnel mtu 1460 ip tunnel tcp mss limit 1420 ip tunnel nat descriptor 1000 tunnel enable 1 nat descriptor type 1000 masquerade nat descriptor address outer 1000 map-e ip route default gateway tunnel 1 ipv6 route default gateway dhcp lan2 dns server dhcp lan2 |
・IPIPトンネル
transix(DS-Lite・共有)
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
ip lan1 address 192.168.100.1/24 ipv6 lan2 address dhcp ipv6 lan2 dhcp service client tunnel select 1 tunnel encapsulation ipip tunnel endpoint name gw.transix.jp ip tunnel mtu 1460 ip tunnel tcp mss limit auto tunnel enable 1 ip route default gateway tunnel 1 ipv6 route default gateway dhcp lan2 dns server dhcp lan2 |
・IPIPトンネル
v6プラス固定IP(専用固定)
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
ip lan1 address 192.168.100.1/24 ipv6 lan2 address dhcp ipv6 lan2 dhcp service client tunnel select 1 tunnel encapsulation ipip tunnel endpoint address 2404:xxxx:xxxx:xxxx::64 ip tunnel mtu 1460 ip tunnel tcp mss limit auto ip tunnel nat descriptor 1000 tunnel enable 1 nat descriptor type 1000 masquerade nat descriptor address outer 1000 203.0.113.50 nat descriptor masquerade incoming 1000 reject ip route default gateway tunnel 1 ipv6 route default gateway dhcp lan2 dns server dhcp lan2 |