###現状
①
同一セグメント同士の疎通可能。
ip routingの設定有の場合、異なるセグメント間の疎通可能。
PCからGWアドレスの192.168.1.254と192.168.2.254は疎通可能。
PCからR1のint vlan 10と20で設定した192.168.1.253と192.168.2.253へは疎通不可('ω')
②
同一セグメント同士の疎通可能。
ip routingの設定有の場合、異なるセグメント間の疎通可能。
PCからGWアドレス(R1のint vlan 10と20)の192.168.1.254と192.168.2.254疎通可能。
PCからR2のint vlan 10と20の192.168.1.253と192.168.2.253は疎通可能。
###わたしの認識
②の状態を考えると、
機器にインターフェースvlanでIPアドレスを割り振り、そのIPアドレスへpingを投げれば疎通できると思っているのですが、
①のケースではR1のint vlanへ疎通できなかったことを考えると、私の認識に間違いがあるのかなと不安になり、確認したく質問させていただきました。
また、GWアドレスとR2のインターフェースvlanで割り振ったアドレスを重複させていますが、何か問題でもありますでしょうか。
今回、GWアドレスで疎通可能だったので、R2までパケットが届いたと解釈しました。
わたしの認識に間違いがありましたら、ご指摘いただけると助かります。
###ステータス
①
R1#show run Building configuration... Current configuration : 1957 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R1 ! boot-start-marker boot-end-marker ! ! no aaa new-model memory-size iomem 5 no ip routing no ip icmp rate-limit unreachable no ip cef ! ! ! ! no ip domain lookup ip auth-proxy max-nodata-conns 3 ip admission max-nodata-conns 3 ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ip tcp synwait-time 5 ! ! ! ! ! interface FastEthernet0/0 no ip address no ip route-cache shutdown duplex auto speed auto ! interface Serial0/0 no ip address no ip route-cache shutdown clock rate 2000000 ! interface FastEthernet0/1 no ip address no ip route-cache shutdown duplex auto speed auto ! interface Serial0/1 no ip address no ip route-cache shutdown clock rate 2000000 ! interface Serial0/2 no ip address no ip route-cache shutdown clock rate 2000000 ! interface FastEthernet1/0 ! interface FastEthernet1/1 switchport access vlan 10 ! interface FastEthernet1/2 switchport access vlan 10 ! interface FastEthernet1/3 switchport access vlan 20 ! interface FastEthernet1/4 switchport access vlan 20 ! interface FastEthernet1/5 ! interface FastEthernet1/6 ! interface FastEthernet1/7 ! interface FastEthernet1/8 ! interface FastEthernet1/9 ! interface FastEthernet1/10 ! interface FastEthernet1/11 ! interface FastEthernet1/12 ! interface FastEthernet1/13 ! interface FastEthernet1/14 ! interface FastEthernet1/15 switchport trunk allowed vlan 1,2,10,20,1002-1005 switchport mode trunk ! interface Vlan1 no ip address no ip route-cache ! interface Vlan10 ip address 192.168.2.253 255.255.255.0 no ip route-cache ! ip forward-protocol nd ! ! no ip http server no ip http secure-server ! no cdp log mismatch duplex ! ! ! control-plane ! ! ! ! ! ! ! ! ! ! line con 0 exec-timeout 0 0 privilege level 15 logging synchronous line aux 0 exec-timeout 0 0 privilege level 15 logging synchronous line vty 0 4 login ! ! end
R2#show run Building configuration... Current configuration : 1927 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R2 ! boot-start-marker boot-end-marker ! ! no aaa new-model memory-size iomem 5 no ip routing no ip icmp rate-limit unreachable no ip cef ! ! ! ! no ip domain lookup ip auth-proxy max-nodata-conns 3 ip admission max-nodata-conns 3 ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ip tcp synwait-time 5 ! ! ! ! ! interface FastEthernet0/0 no ip address no ip route-cache shutdown duplex auto speed auto ! interface Serial0/0 no ip address no ip route-cache shutdown clock rate 2000000 ! interface FastEthernet0/1 no ip address no ip route-cache shutdown duplex auto speed auto ! interface Serial0/1 no ip address no ip route-cache shutdown clock rate 2000000 ! interface Serial0/2 no ip address no ip route-cache shutdown clock rate 2000000 ! interface FastEthernet1/0 ! interface FastEthernet1/1 ! interface FastEthernet1/2 ! interface FastEthernet1/3 ! interface FastEthernet1/4 ! interface FastEthernet1/5 ! interface FastEthernet1/6 ! interface FastEthernet1/7 ! interface FastEthernet1/8 ! interface FastEthernet1/9 ! interface FastEthernet1/10 ! interface FastEthernet1/11 ! interface FastEthernet1/12 ! interface FastEthernet1/13 ! interface FastEthernet1/14 ! interface FastEthernet1/15 switchport trunk allowed vlan 1,2,10,20,1002-1005 switchport mode trunk ! interface Vlan1 no ip address no ip route-cache ! interface Vlan10 ip address 192.168.1.254 255.255.255.0 no ip route-cache ! interface Vlan20 ip address 192.168.2.254 255.255.255.0 no ip route-cache ! ip forward-protocol nd ! ! no ip http server no ip http secure-server ! no cdp log mismatch duplex ! ! ! control-plane ! ! ! ! ! ! ! ! ! ! line con 0 exec-timeout 0 0 privilege level 15 logging synchronous line aux 0 exec-timeout 0 0 privilege level 15 logging synchronous line vty 0 4 login ! ! end
どうか、こんなわたしですがアドバイスを頂けないでしょうか(>_<)
以上、よろしくお願いいたします!
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。