ヤマハRTX810でIPv6接続:IPv6 PPPoEのアドレスを確認する
いつもアクセスありがとうございます。匠技術研究所の谷山 亮治です。
IPv6を使ったネット接続の実際を紹介していきます。
今回はNTT東に繋いだIPv6 PPPoEの様子です。
なおこの事例作成にはプロバイダであるSANNET様の協力を頂いています。
■IPv6 PPPoEの状態
ヤマハRTX810でIPv6 PPPoEの接続中の状態です。一部IP情報など伏せ時にしています。
IPv4とは異なり、PPPoE接続情報の中にIPv6のアドレスは見えません。
> show status pp 1
PP[01]:
Description:
Current PPPoE session status is Connected.
Access Concentrator: e14yurgok-sseu000300
12 days 13 hours 49 minutes 11 seconds connection.
Received: 2010872 packets [2742174571 octet] Load: 0.0%
Transmitted: 465139 packets [54054897 octets] Load: 0.0%
PPP Cofigure Options
LCP Local: Magic-Number MRU, Remote: CHAP Magic-Number MRU
IPCP Local:, Remote: VJC(Max slot id=255 Comp slot id=0) Primary-DNS(***.***.***.***) Primary-WINS(***.***.***.***) Secondary-DNS(***.***.***.***) Secondary-
WINS(***.***.***.***)
PP IP Address Local: Unnumbered, Remote: ***.***.***.***
IPV6CP Local: Interface-ID, Remote: Interface-ID
PP Interface-ID Local: ffffffffff803f0a, Remote: ffffffffffd6db80
CCP: None
>
■IPv6 DHCPの状態
IPv6 PPPoEはDHCP6でプロバイダからルーターに情報が渡ります。
2fff:f:ffff:4000::/56でIPv6プレフィックスが渡されています。
このアドレス空間内は自分で好きなように使って良い空間です。
2の14乗というIPv4アドレスに比べて広大な自分空間を使うことができます。
以下のIPv6アドレスは改変しています。
> show status ipv6 dhcp
DHCPv6 status
LAN1 [server]
state: reply
PP[01] [client]
state: established
server:
address: ::
preference: 0
prefix: 2fff:f:ffff:4000::/56
duration: 14400
T1: 7200
T2: 11520
preferred lifetime: 14400
valid lifetime: 14400
DNS server[1]: 2fff:f:ffff::1
DNS server[2]: 2fff:f:ff::1
>
■IPv6 LANインターフェイスの状態
LAN1にのみグローバルIPv6が振られています。これはLAN1のIPv6設定によるものです。他のインターフェイスはグローバルIPv6の設定をしていないので、プライベートIPv6がデフォルト設定です。
> show ipv6 address
LAN1 scope-id 1 [up]
Received: 37420 packets 3130944 octets
Transmitted: 38447 packets 5476940 octets
global 2fff:f:ffff:4000::1/64
link-local fe80::2a0:deff:fe80:3f0a/64
link-local ff02::1/64
link-local ff02::2/64
link-local ff02::1:2/64
link-local ff02::1:ff00:1/64
link-local ff02::1:ff80:3f0a/64
LAN2 scope-id 2 [up]
Received: 49187 packets 7131709 octets
Transmitted: 30506 packets 3264620 octets
link-local fe80::2a0:deff:fe80:3f0b/64
link-local ff02::1/64
link-local ff02::2/64
link-local ff02::1:ff80:3f0b/64
PP[01] scope-id 23 [up]
Received: 32008 packets 4499168 octets
Transmitted: 0 packet 0 octet
link-local fe80::2a0:deff:fe80:3f0a/64
link-local ff02::1/64
link-local ff02::2/64
NULL scope-id 77 [up]
Received: 0 packet 0 octet
Transmitted: 0 packet 0 octet
link-local fe80::1/64
link-local ff02::1/64
link-local ff02::2/64
LOOPBACK1 scope-id 78 [up]
Received: 0 packet 0 octet
Transmitted: 0 packet 0 octet
link-local fe80::1/64
link-local ff02::1/64
link-local ff02::2/64
LOOPBACK2 scope-id 79 [up]
Received: 0 packet 0 octet
Transmitted: 0 packet 0 octet
link-local fe80::1/64
link-local ff02::1/64
link-local ff02::2/64
LOOPBACK3 scope-id 80 [up]
Received: 0 packet 0 octet
Transmitted: 0 packet 0 octet
link-local fe80::1/64
link-local ff02::1/64
link-local ff02::2/64
LOOPBACK4 scope-id 81 [up]
Received: 0 packet 0 octet
Transmitted: 0 packet 0 octet
link-local fe80::1/64
link-local ff02::1/64
link-local ff02::2/64
LOOPBACK5 scope-id 82 [up]
Received: 0 packet 0 octet
Transmitted: 0 packet 0 octet
link-local fe80::1/64
link-local ff02::1/64
link-local ff02::2/64
LOOPBACK6 scope-id 83 [up]
Received: 0 packet 0 octet
Transmitted: 0 packet 0 octet
link-local fe80::1/64
link-local ff02::1/64
link-local ff02::2/64
LOOPBACK7 scope-id 84 [up]
Received: 0 packet 0 octet
Transmitted: 0 packet 0 octet
link-local fe80::1/64
link-local ff02::1/64
link-local ff02::2/64
LOOPBACK8 scope-id 85 [up]
Received: 0 packet 0 octet
Transmitted: 0 packet 0 octet
link-local fe80::1/64
link-local ff02::1/64
link-local ff02::2/64
LOOPBACK9 scope-id 86 [up]
Received: 0 packet 0 octet
Transmitted: 0 packet 0 octet
link-local fe80::1/64
link-local ff02::1/64
link-local ff02::2/64
BRIDGE1 scope-id 87 [down]
Received: 0 packet 0 octet
Transmitted: 0 packet 0 octet
link-local ff02::1/64
link-local ff02::2/64
>
次回は、ルーティングの確認や経路の確認です。