GNS3
スタティックルートの構成でip slaを使った冗長構成
###実現したいこと
R1のfa1/3とR4のfa1/2をshutdownしても主系から副系に切り替わるように設定したい。
主系:R1→R2→R4
副系:R1→R3→R4
###現時点での切り替わり結果
【R2】
筐体断→〇
fa1/2断→〇
fa1/4断→〇
【R1】
fa1/2断→×
【R4】
fa1/2断→×
###ステータス
※ip slaの設定について、GNS3では一部コマンドが違いますのでご了承ください。
R1#show run Building configuration... Current configuration : 2104 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 icmp rate-limit unreachable ip cef ! ! ! ! no ip domain lookup ip auth-proxy max-nodata-conns 3 ip admission max-nodata-conns 3 ip sla monitor 1 type echo protocol ipIcmpEcho 192.168.2.2 source-interface FastEthernet1/2 ip sla monitor schedule 1 life forever start-time now ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ip tcp synwait-time 5 ! track 1 rtr 1 reachability ! ! ! ! ! interface FastEthernet0/0 no ip address shutdown duplex auto speed auto ! interface Serial0/0 no ip address shutdown clock rate 2000000 ! interface FastEthernet0/1 no ip address shutdown duplex auto speed auto ! interface Serial0/1 no ip address shutdown clock rate 2000000 ! interface Serial0/2 no ip address shutdown clock rate 2000000 ! interface FastEthernet1/0 ! interface FastEthernet1/1 no switchport ip address 192.168.10.1 255.255.255.0 ! interface FastEthernet1/2 no switchport ip address 192.168.1.1 255.255.255.0 ! interface FastEthernet1/3 no switchport ip address 192.168.3.1 255.255.255.0 ! 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 ! interface Vlan1 no ip address ! ip forward-protocol nd ip route 192.168.20.0 255.255.255.0 192.168.1.2 track 1 ip route 192.168.2.0 255.255.255.0 192.168.1.2 ip route 192.168.4.0 255.255.255.0 192.168.3.2 2 ip route 192.168.20.0 255.255.255.0 192.168.3.2 2 ! ! 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 : 1768 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 icmp rate-limit unreachable 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 shutdown duplex auto speed auto ! interface Serial0/0 no ip address shutdown clock rate 2000000 ! interface FastEthernet0/1 no ip address shutdown duplex auto speed auto ! interface Serial0/1 no ip address shutdown clock rate 2000000 ! interface Serial0/2 no ip address shutdown clock rate 2000000 ! interface FastEthernet1/0 ! interface FastEthernet1/1 ! interface FastEthernet1/2 no switchport ip address 192.168.1.2 255.255.255.0 ! interface FastEthernet1/3 ! interface FastEthernet1/4 no switchport ip address 192.168.2.1 255.255.255.0 ! 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 ! interface Vlan1 no ip address ! ip forward-protocol nd ip route 192.168.10.0 255.255.255.0 192.168.1.1 ip route 192.168.20.0 255.255.255.0 192.168.2.2 ! ! 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
R4#show run Building configuration... Current configuration : 2114 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R4 ! 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 ip auth-proxy max-nodata-conns 3 ip admission max-nodata-conns 3 ip sla monitor 1 type echo protocol ipIcmpEcho 192.168.1.1 source-interface FastEthernet1/2 ip sla monitor schedule 1 life forever start-time now ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ip tcp synwait-time 5 ! track 1 rtr 1 reachability ! ! ! ! ! interface FastEthernet0/0 no ip address shutdown duplex auto speed auto ! interface Serial0/0 no ip address shutdown clock rate 2000000 ! interface FastEthernet0/1 no ip address shutdown duplex auto speed auto ! interface Serial0/1 no ip address shutdown clock rate 2000000 ! interface Serial0/2 no ip address shutdown clock rate 2000000 ! interface FastEthernet1/0 ! interface FastEthernet1/1 no switchport ip address 192.168.20.1 255.255.255.0 ! interface FastEthernet1/2 no switchport ip address 192.168.2.2 255.255.255.0 ! interface FastEthernet1/3 no switchport ip address 192.168.4.2 255.255.255.0 ! 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 ! interface Vlan1 no ip address ! ip forward-protocol nd ip route 192.168.10.0 255.255.255.0 192.168.2.1 track 1 ip route 192.168.1.0 255.255.255.0 192.168.2.1 ip route 192.168.3.0 255.255.255.0 192.168.4.1 2 ip route 192.168.10.0 255.255.255.0 192.168.4.1 2 ! ! 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
###疑問点
ip slaとtrackの番号の使い分けや、どの機器に何のコマンドを入れればいいのか良く分かりません。
以上、ip slaについてご存知の方、アドバイスいただけると助かります。
よろしくお願いいたします(>_<)
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/02/22 11:32 編集
2018/02/23 04:06
2018/02/23 12:53
2018/02/23 13:01
2018/02/25 06:48