差分

ナビゲーションに移動 検索に移動
編集の要約なし
173行目: 173行目:     
= 要件 =
 
= 要件 =
BGP-PE Lo0 と CPE Gi4 が IPv4 と IPv6 で通信できること。
+
各機器の Lo0 同士で疎通できること。
 +
 
 +
最終的に BGP-PE Lo0 と CPE Gi4 が IPv4 と IPv6 で通信できること。
    
どのコマンドで正常性が確認できるか洗い出すこと。
 
どのコマンドで正常性が確認できるか洗い出すこと。
445行目: 447行目:  
  ipv6 unicast-routing
 
  ipv6 unicast-routing
 
  <nowiki>!
 
  <nowiki>!
interface Loopback0
+
  interface Loopback0
  description Router-ID
+
  description Router-ID
  ipv6 address 2001:DB8:254::254/128
+
  ipv6 address 2001:DB8:254::254/128
  ipv6 ospf 1 area 0.0.0.0
+
  ipv6 ospf 1 area 0.0.0.0
!
+
  !
interface GigabitEthernet1
+
  interface GigabitEthernet1
  description Core_Gi4
+
  description Core_Gi4
  ipv6 address 2001:DB8:192::1/64
+
  ipv6 address 2001:DB8:192::1/64
  ipv6 enable
+
  ipv6 enable
  ipv6 nd ra suppress all
+
  ipv6 nd ra suppress all
  ipv6 ospf 1 area 0.0.0.0
+
  ipv6 ospf 1 area 0.0.0.0
  ipv6 ospf network point-to-point
+
  ipv6 ospf network point-to-point
!
+
  !
ipv6 router ospf 1
+
  ipv6 router ospf 1
  router-id 198.51.100.254
+
  router-id 198.51.100.254
  default-information originate
+
  default-information originate
  passive-interface default
+
  passive-interface default
  no passive-interface GigabitEthernet1</nowiki>
+
  no passive-interface GigabitEthernet1</nowiki>  
 +
 +
.
    
|
 
|
494行目: 498行目:  
  ipv6 unicast-routing
 
  ipv6 unicast-routing
 
  <nowiki>!
 
  <nowiki>!
  interface Loopback0
+
  interface Loopback0
  description Router-ID
+
    description Router-ID
  ipv6 address 2001:DB8:254::253/128
+
    ipv6 address 2001:DB8:254::253/128
  ipv6 ospf 1 area 0.0.0.0
+
    ipv6 ospf 1 area 0.0.0.0
  !
+
  !
  interface GigabitEthernet4
+
  interface GigabitEthernet4
  description BGP-CE_Gi1
+
    description BGP-CE_Gi1
  ipv6 address 2001:DB8:192::2/64
+
    ipv6 address 2001:DB8:192::2/64
  ipv6 enable
+
    ipv6 enable
  ipv6 nd ra suppress all
+
    ipv6 nd ra suppress all
  ipv6 ospf 1 area 0.0.0.0
+
    ipv6 ospf 1 area 0.0.0.0
  ipv6 ospf network point-to-point
+
    ipv6 ospf network point-to-point
  !
+
  !
  ipv6 router ospf 1
+
  ipv6 router ospf 1
  router-id 198.51.100.253
+
    router-id 198.51.100.253
  passive-interface default
+
    passive-interface default
  no passive-interface GigabitEthernet4 </nowiki>
+
    no passive-interface GigabitEthernet4 </nowiki>
 +
 
   
 
   
 +
.
    
|
 
|
 
|-
 
|-
 
|ポイント
 
|ポイント
| colspan="3" |エリア指定の方法が異なります。
+
| colspan="3" |IPv4 と IPv6 では、エリア指定の方法が異なります。
    
* IPv4 の OSPFv2 では、OSPF のエリアに参加させるインターフェースを router ospf 配下の network で指定します
 
* IPv4 の OSPFv2 では、OSPF のエリアに参加させるインターフェースを router ospf 配下の network で指定します
   −
* IPv6 の OSPFv3 ではインターフェースで指定します
+
* IPv6 の OSPFv3 では、インターフェースで直接指定します
    
OSPFv3 で address-family ipv4 と ipv6 を設定する方法もあります。
 
OSPFv3 で address-family ipv4 と ipv6 を設定する方法もあります。
562行目: 568行目:  
IPv4 では OSPF に IPv4 アドレスは必須ですが、IPv6 では OSPFv3 にグローバル ユニキャスト アドレスは必須ではありません。
 
IPv4 では OSPF に IPv4 アドレスは必須ですが、IPv6 では OSPFv3 にグローバル ユニキャスト アドレスは必須ではありません。
   −
traceroute の経路確認のため、
+
ただ、traceroute の経路確認のため、グローバル ユニキャスト アドレスは設定するのが推奨です。
      593行目: 599行目:     
IPv6 : DHCPv6 で IP アドレス DNS サーバ情報を取得します。デフォルト ゲートウェイは ICMPv6 ND RA で取得します。
 
IPv6 : DHCPv6 で IP アドレス DNS サーバ情報を取得します。デフォルト ゲートウェイは ICMPv6 ND RA で取得します。
 +
 +
==== 疎通確認 ====
 +
CPE から Core Lo0 に疎通できること
 +
 +
CPE から BGP-CE Lo0 に疎通できること
 +
 +
CPE から BGP-PE Lo0 に疎通できること
    
=== IPv6 コンフィギュレーション比較 ===
 
=== IPv6 コンフィギュレーション比較 ===
606行目: 619行目:  
  ip routing
 
  ip routing
 
  <nowiki>!
 
  <nowiki>!
ip dhcp excluded-address 198.51.100.1 198.51.100.10
+
  ip dhcp excluded-address 198.51.100.1 198.51.100.10
!
+
  !
ip dhcp pool IPv4
+
  ip dhcp pool IPv4
  network 198.51.100.0 255.255.255.128
+
  network 198.51.100.0 255.255.255.128
  default-router 198.51.100.1
+
  default-router 198.51.100.1
  dns-server 8.8.8.8
+
  dns-server 8.8.8.8
!
+
  !
interface GigabitEthernet1
+
  interface GigabitEthernet1
  description CPE_Gi4
+
  description CPE_Gi4
 +
 
 +
  ip address 198.51.100.1 255.255.255.128</nowiki>
 +
 +
 
   
 
   
  ip address 198.51.100.1 255.255.255.128</nowiki>
+
.
    
|
 
|
644行目: 661行目:  
  ip routing
 
  ip routing
 
  <nowiki>!
 
  <nowiki>!
interface GigabitEthernet4
+
  interface GigabitEthernet4
  description Core_Gi1
+
  description Core_Gi1
  ip address dhcp</nowiki>
+
  ip address dhcp</nowiki>  
 +
 +
 +
 +
.
    
|
 
|

案内メニュー