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

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

新規登録して質問してみよう
ただいま回答率
85.48%
Network Simulator

The Network Simulator

Cisco

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

Q&A

解決済

1回答

4661閲覧

ciscoのvlan間pingでのパケット重複の解消

pussade

総合スコア13

Network Simulator

The Network Simulator

Cisco

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

0グッド

0クリップ

投稿2017/08/20 13:50

編集2017/08/20 14:37

こんにちは、GNS3を使って構築したネットワークについて質問です。
現在勉強のため、以下のようなネットワークを構築しました。
ESW1とECW2はCisco3725にNM-16ESWを入れてL3スイッチ化したものです。
ESW1とESW2はEtherChannelで二つの物理ポートを束ねたtrunkポートで繋いでいます。
trunkポートではVLAN10とVLAN20の通信を許可しています。
CentOSマシン間でのping疎通はすべて成功しています。

イメージ説明

しかし、CentOS7-1からCentOS7-3にPingを送信すると、
Duplicate Replyになってしまいます。

通信内容を確認すると、Pingリクエストが
・CentOS7-1 → ESW1 → CentOS7-3
の経路で届いているものと、
・CentOS7-1 → ESW1 → ESW2 → ESW1 → CentOS7-3
という経路で届いているものの二つがあり、
結果としてPingが二つReplyされている状況のようです。

このとき、ESW1かESW2で通信の重複を抑える方法が知りたいのですが、
調べてもいまいちやり方がわかりません。
ご存知の方おられましたらご回答お願いいたします。

=========
ご回答に対して
少し長くなりますが、、ESW1とESW2のshow run結果について添付します、

#############ESW1############### ! ! ! ! ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption no service dhcp ! hostname ESW1 ! boot-start-marker boot-end-marker ! ! no aaa new-model memory-size iomem 5 no ip icmp rate-limit unreachable ip cef ! ! ! ! no ip domain lookup ! multilink bundle-name authenticated ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! macro name add_vlan end vlan database vlan $v exit @ macro name del_vlan end vlan database no vlan $v exit @ ! vtp file nvram:vlan.dat archive log config hidekeys ! ! ! ! ip tcp synwait-time 5 ! ! ! ! interface Port-channel1 switchport trunk allowed vlan 1,10,20,1002-1005 switchport mode trunk ! interface FastEthernet0/0 description *** Unused for Layer2 EtherSwitch *** no ip address shutdown duplex auto speed auto ! interface FastEthernet0/1 description *** Unused for Layer2 EtherSwitch *** no ip address shutdown duplex auto speed auto ! interface FastEthernet1/0 switchport access vlan 10 duplex full speed 100 ! interface FastEthernet1/1 switchport access vlan 20 duplex full speed 100 ! interface FastEthernet1/2 duplex full speed 100 ! interface FastEthernet1/3 duplex full speed 100 ! interface FastEthernet1/4 duplex full speed 100 ! interface FastEthernet1/5 duplex full speed 100 ! interface FastEthernet1/6 duplex full speed 100 ! interface FastEthernet1/7 duplex full speed 100 ! interface FastEthernet1/8 duplex full speed 100 ! interface FastEthernet1/9 duplex full speed 100 ! interface FastEthernet1/10 duplex full speed 100 ! interface FastEthernet1/11 duplex full speed 100 ! interface FastEthernet1/12 duplex full speed 100 ! interface FastEthernet1/13 switchport trunk allowed vlan 1,10,20,1002-1005 switchport mode trunk channel-group 1 mode on ! interface FastEthernet1/14 switchport trunk allowed vlan 1,10,20,1002-1005 switchport mode trunk channel-group 1 mode on ! interface FastEthernet1/15 description ### administration ### switchport access vlan 2 duplex full speed 100 ! interface Vlan1 no ip address shutdown ! interface Vlan2 description ### administration ### ip address 192.168.11.51 255.255.255.0 ! interface Vlan10 description ### test vlan #1 ### ip address 192.168.100.1 255.255.255.0 ! interface Vlan20 description ### test vlan #2 ### ip address 192.168.101.1 255.255.255.0 ! ip forward-protocol nd ip route 0.0.0.0 0.0.0.0 192.168.51.1 ip route 0.0.0.0 0.0.0.0 192.168.11.1 ip route 0.0.0.0 0.0.0.0 192.168.11.2 ! ! no ip http server no ip http secure-server ! no cdp log mismatch duplex ! ! ! ! ! ! control-plane ! ! ! ! ! ! ! ! ! banner exec  *************************************************************** This is a normal Router with a Switch module inside (NM-16ESW) It has been pre-configured with hard-coded speed and duplex To create vlans use the command "vlan database" in exec mode After creating all desired vlans use "exit" to apply the config To view existing vlans use the command "show vlan-switch brief" Alias(exec) : vl - "show vlan-switch brief" command Alias(configure): va X - macro to add vlan X Alias(configure): vd X - macro to delete vlan X ***************************************************************  alias configure va macro global trace add_vlan $v alias configure vd macro global trace del_vlan $v alias exec vl show vlan-switch brief ! line con 0 exec-timeout 0 0 privilege level 15 password ***** logging synchronous line aux 0 exec-timeout 0 0 privilege level 15 logging synchronous line vty 0 4 password ****** login ! ! end
###########ESW2############## ! ! ! ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption no service dhcp ! hostname ESW2 ! boot-start-marker boot-end-marker ! ! no aaa new-model memory-size iomem 5 no ip icmp rate-limit unreachable ip cef ! ! ! ! no ip domain lookup ! multilink bundle-name authenticated ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! macro name add_vlan end vlan database vlan $v exit @ macro name del_vlan end vlan database no vlan $v exit @ ! vtp file nvram:vlan.dat archive log config hidekeys ! ! ! ! ip tcp synwait-time 5 ! ! ! ! interface Port-channel1 switchport trunk allowed vlan 1,10,20,1002-1005 switchport mode trunk ! interface FastEthernet0/0 description *** Unused for Layer2 EtherSwitch *** no ip address shutdown duplex auto speed auto ! interface FastEthernet0/1 description *** Unused for Layer2 EtherSwitch *** no ip address shutdown duplex auto speed auto ! interface FastEthernet1/0 switchport access vlan 10 duplex full speed 100 ! interface FastEthernet1/1 duplex full speed 100 ! interface FastEthernet1/2 duplex full speed 100 ! interface FastEthernet1/3 duplex full speed 100 ! interface FastEthernet1/4 duplex full speed 100 ! interface FastEthernet1/5 duplex full speed 100 ! interface FastEthernet1/6 duplex full speed 100 ! interface FastEthernet1/7 duplex full speed 100 ! interface FastEthernet1/8 duplex full speed 100 ! interface FastEthernet1/9 duplex full speed 100 ! interface FastEthernet1/10 duplex full speed 100 ! interface FastEthernet1/11 duplex full speed 100 ! interface FastEthernet1/12 duplex full speed 100 ! interface FastEthernet1/13 switchport trunk allowed vlan 1,10,20,1002-1005 switchport mode trunk channel-group 1 mode on ! interface FastEthernet1/14 switchport trunk allowed vlan 1,10,20,1002-1005 switchport mode trunk channel-group 1 mode on ! interface FastEthernet1/15 description ### administration ### switchport access vlan 2 duplex full speed 100 ! interface Vlan1 no ip address shutdown ! interface Vlan2 description ### administration ### ip address 192.168.11.52 255.255.255.0 ! interface Vlan10 description ### test vlan #1 ### ip address 192.168.100.11 255.255.255.0 ! interface Vlan20 description ### test vlan #2 ### ip address 192.168.101.11 255.255.255.0 ! ip forward-protocol nd ! ! no ip http server no ip http secure-server ! no cdp log mismatch duplex ! ! ! ! ! ! control-plane ! ! ! ! ! ! ! ! ! banner exec  *************************************************************** This is a normal Router with a Switch module inside (NM-16ESW) It has been pre-configured with hard-coded speed and duplex To create vlans use the command "vlan database" in exec mode After creating all desired vlans use "exit" to apply the config To view existing vlans use the command "show vlan-switch brief" Alias(exec) : vl - "show vlan-switch brief" command Alias(configure): va X - macro to add vlan X Alias(configure): vd X - macro to delete vlan X ***************************************************************  alias configure va macro global trace add_vlan $v alias configure vd macro global trace del_vlan $v alias exec vl show vlan-switch brief ! line con 0 exec-timeout 0 0 privilege level 15 password ****** logging synchronous line aux 0 exec-timeout 0 0 privilege level 15 logging synchronous line vty 0 4 password ******* login ! ! end

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

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

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

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

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

guest

回答1

0

ベストアンサー

まず、ESW1とESW2(とサーバ1とサーバ2)が192.168.100.*のLANに属しているというのが気になります。

とりあえずshow ip routeとかshow runでルーティングテーブルやインタフェースのIPアドレスを詳しく知りたいです。(主にESW1と2)

投稿2017/08/20 14:16

HogeAnimalLover

総合スコア4830

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

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

pussade

2017/08/20 14:38

show run結果について追記しました。 以上よろしくお願いします。
HogeAnimalLover

2017/08/20 15:39

追記ありがとうございます。 設定見ましたが、ちょっと自分もこれだけだとわからないです。まあ、この構成だとESW2についてはVLAN20に属する必要がないので、これを削除すれば可能性もあるとは思います。が、確証なし+構成変更すると対応できないといったことがあります。
over

2017/08/21 03:34

この構成においてspanning-treeの設定必要ないのでしょうか?GNS3なるものを良く理解していないので自信がないのですが、物理スイッチ構成であればspanning-tree設定は必須だと思っています。
pussade

2017/08/23 13:39

HogeAnimalLoverさん PingReplyの重複ですが、時間が経つと解消されました。Dynamips側のエミュレートが良くなかったのかもしれません。回答に時間をかけていただいた後で申し訳ないのですが、 overさん stpはESW1とESW2で(暗黙的に)ONになっているようです。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

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

ただいまの回答率
85.48%

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

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

質問する

関連した質問