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

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


9.1.2 スタティック(マルチパス)

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

(1) 設定内容の概要

センタと複数の拠点を持つネットワークにおいて,センタ拠点間の通信経路をスタティックにより制御します。センタには2台のルータを設置し,マルチパスによりトラフィックを分散します。

(2) 構成図と設定条件

[構成図]

図9-2 構成図

[図データ]

[設定条件]

<ネットワークの環境>
  1. サーバ−PC間の通信経路はマルチパスによりトラフィックを分散します。

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

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

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

[コマンドによる設定]

<本装置A>
 1    (config)# rip yes
      [rip]
 2    (config)# broadcast
      [rip]
 3    (config)# interface all
      [rip interface all]
 4    (config)# noripin
      [rip interface all]
 5    (config)# noripout
      [rip interface all]
 6    (config)# exit
      [rip]
 7    (config)# interface 10.1.1.1
      [rip interface 10.1.1.1]
 8    (config)# ripin
      [rip interface 10.1.1.1]
 9    (config)# ripout
      [rip interface 10.1.1.1]
10    (config)# exit
      [rip]
11    (config)# exit
12    (config)# static
      [static]
13    (config)# 10.4.1.0/24 gateway 10.2.1.2
      [static]
14    (config)# 10.5.1.0/24 gateway 10.2.2.2
      [static]
15    (config)# exit
16    (config)# export proto rip
      [export proto rip]
17    (config)# proto static metric 2
      [export proto rip proto static metric 2]
18    (config)# exit
      [export proto rip]
19    (config)# exit

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

解説番号 解説
1 RIPプロトコルを動作させることを定義します。
ripモードに移行します。
2 経路変化を早期に通知するためにアップ状態のインタフェースが一つの場合でもRIPパケットを通知するようbroadcastサブコマンドを定義します。
3 全インタフェースに動作情報を設定することを定義します。
rip interfaceモードに移行します。
4,5 全インタフェースにRIPパケットの送受信をしないことを定義します。
6 rip interfaceモードからripモードに戻ります。
7 インタフェース10.1.1.1に動作情報を設定することを定義します。
rip interfaceモードに移行します。
8,9 インタフェース10.1.1.1にRIPパケットの送受信をすることを定義します。
10 rip interfaceモードからripモードに戻ります。
11 ripモードからグローバルコンフィグモードに戻ります。
12 スタティック経路を使用することを定義します。
staticモードに移行します。
13,14 端末を収容するネットワークへのスタティック経路を定義します。
15 staticモードからグローバルコンフィグモードに戻ります。
16,17 端末を収容するネットワークへのスタティック経路をメトリック2でRIPによりサーバに広告することを定義します。
export proto ripモードに移行します。
export proto rip proto staticモードに移行します。
18 export proto rip proto staticモードからexport proto ripモードに戻ります。
19 export proto ripモードからグローバルコンフィグモードに戻ります。

<本装置B>
 1    (config)# rip yes
      [rip]
 2    (config)# broadcast
      [rip]
 3    (config)# interface all
      [rip interface all]
 4    (config)# noripin
      [rip interface all]
 5    (config)# noripout
      [rip interface all]
 6    (config)# exit
      [rip]
 7    (config)# interface 10.1.1.2
      [rip interface 10.1.1.2]
 8    (config)# ripin
      [rip interface 10.1.1.2]
 9    (config)# ripout
      [rip interface 10.1.1.2]
10    (config)# exit
      [rip]
11    (config)# exit
12    (config)# static
      [static]
13    (config)# 10.4.1.0/24 gateway 10.2.4.2
      [static]
14    (config)# 10.5.1.0/24 gateway 10.2.3.2
      [static]
15    (config)# exit
16    (config)# export proto rip
      [export proto rip]
17    (config)# proto static metric 2
      [export proto rip proto static metric 2]
18    (config)# exit
      [export proto rip]
19    (config)# exit

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

解説番号 解説
1〜6 <本装置A>の解説番号1〜6に同じ
7 インタフェース10.1.1.2に動作情報を設定することを定義します。
rip interfaceモードに移行します。
8,9 インタフェース10.1.1.2にRIPパケットの送受信をすることを定義します。
10〜19 <本装置A>の解説番号10〜19に同じ

<本装置C>
 1    (config)# options max-paths 2
 2    (config)# static
      [static]
 3    (config)# multipath
      [static]
 4    (config)# 10.1.1.0/24 gateway 10.2.1.1 10.2.4.1
      [static]
 5    (config)# exit

<本装置D>
 1    (config)# options max-paths 2
 2    (config)# static
      [static]
 3    (config)# multipath
      [static]
 4    (config)# 10.1.1.0/24 gateway 10.2.2.1 10.2.3.1
      [static]
 5    (config)# exit

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

解説番号 解説
1 生成するマルチパス経路の最大マルチパス数を定義します。
2 スタティック経路を使用することを定義します。
staticモードに移行します。
3 生成するスタティック経路をマルチパス化することを定義します。
4 サーバへのスタティック経路を定義します。
5 staticモードからグローバルコンフィグモードに戻ります。

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

<本装置A>
rip yes
  broadcast
  interface all
    noripin
    noripout
  interface 10.1.1.1
    ripin
    ripout
!
static
  10.4.1.0/24 gateway 10.2.1.2
  10.5.1.0/24 gateway 10.2.2.2
!
export proto rip
  proto static metric 2

<本装置B>
rip yes
  broadcast
  interface all
    noripin
    noripout
  interface 10.1.1.2
    ripin
    ripout
!
static
  10.4.1.0/24 gateway 10.2.4.2
  10.5.1.0/24 gateway 10.2.3.2
!
export proto rip
  proto static metric 2

<本装置C>
options max-paths 2
!
static
  multipath
  10.1.1.0/24 gateway 10.2.1.1 10.2.4.1

<本装置D>
options max-paths 2
!
static
  multipath
  10.1.1.0/24 gateway 10.2.2.1 10.2.3.1

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


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

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