質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.50%
Router

Routerは、異なるネットワーク同士を相互に接続するための通信機器。インターネットでのデータを自動的に振り分け、一つのインターネット回線を複数のコンピュータで使用することが可能です。DHCPによりIPアドレスを自動的に割振りすることもできます。

Catalyst

Catalystは、Perlで書かれたオープンソースのウェブアプリケーションフレームワークです。 Ruby on Rails、Springなどのフレームワークに強い影響を受けています。

Cisco

シスコ(Cisco Systems,Inc.)は、アメリカ合衆国に本社を置く、世界最大のコンピュータネットワーク機器開発会社及び同社の製品

Q&A

解決済

1回答

2184閲覧

【EIGRP】Pingがある一定の距離で届かなくなる挙動を改善したい

Jam-boy

総合スコア7

Router

Routerは、異なるネットワーク同士を相互に接続するための通信機器。インターネットでのデータを自動的に振り分け、一つのインターネット回線を複数のコンピュータで使用することが可能です。DHCPによりIPアドレスを自動的に割振りすることもできます。

Catalyst

Catalystは、Perlで書かれたオープンソースのウェブアプリケーションフレームワークです。 Ruby on Rails、Springなどのフレームワークに強い影響を受けています。

Cisco

シスコ(Cisco Systems,Inc.)は、アメリカ合衆国に本社を置く、世界最大のコンピュータネットワーク機器開発会社及び同社の製品

0グッド

2クリップ

投稿2017/11/16 03:07

###前提
ルーティングプロトコル「EIGRP」の勉強をしており、Catalyst3560を用い、
下記の環境下での検証を行っております。その際、動作が上手くいかなかった為、今回質問させていただきました。

どの様に改善するとホスト同士の通信が可能となるのでしょうか。
手あたり次第対応いたしましたが、通信できず詰まってしまった為、ご教示いただければ幸いです。
sh ver / sh run を記載したため大変見辛くなっており恐れ入りますが、何卒宜しくお願い致します。

###実現したいこと
イメージ説明
このような環境下でEIGRPを用いて、ホスト同士の通信を成功させる。
(Ripv1・Ripv2では成功しております)

###発生している問題・エラーメッセージ

  • 上図の矢印のようにPingを飛ばした時、点線以降のインターフェースへの着弾失敗(Destination host unreachable.)

  • また[PC2]と[SW3]の間に、[SW4][SW5]…とデバイスを追加した場合、同様な距離で「Destination host unreachable.」

(簡略図。左側からPingを飛ばす。〇:着弾成功、×:着弾失敗)
[SW2]out〇→in〇[SW3]out〇→in〇[SW4]out×→in×[SW5]
[SW3]out〇→in〇[SW4]out〇→in〇[SW5]out×→in×[PC2]

###該当のソースコード

  • show running(SW1)

console

1SW1#sh run 2Building configuration... 3 4Current configuration : 1091 bytes 5! 6version 12.2 7no service pad 8service timestamps debug datetime msec 9service timestamps log datetime msec 10no service password-encryption 11! 12hostname SW1 13! 14boot-start-marker 15boot-end-marker 16! 17! 18no aaa new-model 19system mtu routing 1500 20ip subnet-zero 21ip routing 22! 23! 24! 25! 26! 27! 28! 29! 30spanning-tree mode pvst 31spanning-tree etherchannel guard misconfig 32spanning-tree extend system-id 33! 34vlan internal allocation policy ascending 35! 36! 37! 38interface FastEthernet0/1 39 no switchport 40 ip address 192.168.0.1 255.255.255.0 41 no ip split-horizon eigrp 1 42(中略) 43interface FastEthernet0/8 44 no switchport 45 ip address 192.168.1.1 255.255.255.0 46 no ip split-horizon eigrp 1 47! 48interface GigabitEthernet0/1 49! 50interface Vlan1 51 no ip address 52 shutdown 53! 54! 55router eigrp 1 56 no auto-summary 57 eigrp stub connected summary 58 network 192.168.0.1 0.0.0.0 59 network 192.168.1.1 0.0.0.0 60! 61ip classless 62ip http server 63! 64! 65control-plane 66! 67! 68line con 0 69line vty 5 15 70! 71end
  • show running(SW2)

console

1SW2#sh run 2Building configuration... 3 4Current configuration : 1081 bytes 5! 6version 12.2 7no service pad 8service timestamps debug datetime msec 9service timestamps log datetime msec 10no service password-encryption 11! 12hostname SW2 13! 14boot-start-marker 15boot-end-marker 16! 17! 18no aaa new-model 19system mtu routing 1500 20ip subnet-zero 21ip routing 22! 23! 24! 25! 26! 27! 28! 29! 30spanning-tree mode pvst 31spanning-tree etherchannel guard misconfig 32spanning-tree extend system-id 33! 34vlan internal allocation policy ascending 35! 36! 37! 38interface FastEthernet0/1 39 no switchport 40 ip address 192.168.1.2 255.255.255.0 41 no ip split-horizon eigrp 1 42(中略) 43interface FastEthernet0/8 44 no switchport 45 ip address 192.168.2.1 255.255.255.0 46 no ip split-horizon eigrp 1 47! 48interface GigabitEthernet0/1 49! 50interface Vlan1 51 no ip address 52! 53! 54router eigrp 1 55 no auto-summary 56 eigrp stub connected summary 57 network 192.168.1.2 0.0.0.0 58 network 192.168.2.1 0.0.0.0 59! 60ip classless 61ip http server 62! 63! 64control-plane 65! 66! 67line con 0 68line vty 5 15 69! 70end
  • show running(SW3)

console

1SW3#sh run 2Building configuration... 3 4Current configuration : 1126 bytes 5! 6version 12.2 7no service pad 8service timestamps debug datetime msec 9service timestamps log datetime msec 10no service password-encryption 11! 12hostname SW3 13! 14boot-start-marker 15boot-end-marker 16! 17! 18no aaa new-model 19system mtu routing 1500 20vtp mode transparent 21ip subnet-zero 22ip routing 23! 24! 25! 26! 27! 28! 29! 30! 31spanning-tree mode pvst 32spanning-tree etherchannel guard misconfig 33spanning-tree extend system-id 34! 35vlan internal allocation policy ascending 36! 37vlan 50,60 38! 39! 40! 41interface FastEthernet0/1 42 no switchport 43 ip address 192.168.2.2 255.255.255.0 44 no ip split-horizon eigrp 1 45(中略) 46interface FastEthernet0/8 47 no switchport 48 ip address 192.168.3.1 255.255.255.0 49 no ip split-horizon eigrp 1 50! 51interface GigabitEthernet0/1 52! 53interface Vlan1 54 no ip address 55 shutdown 56! 57! 58router eigrp 1 59 no auto-summary 60 eigrp stub connected summary 61 network 192.168.2.2 0.0.0.0 62 network 192.168.3.1 0.0.0.0 63! 64ip classless 65ip http server 66! 67! 68control-plane 69! 70! 71line con 0 72line vty 5 15 73! 74end

  • show ip eigrp 1 neighbor(SW1)

console

1EIGRP-IPv4:(1) neighbors for process 1 2H Address Interface Hold Uptime SRTT RTO Q Seq 3 (sec) (ms) Cnt Num 40 192.168.1.2 Fa0/8 14 17:48:25 2 200 0 40
  • show ip eigrp 1 neighbor(SW2)

console

1EIGRP-IPv4:(1) neighbors for process 1 2H Address Interface Hold Uptime SRTT RTO Q Seq 3 (sec) (ms) Cnt Num 40 192.168.2.2 Fa0/8 14 17:48:26 1 300 0 11 51 192.168.1.1 Fa0/1 14 17:49:47 3 300 0 19
  • show ip eigrp 1 neighbor(SW3)

console

1EIGRP-IPv4:(1) neighbors for process 1 2H Address Interface Hold Uptime SRTT RTO Q Seq 3 (sec) (ms) Cnt Num 40 192.168.2.1 Fa0/1 12 17:48:58 1 200 0 39

  • show ip eigrp 1 topology(SW1)

console

1P 192.168.2.0/24, 1 successors, FD is 30720 2 via 192.168.1.2 (30720/28160), FastEthernet0/8 3P 192.168.0.0/24, 1 successors, FD is 28160 4 via Connected, FastEthernet0/1 5P 192.168.1.0/24, 1 successors, FD is 28160 6 via Connected, FastEthernet0/8
  • show ip eigrp 1 topology(SW2)

console

1SW2>sh ip e 1 to 2P 192.168.3.0/24, 1 successors, FD is 30720 3 via 192.168.2.2 (30720/28160), FastEthernet0/8 4P 192.168.2.0/24, 1 successors, FD is 28160 5 via Connected, FastEthernet0/8 6P 192.168.0.0/24, 1 successors, FD is 30720 7 via 192.168.1.1 (30720/28160), FastEthernet0/1 8P 192.168.1.0/24, 1 successors, FD is 28160 9 via Connected, FastEthernet0/1
  • show ip eigrp 1 topology(SW3)

console

1P 192.168.3.0/24, 1 successors, FD is 28160 2 via Connected, FastEthernet0/8 3P 192.168.2.0/24, 1 successors, FD is 28160 4 via Connected, FastEthernet0/1 5P 192.168.1.0/24, 1 successors, FD is 30720 6 via 192.168.2.1 (30720/28160), FastEthernet0/1

  • show version(SW1)

console

1Cisco IOS Software, C3560 Software (C3560-IPBASE-M), Version 12.2(50)SE, RELEASE SOFTWARE (fc1) 2Copyright (c) 1986-2009 by Cisco Systems, Inc. 3Compiled Fri 27-Feb-09 22:41 by weiliu 4Image text-base: 0x00003000, data-base: 0x01700000 5 6ROM: Bootstrap program is C3560 boot loader 7BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(35r)SE2, RELEASE SOFTWARE (fc1) 8 9(中略) 10 11Switch Ports Model SW Version SW Image 12------ ----- ----- ---------- ---------- 13* 1 9 WS-C3560-8PC 12.2(50)SE C3560-IPBASE-M 14 15 16Configuration register is 0xF
  • show version(SW2)

console

1Cisco IOS Software, C3560 Software (C3560-IPBASE-M), Version 12.2(50)SE, RELEASE SOFTWARE (fc1) 2Copyright (c) 1986-2009 by Cisco Systems, Inc. 3Compiled Fri 27-Feb-09 22:41 by weiliu 4Image text-base: 0x00003000, data-base: 0x01700000 5 6ROM: Bootstrap program is C3560 boot loader 7BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(35r)SE2, RELEASE SOFTWARE (fc1) 8 9SW2 uptime is 18 hours, 38 minutes 10System returned to ROM by power-on 11System image file is "flash:c3560-ipbase-mz.122-50.SE/c3560-ipbase-mz.122-50.SE.bin" 12 13(中略) 14 15Switch Ports Model SW Version SW Image 16------ ----- ----- ---------- ---------- 17* 1 9 WS-C3560-8PC 12.2(50)SE C3560-IPBASE-M 18 19 20Configuration register is 0xF
  • show version(SW3)

console

1Cisco IOS Software, C3560 Software (C3560-IPBASE-M), Version 12.2(50)SE, RELEASE SOFTWARE (fc1) 2Copyright (c) 1986-2009 by Cisco Systems, Inc. 3Compiled Fri 27-Feb-09 22:41 by weiliu 4Image text-base: 0x00003000, data-base: 0x01700000 5 6ROM: Bootstrap program is C3560 boot loader 7BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(35r)SE2, RELEASE SOFTWARE (fc1) 8 9SW3 uptime is 18 hours, 41 minutes 10System returned to ROM by power-on 11System image file is "flash:c3560-ipbase-mz.122-50.SE/c3560-ipbase-mz.122-50.SE.bin" 12 13(中略) 14 15Switch Ports Model SW Version SW Image 16------ ----- ----- ---------- ---------- 17* 1 9 WS-C3560-8PC 12.2(50)SE C3560-IPBASE-M 18 19 20Configuration register is 0xF 21

###試したこと

  • スプリットホライズン無効化
  • それぞれの FastEthernet に関して

L2にした場合(swichportにし、VlanからIPアドレスを割り振る)
L3にした場合(no swichportにし、インターフェースへ直接IPアドレスを割り振る)
それぞれ検証済み

###補足情報(言語/FW/ツール等のバージョンなど)

  • 使用ツール

tera term

  • OS

Microsoft Windows 10 Pro

###備考

  • IOSのライセンスがIP Baseなので、EIGRPの機能制限によりこの様な挙動をしてしまうのでしょうか。。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

ベストアンサー

SW2の「eigrp stub connected summary」が原因でしょうねぇ。
これを消してください。

SW2はハブ側としてSW1とSW3のルートをそれぞれに配信する役割ですが、
「eigrp stub connected summary」により、自身がスタブ側としてconnectedとサマリルートしか配信しない設定になっていることが原因と思われます。
※192.168.0.0/24と192.168.3.0/24はconnectedでもなければサマリルートでもない

そもそもeigrpの動作を学習したいならstub設定は一旦全て外したほうが良いかと。ややこしくなるので。

投稿2017/11/28 08:59

編集2017/11/30 01:26
taichi_0807

総合スコア252

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.50%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問