コンフィグレーションガイド

[目次][用語][索引][前へ][次へ]


12.1.3 スタティック(到達監視)

<この項の構成>
(1) 設定内容の概要
(2) 構成図と設定条件
(3) コンフィグレーション例

(1) 設定内容の概要

センタと複数の拠点を持つネットワークにおいて,センタ−拠点間の通信経路をスタティックにより制御します。センタには2台のルータを設置し,1台を通常経路のルータ,もう1台を代替経路のルータとして使用します。

(2) 構成図と設定条件

[構成図]

図12-3 構成図

[図データ]

[設定条件]

<ネットワークの環境>
  1. サーバ−PC間の通信経路は本装置Bより本装置Aを優先します。

<本装置A/Bの環境>
  1. センタルータ(本装置A/B)−サーバ間の経路制御はRIPngを使用します。
  2. センタルータ(本装置A/B)−拠点ルータ(本装置C/D)間の経路制御はスタティックを使用します。

<本装置C/Dの環境>
  1. 拠点ルータ(本装置C/D)−センタルータ(本装置A/B)間の経路制御はスタティックを使用します。
  2. 本装置C/D−PC間には,RAを流します。

(3) コンフィグレーション例

[コマンドによる設定]

<本装置A>
 1    (config)# ripng yes
      [ripng]
 2    (config)# defaultmetric 2
      [ripng]
 3    (config)# interface all
      [ripng interface all]
 4    (config)# noripin
      [ripng interface all]
 5    (config)# noripout
      [ripng interface all]
 6    (config)# exit
      [ripng]
 7    (config)# interface Department1
      [ripng interface Department1]
 8    (config)# ripin
      [ripng interface Department1]
 9    (config)# ripout
      [ripng interface Department1]
10    (config)# exit
      [ripng]
11    (config)# exit
12    (config)# static
      [static]
13    (config)# 3ffe:501:811:ff40::/64 gateway fe80::3%Tokyo1 poll
      [static]
14    (config)# 3ffe:501:811:ff50::/64 gateway fe80::4%Tokyo1 poll
      [static]
15    (config)# exit
16    (config)# export proto ripng
      [export proto ripng]
17    (config)# proto static
      [export proto ripng proto static]
18    (config)# exit
      [export proto ripng]
19    (config)# exit

表12-7 本装置Aのコンフィグレーション解説

解説番号 解説
1 RIPngプロトコルを動作させることを定義します。
2 RIPngで広告するスタティック経路のメトリック値を2とすることを定義します。
3〜11 インタフェースDepartment1でだけRIPngパケットの送受信を行うことを定義します。
12〜15 端末を収容するネットワークへのスタティック経路を定義します。
16〜19 端末を収容するネットワークへのスタティック経路をRIPngによりサーバに広告することを定義します。

<本装置B>
 1    (config)# ripng yes
      [ripng]
 2    (config)# defaultmetric 3
      [ripng]
 3    (config)# interface all
      [ripng interface all]
 4    (config)# noripin
      [ripng interface all]
 5    (config)# noripout
      [ripng interface all]
 6    (config)# exit
      [ripng]
 7    (config)# interface Department2
      [ripng interface Department2]
 8    (config)# ripin
      [ripng interface Department2]
 9    (config)# ripout
      [ripng interface Department2]
10    (config)# exit
      [ripng]
11    (config)# exit
12    (config)# static
      [static]
13    (config)# 3ffe:501:811:ff40::/64 gateway fe80::3%Osaka1 poll
      [static]
14    (config)# 3ffe:501:811:ff50::/64 gateway fe80::4%Osaka1 poll
      [static]
15    (config)# exit
16    (config)# export proto ripng
      [export proto ripng]
17    (config)# proto static
      [export proto ripng proto static]
18    (config)# exit
      [export proto ripng]
19    (config)# exit

表12-8 本装置Bのコンフィグレーション解説

解説番号 解説
1 RIPngプロトコルを動作させることを定義します。
2 RIPngで広告するスタティック経路のメトリック値を3とすることを定義します。これにより,サーバでは本装置Aより広告されたメトリックの小さい経路を優先します。
3〜11 インタフェースDepartment2でだけRIPngパケットの送受信を行うことを定義します。
12〜15 端末を収容するネットワークへのスタティック経路を定義します。
16〜19 端末を収容するネットワークへのスタティック経路をRIPngによりサーバに広告することを定義します。

<本装置C>
 1    (config)# static
      [static]
 2    (config)# 3ffe:501:811:ff10::/64 remote-gateway
                3ffe:501:811:ff10::1 3ffe:501:811:ff10::2 poll
      [static]
 3    (config)# 3ffe:501:811:ff10::1/128 gateway fe80::1%Nagoya1
      [static]
 4    (config)# 3ffe:501:811:ff10::2/128 gateway fe80::2%Nagoya2
      [static]
 5    (config)# exit
 6    (config)# ra yes
      [ra]
 7    (config)# interface Department3
      [ra interface Department3]
 8    (config)# exit
      [ra]
 9    (config)# exit

<本装置D>
 1    (config)# static
      [static]
 2    (config)# 3ffe:501:811:ff10::/64 remote-gateway
                3ffe:501:811:ff10::1 3ffe:501:811:ff10::2 poll
      [static]
 3    (config)# 3ffe:501:811:ff10::1/128 gateway fe80::1%Sapporo1
      [static]
 4    (config)# 3ffe:501:811:ff10::2/128 gateway fe80::2%Sapporo2
      [static]
 5    (config)# exit
 6    (config)# ra yes
      [ra]
 7    (config)# interface Department4
      [ra interface Department4]
 8    (config)# exit
      [ra]
 9    (config)# exit

表12-9 本装置C/Dのコンフィグレーション解説

解説番号 解説
1,2 サーバへのスタティック経路を定義します。本装置Aを本装置Bより優先するために,本装置Aヘのリモート・ゲートウェイ・アドレスを先に定義します。また,pollパラメータを定義し,到達確認を動的に行います。
3〜5 リモート・ゲートウェイ・アドレスへのスタティック経路を定義します。
6〜9 PCが収容されているネットワークでRAパケットを送信します。

[コンフィグレーションの表示]

<本装置A>
ripng yes
  defaultmetric 2
  interface all
    noripin
    noripout
  interface Department1
    ripin
    ripout
!
static
  3ffe:501:811:ff40::/64 gateway fe80::3%Tokyo1 poll
  3ffe:501:811:ff50::/64 gateway fe80::4%Tokyo1 poll
!
export proto ripng
  proto static

<本装置B>
ripng yes
  defaultmetric 3
  interface all
    noripin
    noripout
  interface Department2
    ripin
    ripout
!
static
  3ffe:501:811:ff40::/64 gateway fe80::3%Osaka1 poll
  3ffe:501:811:ff50::/64 gateway fe80::4%Osaka1 poll
!
export proto ripng
  proto static

<本装置C>
ra yes
  interface Department3
!
static
  3ffe:501:811:ff10::/64 remote-gateway 3ffe:501:811:ff10::1 3ffe:501:811:ff10::2 poll
  3ffe:501:811:ff10::1/128 gateway fe80::1%Nagoya1
  3ffe:501:811:ff10::2/128 gateway fe80::2%Nagoya2

<本装置D>
ra yes
  interface Department4
!
static
  3ffe:501:811:ff10::/64 remote-gateway 3ffe:501:811:ff10::1 3ffe:501:811:ff10::2 poll
  3ffe:501:811:ff10::1/128 gateway fe80::1%Sapporo1
  3ffe:501:811:ff10::2/128 gateway fe80::2%Sapporo2

[目次][前へ][次へ]


[他社商品名称に関する表示]

Copyright (c)2005, 2011, ALAXALA Networks Corporation. All rights reserved.