差分

ナビゲーションに移動 検索に移動
1行目: 1行目: −
i!!1981 年に IPv6 が最初にプロトコルとして制定されてから、40 年以上経過していますが、まだまだ苦手に思っている人が多いのではないかと思います。
+
1981 年に IPv6 が最初にプロトコルとして制定されてから、40 年以上経過していますが、まだまだ苦手に思っている人が多いのではないかと思います。
    
このページでは IPv4 が使える人向けに、ISP の NW で IPv6 を導入・設計・運用するための情報を扱います。
 
このページでは IPv4 が使える人向けに、ISP の NW で IPv6 を導入・設計・運用するための情報を扱います。
42行目: 42行目:  
{| class="wikitable"
 
{| class="wikitable"
 
|+
 
|+
 +
ネットワーク アドレス一覧
 
!host
 
!host
 
!Interface
 
!Interface
134行目: 135行目:     
= サンプルコンフィグ =
 
= サンプルコンフィグ =
 +
IPv4 と IPv6 でコンフィグを比較します。
 +
 +
例示しているコンフィグは、IPv4 と IPv6 でそれぞれ抜き出しているため、実際には混合されて show running-config で表示されます。
    
== BGP コンフィグ ==
 
== BGP コンフィグ ==
355行目: 359行目:     
この例では Null0 インターフェース宛のルートを持つことで、常に IGP でルートを持つように設定しています。
 
この例では Null0 インターフェース宛のルートを持つことで、常に IGP でルートを持つように設定しています。
 +
 +
=== 総評 ===
 +
BGP でルート広告・受信する分には、IPv4 であっても IPv6 であってもそこまで違いはありません。
 +
 +
同じような感覚で設定できます。
    
== OSPF コンフィグ ==
 
== OSPF コンフィグ ==
535行目: 544行目:     
OSPFv3 はルーティングにリンク ローカル アドレスを使用するため、このコマンドか、手動でリンク ローカル アドレスを設定することが必要です。
 
OSPFv3 はルーティングにリンク ローカル アドレスを使用するため、このコマンドか、手動でリンク ローカル アドレスを設定することが必要です。
 +
 +
=== 総評 ===
 +
OSPF でルート広告・受信には、以下の異なる点があります。
 +
 +
* ルートを広告・受信する分には、OSPFv3 で IPv6 グローバル ユニキャストを設定する必要がない
 +
** traceroute が分かりづらいため、設定したほうが良い
 +
* エリアの設定が router ospf モードか、インターフェース モードで行うかという違いがある
    
== ゲートウェイ (Core) とホスト (CPE) コンフィグ ==
 
== ゲートウェイ (Core) とホスト (CPE) コンフィグ ==
682行目: 698行目:  
==== ipv6 dhcp server <Pool 名> ====
 
==== ipv6 dhcp server <Pool 名> ====
 
DHCPv6 サーバを有効にします。
 
DHCPv6 サーバを有効にします。
 +
 +
==== ipv6 address autoconfig (default) ====
 +
受信した ICMPv6 ND RA のアドレスを使用します。
 +
 +
default をつけた場合は、RA のデフォルト ゲートウェイをルーティング テーブルにインストールします。
 +
 +
=== 総評 ===
 +
IPv4 の DHCP は、IPv6 だと ICMPv6 ND RA でゲートウェイ アドレスを広告し、アドレスと DNS サーバは DHCPv6 サーバで配布します。
 +
 +
DHCPv6 サーバ無し、という設定も可能であるため、選択肢が多くなっており、多くの人はここで混乱していると思われます。
    
== BGP 確認 ==
 
== BGP 確認 ==
1,196行目: 1,222行目:     
Open や Connect は BGP が Up しておらず、異常を意味します。
 
Open や Connect は BGP が Up しておらず、異常を意味します。
 +
 +
==== show ip bgp neighbors <Peer_IP> advertised-routes / show bgp ipv6 unicast neighbors <Peer_IP> advertised-routes ====
 +
指定した BGP ピアに広報するプレフィックスを表示します。
 +
 +
この例では自ルータが Null0 インターフェース宛ルートを持っているため、ネクストホップが 0.0.0.0 or :: になっています。
 +
 +
==== show ip bgp neighbors <Peer_IP> received-routes / show bgp ipv6 unicast neighbors <Peer_IP> received-routes ====
 +
指定した BGP ピアから受信しているプレフィックスを表示します。
 +
 +
neighbor <Peer_IP> soft-reconfiguration inbound 設定が必要です。
 +
 +
この表示は BGP の RIB を意味します。
 +
 +
ネクストホップに到達性がない場合、到達できないため有効なルートに選択されません。
 +
 +
==== show ip route bgp / show ipv6 route bgp ====
 +
BGP のルーティング テーブルを表示します。
 +
 +
この表示は FIB を意味します。
 +
 +
== OSPF 確認 ==
 +
 +
=== 要件 ===
 +
隣接関係を確立したい OSPF インターフェースで有効になっていること。
 +
 +
OSPF 隣接関係が確立されていること。
 +
 +
=== IPv4 IPv6 確認比較 ===
 +
{| class="wikitable"
 +
|+IPv4 vs IPv6
 +
!host
 +
!IPv4
 +
!IPv6
 +
!備考
 +
|-
 +
|BGP-CE
 +
|'''show ip ospf interface brief'''
 +
Interface    PID   Area            IP Address/Mask    Cost  State Nbrs F/C
 +
 +
Lo0          1     0.0.0.0         198.51.100.254/32  1     LOOP  0/0
 +
 +
Gi1          1     0.0.0.0         192.0.2.1/30       1     '''P2P'''   1/1
 +
 +
 +
'''show ip ospf neighbor'''
 +
 +
Neighbor ID     Pri   State           Dead Time   Address         Interface
 +
 +
198.51.100.253    0   '''FULL'''/  -        00:00:31    192.0.2.2       GigabitEthernet1
 +
 +
 +
'''show ip route ospf'''
 +
 +
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
 +
 +
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
 +
 +
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
 +
 +
       E1 - OSPF external type 1, E2 - OSPF external type 2, m - OMP
 +
 +
       n - NAT, Ni - NAT inside, No - NAT outside, Nd - NAT DIA
 +
 +
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
 +
 +
       ia - IS-IS inter area, * - candidate default, U - per-user static route
 +
 +
       H - NHRP, G - NHRP registered, g - NHRP registration summary
 +
 +
       o - ODR, P - periodic downloaded static route, l - LISP
 +
 +
       a - application route
 +
 +
       + - replicated route, % - next hop override, p - overrides from PfR
 +
 +
       & - replicated local route overrides by connected
 +
 +
Gateway of last resort is 203.0.113.1 to network 0.0.0.0
 +
 +
      198.51.100.0/24 is variably subnetted, 4 subnets, 3 masks
 +
 +
O        '''198.51.100.0/25''' [110/2] via 192.0.2.2, 03:34:12, GigabitEthernet1
 +
 +
O        '''198.51.100.253/32''' [110/2] via 192.0.2.2, 03:34:12, GigabitEthernet1
 +
|'''show ipv6 ospf interface brief'''
 +
Interface    PID   Area            Intf ID    Cost  State Nbrs F/C
 +
 +
Lo0          1     0.0.0.0         12         1     LOOP  0/0
 +
 +
Gi1          1     0.0.0.0         7          1     '''P2P'''   1/1
 +
 +
 +
'''show ipv6 ospf neighbor'''
 +
 +
            OSPFv3 Router with ID (198.51.100.254) (Process ID 1)
 +
 +
Neighbor ID     Pri   State           Dead Time   Interface ID    Interface
 +
 +
198.51.100.253    0   '''FULL'''/  -        00:00:32    10              GigabitEthernet1
 +
 +
 +
'''show ipv6 route ospf'''
 +
 +
IPv6 Routing Table - default - 13 entries
 +
 +
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
 +
 +
       B - BGP, R - RIP, H - NHRP, I1 - ISIS L1
 +
 +
       I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
 +
 +
       EX - EIGRP external, ND - ND Default, NDp - ND Prefix, DCE - Destination
 +
 +
       NDr - Redirect, RL - RPL, O - OSPF Intra, OI - OSPF Inter
 +
 +
       OE1 - OSPF ext 1, OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1
 +
 +
       ON2 - OSPF NSSA ext 2, la - LISP alt, lr - LISP site-registrations
 +
 +
       ld - LISP dyn-eid, lA - LISP away, le - LISP extranet-policy
 +
 +
       lp - LISP publications, a - Application, m - OMP
 +
 +
O   '''2001:DB8:198::/64''' [110/2]
 +
 +
     via FE80::5200:FF:FE03:3, GigabitEthernet1
 +
 +
O   '''2001:DB8:254::253/128''' [110/1]
 +
 +
     via FE80::5200:FF:FE03:3, GigabitEthernet1
 +
 +
|
 +
|-
 +
|Core
 +
|'''show ip ospf interface brief'''
 +
Interface    PID   Area            IP Address/Mask    Cost  State Nbrs F/C
 +
 +
Lo0          1     0.0.0.0         198.51.100.253/32  1     LOOP  0/0
 +
 +
Gi4          1     0.0.0.0         192.0.2.2/30       1     P2P   1/1
 +
 +
Gi1          1     0.0.0.0         198.51.100.1/25    1     DR    0/0
 +
 +
.
 +
 +
'''show ip ospf neighbor'''
 +
 +
Neighbor ID     Pri   State           Dead Time   Address         Interface
 +
 +
198.51.100.254    0   '''FULL'''/  -        00:00:36    192.0.2.1       GigabitEthernet4
 +
 +
.
 +
 +
.
 +
 +
'''show ip route ospf'''
 +
 +
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
 +
 +
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
 +
 +
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
 +
 +
       E1 - OSPF external type 1, E2 - OSPF external type 2, m - OMP
 +
 +
       n - NAT, Ni - NAT inside, No - NAT outside, Nd - NAT DIA
 +
 +
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
 +
 +
       ia - IS-IS inter area, * - candidate default, U - per-user static route
 +
 +
       H - NHRP, G - NHRP registered, g - NHRP registration summary
 +
 +
       o - ODR, P - periodic downloaded static route, l - LISP
 +
 +
       a - application route
 +
 +
       + - replicated route, % - next hop override, p - overrides from PfR
 +
 +
       & - replicated local route overrides by connected
 +
 +
Gateway of last resort is 192.0.2.1 to network 0.0.0.0
 +
 +
O*E2  '''0.0.0.0/0''' [110/1] via 192.0.2.1, 03:33:47, GigabitEthernet4
 +
 +
      198.51.100.0/24 is variably subnetted, 4 subnets, 2 masks
 +
 +
O        '''198.51.100.254/32''' [110/2] via 192.0.2.1, 03:33:47, GigabitEthernet4
 +
|'''show ipv6 ospf interface brief'''
 +
Interface    PID   Area            Intf ID    Cost  State Nbrs F/C
 +
 +
Lo0          1     0.0.0.0         12         1     LOOP  0/0
 +
 +
Gi1          1     0.0.0.0         7          1     DR    0/0
 +
 +
Gi4          1     0.0.0.0         10         1     '''P2P'''   1/1
 +
 +
.
 +
 +
'''show ipv6 ospf neighbor'''
 +
 +
            OSPFv3 Router with ID (198.51.100.253) (Process ID 1)
 +
 +
Neighbor ID     Pri   State           Dead Time   Interface ID    Interface
 +
 +
198.51.100.254    0   '''FULL'''/  -        00:00:33    7               GigabitEthernet4
 +
 +
.
 +
 +
'''show ipv6 route ospf'''
 +
 +
IPv6 Routing Table - default - 8 entries
 +
 +
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
 +
 +
       B - BGP, R - RIP, H - NHRP, I1 - ISIS L1
 +
 +
       I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
 +
 +
       EX - EIGRP external, ND - ND Default, NDp - ND Prefix, DCE - Destination
 +
 +
       NDr - Redirect, RL - RPL, O - OSPF Intra, OI - OSPF Inter
 +
 +
       OE1 - OSPF ext 1, OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1
 +
 +
       ON2 - OSPF NSSA ext 2, la - LISP alt, lr - LISP site-registrations
 +
 +
       ld - LISP dyn-eid, lA - LISP away, le - LISP extranet-policy
 +
 +
       lp - LISP publications, a - Application, m - OMP
 +
 +
OE2 '''::/0''' [110/1], tag 1
 +
 +
     via FE80::5200:FF:FE02:0, GigabitEthernet4
 +
 +
O   '''2001:DB8:254::254/128''' [110/1]
 +
 +
     via FE80::5200:FF:FE02:0, GigabitEthernet4
 +
 +
.
 +
 +
.
 +
 +
|
 +
|}
 +
 +
=== 確認のポイント ===
 +
IPv4 の OSPFv2 でも IPv6 の OSPFv3 でも、確認するポイントはあまり変わりません。
 +
 +
IPv6 の場合はネクスト ホップがリンク ローカル アドレスになる点は、把握しておいたほうが良いでしょう。
 +
 +
* リンク ローカル アドレスを複数のインターフェースで同一のプレフィックスを使用できない
 +
 +
==== show ip ospf interface brief / show ipv6 ospf interface brief ====
 +
指定したネットワーク タイプが表示されていること。
 +
 +
ローカルとリモートで同一のタイプが表示されていること。
 +
 +
==== show ip ospf neighbor / show ipv6 ospf neighbor ====
 +
State が Full になっていること。
 +
 +
==== show ip route ospf / show ipv6 route ospf ====
 +
OSPFv2 / OSPFv3 でルートを受信していること。
 +
 +
OSPF ではエリアに属しているインターフェースのプレフィックスが、OSPF ルートにインストールされます。
 +
 +
== ゲートウェイ (Core) とホスト (CPE) 確認 ==
 +
=== 要件 ===
 +
ARP エントリに MAC アドレスが表示されること。
 +
 +
IPv6 ネイバーにグローバル ユニキャストアドレスとリンク ローカル アドレスが表示されること。
 +
 +
==== ゲートウェイ (Core) ====
 +
IPv4 DHCP サーバが有効になっていること。
 +
 +
IPv6 ND RA が有効になっていること。
 +
 +
DHCPv6 がインターフェースにおいて、サーバ モードで有効になっていること。
 +
 +
===== ホスト (CPE) =====
 +
IPv4 DHCP クライアントが有効になっていること
 +
 +
IPv6 ND クライアントが有効になっていること。
 +
 +
DHCPv6 がインターフェースにおいて、クライアント モードで有効になっていること。
 +
 +
=== IPv4 IPv6 確認比較 ===
 +
{| class="wikitable"
 +
|+IPv4 vs IPv6
 +
!host
 +
!IPv4
 +
!IPv6
 +
!備考
 +
|-
 +
|Core
 +
|'''show ip interface brief'''
 +
Interface              IP-Address      OK? Method Status                Protocol
 +
 +
GigabitEthernet1       198.51.100.1    YES manual up                    up
 +
 +
.
 +
 +
.
 +
 +
.
 +
 +
.
 +
 +
.
 +
 +
'''show ip arp Gi1'''
 +
 +
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
 +
 +
Internet  198.51.100.1            -   5000.0003.0000  ARPA   GigabitEthernet1
 +
 +
Internet  198.51.100.14         104   5000.0004.0003  ARPA   GigabitEthernet1
 +
 +
 +
'''show ip dhcp binding'''
 +
 +
Bindings from all pools not associated with VRF:
 +
 +
IP address      Client-ID/              Lease expiration        Type       State      Interface
 +
 +
                Hardware address/
 +
 +
                User name
 +
 +
198.51.100.14   0063.6973.636f.2d35.    May 15 2024 02:32 AM    Automatic  Active     GigabitEthernet1
 +
 +
                3030.302e.3030.3034.
 +
 +
                2e30.3030.332d.4769.
 +
 +
                34
 +
 +
 +
|'''show ipv6 interface brief'''
 +
GigabitEthernet1       [up/up]
 +
 +
    FE80::198:1
 +
 +
    2001:DB8:198::1
 +
 +
 +
'''show ipv6 neighbors Gi1'''
 +
 +
ND cache expire time is 14400 seconds
 +
 +
IPv6 Address                              Age Link-layer Addr State Interface
 +
 +
2001:DB8:198:0:9465:2DA7:8F08:1B80          0 5000.0004.0003  REACH Gi1
 +
 +
FE80::5200:FF:FE04:3                        0 5000.0004.0003  REACH Gi1
 +
 +
 +
'''show ipv6 interface Gi1 | in router'''
 +
 +
  ND router advertisements are sent every 200 seconds
 +
 +
  ND router advertisements live for 1800 seconds
 +
 +
  ND advertised default router preference is Medium
 +
 +
 +
'''show ipv6 dhcp binding'''
 +
 +
Client: FE80::5200:FF:FE04:3
 +
 +
  DUID: 00030001001E14D86300
 +
 +
  Username : unassigned
 +
 +
  VRF : default
 +
 +
  IA NA: IA ID 0x000A0001, T1 43200, T2 69120
 +
 +
    Address: 2001:DB8:198:0:9465:2DA7:8F08:1B80
 +
 +
            preferred lifetime 86400, valid lifetime 172800
 +
 +
            expires at May 16 2024 02:32 AM (166036 seconds)
 +
 +
 +
'''show ipv6 dhcp interface'''
 +
 +
GigabitEthernet1 is in '''server mode'''
 +
 +
  Using pool: IPv6
 +
 +
  Preference value: 0
 +
 +
  Hint from client: ignored
 +
 +
  Rapid-Commit: disabled
 +
|
 +
|-
 +
|CPE
 +
|'''show ip interface brief'''
 +
Interface              IP-Address      OK? Method Status                Protocol
 +
 +
<snip>
 +
 +
GigabitEthernet4       198.51.100.14   YES DHCP   up                    up
 +
 +
.
 +
 +
 +
'''show ip arp Gi4'''
 +
 +
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
 +
 +
Internet  198.51.100.14           -   5000.0004.0003  ARPA   GigabitEthernet4
 +
 +
Internet  198.51.100.1          110   5000.0003.0000  ARPA   GigabitEthernet4
 +
 +
 +
'''show ip route'''
 +
 +
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
 +
 +
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
 +
 +
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
 +
 +
       E1 - OSPF external type 1, E2 - OSPF external type 2, m - OMP
 +
 +
       n - NAT, Ni - NAT inside, No - NAT outside, Nd - NAT DIA
 +
 +
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
 +
 +
       ia - IS-IS inter area, * - candidate default, U - per-user static route
 +
 +
       H - NHRP, G - NHRP registered, g - NHRP registration summary
 +
 +
       o - ODR, P - periodic downloaded static route, l - LISP
 +
 +
       a - application route
 +
 +
       + - replicated route, % - next hop override, p - overrides from PfR
 +
 +
       & - replicated local route overrides by connected
 +
 +
Gateway of last resort is 198.51.100.1 to network 0.0.0.0
 +
 +
'''S*    0.0.0.0/0''' [254/0] via 198.51.100.1
 +
 +
      198.51.100.0/24 is variably subnetted, 2 subnets, 2 masks
 +
 +
C        198.51.100.0/25 is directly connected, GigabitEthernet4
 +
 +
L        198.51.100.14/32 is directly connected, GigabitEthernet4
 +
 +
 +
'''show ip interface Gi4 | in DHCP'''
 +
 +
  Address determined by '''DHCP'''
 +
 +
.
 +
 +
.
 +
 +
.
 +
 +
.
 +
 +
.
 +
 +
.
 +
 +
.
 +
 +
.
 +
 +
.
 +
 +
.
 +
 +
.
 +
 +
.
 +
 +
.
 +
 +
.
 +
 +
.
 +
 +
.
 +
 +
.
 +
 +
.
 +
 +
.
 +
 +
'''show ip name-servers'''
 +
 +
2001:4860:4860::8888
 +
 +
8.8.8.8
 +
 +
|'''show ipv6 interface brief'''
 +
<snip>
 +
 +
GigabitEthernet4       [up/up]
 +
 +
    FE80::5200:FF:FE04:3
 +
 +
    2001:DB8:198:0:9465:2DA7:8F08:1B80
 +
 +
 +
'''show ipv6 neighbors Gi4'''
 +
 +
ND cache expire time is 14400 seconds
 +
 +
IPv6 Address                              Age Link-layer Addr State Interface
 +
 +
2001:DB8:198::1                             0 5000.0003.0000  REACH Gi4
 +
 +
FE80::198:1                                 0 5000.0003.0000  REACH Gi4
 +
 +
 +
'''show ipv6 route'''
 +
 +
IPv6 Routing Table - default - 3 entries
 +
 +
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
 +
 +
       B - BGP, R - RIP, H - NHRP, I1 - ISIS L1
 +
 +
       I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
 +
 +
       EX - EIGRP external, ND - ND Default, NDp - ND Prefix, DCE - Destination
 +
 +
       NDr - Redirect, RL - RPL, O - OSPF Intra, OI - OSPF Inter
 +
 +
       OE1 - OSPF ext 1, OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1
 +
 +
       ON2 - OSPF NSSA ext 2, la - LISP alt, lr - LISP site-registrations
 +
 +
       ld - LISP dyn-eid, lA - LISP away, le - LISP extranet-policy
 +
 +
       lp - LISP publications, a - Application, m - OMP
 +
 +
'''ND  ::/0''' [2/0]
 +
 +
     via FE80::198:1, GigabitEthernet4
 +
 +
LC  2001:DB8:198:0:9465:2DA7:8F08:1B80/128 [0/0]
 +
 +
     via GigabitEthernet4, receive
 +
 +
L   FF00::/8 [0/0]
 +
 +
     via Null0, receive
 +
 +
.
 +
 +
 +
'''show ipv6 dhcp interface'''
 +
 +
GigabitEthernet4 is in '''client mode'''
 +
 +
  Prefix State is IDLE (0)
 +
 +
  Information refresh timer expires in 22:05:55
 +
 +
  Address State is OPEN
 +
 +
  Renew for address will be sent in 10:05:55
 +
 +
  List of known servers:
 +
 +
    Reachable via address: FE80::198:1
 +
 +
    DUID: 00030001001E493C5C00
 +
 +
    Preference: 0
 +
 +
    Configuration parameters:
 +
 +
      '''IA NA''': IA ID 0x000A0001, T1 43200, T2 69120
 +
 +
        Address: '''2001:DB8:198:0:9465:2DA7:8F08:1B80/128'''
 +
 +
                preferred lifetime 86400, valid lifetime 172800
 +
 +
                expires at May 16 2024 02:32 AM (165955 seconds)
 +
 +
      DNS server: 2001:4860:4860::8888
 +
 +
      Information refresh time: 0
 +
 +
  Prefix Rapid-Commit: disabled
 +
 +
  Address Rapid-Commit: disabled
 +
 +
 +
'''show ip name-servers'''
 +
 +
2001:4860:4860::8888
 +
 +
8.8.8.8
 +
|
 +
|}
 +
 +
=== 確認のポイント ===
 +
設定でも同様ですが、IPv4 の DHCP は IPv6 だと ICMPv6 ND RA + DHCPv6 に変わっているため、コマンドも別々に取る必要があります。
 +
 +
==== show ip interface brief / show ipv6 interface Brief ====
 +
設定している IPv4 IPv6 を確認します。
 +
 +
ping を打つ場合など、ここで表示された値をコピペして、対向側で ping を打つと確実性が高いオペレーションになります。
 +
 +
==== show ip route / show ipv6 route ====
 +
DHCP クライアントの場合、デフォルト ルートはスタティック ルート扱いになります。
 +
 +
DHCPv6 はデフォルト ルートを配布できないため、ICMPv6 ND RA を使ってデフォルト ゲートウェイが設定されていることを確認します。
 +
 +
==== show ip interface Gi4 | in DHCP / show ipv6 dhcp interface ====
 +
ホストで DHCP クライアント、DHCPv6 クライアントであることを確認します。
 +
 +
DHCPv6 はアドレスだけ (IANA) でなく、プレフィックスを受信する (IAPD) ことも可能です。
 +
 +
==== show ip name-servers ====
 +
DHCP と DHCPv6 で受信した DNS サーバ情報を確認します。
 +
 +
個別に確認するコマンドは、IOS-XE に無いようです。
 +
[[カテゴリ:ラボ]]
 +
[[カテゴリ:IPv6]]

案内メニュー