7. 【Cisco】#8 ルータの設定2 RT-1
FORSE
手順1インターフェースにIPアドレスを設定し仮想IPアドレスを設定します
手順2 ルーティングの設定
*結線します*
手順3 確認しますRT-1#configure terminal
RT-1(config)#track 1 interface gigabitEthernet 8 line-protocol
RT-1(config-track)#track 2 interface fastEthernet 0 line-protocol
RT-1(config-track)#exit
RT-1(config)#interface gigabitEthernet 8
RT-1(config-if)#ip address 192.168.10.11 255.255.255.0
RT-1(config-if)#no shutdown
RT-1(config-if)#vrrp 11 ip 192.168.10.1
RT-1(config-if)#vrrp 11 priority 105
RT-1(config-if)#vrrp 11 track 1 decrement 20
RT-1(config-if)#vrrp 11 track 2 decrement 20
RT-1(config-if)#exit
RT-1(config)#interface fastEthernet 0
RT-1(config-if)#ip address 172.16.10.11 255.255.255.240
RT-1(config-if)#no shutdown
RT-1(config-if)#vrrp 12 ip 172.16.10.1
RT-1(config-if)#vrrp 12 priority 105
RT-1(config-if)#vrrp 12 track 1 decrement 20
RT-1(config-if)#vrrp 12 track 2 decrement 20
RT-1(config-if)#end
RT-1#configure terminal
RT-1(config)#ip route 192.168.20.0 255.255.255.0 172.16.10.9
RT-1(config)#ip route 172.16.20.0 255.255.255.240 172.16.10.9
RT-1(config)#ip route 192.168.30.0 255.255.255.0 172.16.10.9
RT-1(config)#ip route 172.16.30.0 255.255.255.240 172.16.10.9
RT-1(config)#ip route 192.168.99.0 255.255.255.0 172.16.10.9
RT-1(config)#ip route 172.16.99.0 255.255.255.240 172.16.10.9
RT-1(config)#end
RT-1#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static
route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 5 subnets, 3 masks
C 172.16.10.0/28 is directly connected, FastEthernet0
L 172.16.10.11/32 is directly connected, FastEthernet0
S 172.16.20.0/28 [1/0] via 172.16.10.9
S 172.16.30.0/24 [1/0] via 172.16.10.9
S 172.16.99.0/24 [1/0] via 172.16.10.9
192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.10.0/24 is directly connected, GigabitEthernet8
L 192.168.10.11/32 is directly connected, GigabitEthernet8
S 192.168.20.0/24 [1/0] via 172.16.10.9
S 192.168.30.0/24 [1/0] via 172.16.10.9
S 192.168.99.0/24 [1/0] via 172.16.10.9
7
8. 【Cisco】#8 ルータの設定2 RT-1
FORSE
手順4
インターフェースとIPアドレスが正しいかを確認
Status、Protocolが上がっているか確認(物理確認)
手順5
グループ、ステータス、virtual IPになっているかの確認
RT-1#show ip interface brief
Interface IP-Address OK? Method Status Prot
ocol
Async3 unassigned YES unset down down
BRI0 unassigned YES unset administratively down down
BRI0:1 unassigned YES unset administratively down down
BRI0:2 unassigned YES unset administratively down down
FastEthernet0 172.16.10.11 YES manual up up
GigabitEthernet0 unassigned YES unset down down
GigabitEthernet1 unassigned YES unset down down
GigabitEthernet2 unassigned YES unset down down
GigabitEthernet3 unassigned YES unset down down
GigabitEthernet4 unassigned YES unset down down
GigabitEthernet5 unassigned YES unset down down
GigabitEthernet6 unassigned YES unset down down
GigabitEthernet7 unassigned YES unset down down
GigabitEthernet8 192.168.10.11 YES manual up up
Vlan1 unassigned YES unset down down
RT-1#
8
RT-1#show vrrp
GigabitEthernet8 - Group 11
State is Master
Virtual IP address is 192.168.10.1
Virtual MAC address is 0000.5e00.010b
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 105
Track object 1 state Up decrement 20
Track object 2 state Up decrement 20
Master Router is 192.168.10.11 (local), priority is 105
Master Advertisement interval is 1.000 sec
Master Down interval is 3.589 sec
FastEthernet0 - Group 12
State is Master
Virtual IP address is 172.16.10.1
Virtual MAC address is 0000.5e00.010c
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 105
Track object 1 state Up decrement 20
Track object 2 state Up decrement 20
Master Router is 172.16.10.11 (local), priority is 105
Master Advertisement interval is 1.000 sec
Master Down interval is 3.589 sec
9. 【Cisco】#8 ルータの設定2 RT-1
FORSE
手順6
マスターになっているか確認
手順7
トラックが2つ設定されている事を確認
【Cisco】VRRP冗⾧化試験項目へ
RT-1#show vrrp brief
Interface Grp Pri Time Own Pre State Master addr Group addr
Gi8 11 105 3589 Y Master 192.168.10.11 192.168.10.1
Fa0 12 105 3589 Y Master 172.16.10.11 172.16.10.1
9
RT-1#show track
Track 1
Interface GigabitEthernet8 line-protocol
Line protocol is Up
2 changes, last change 00:22:19
Tracked by:
VRRP GigabitEthernet8 11
VRRP FastEthernet0 12
Track 2
Interface FastEthernet0 line-protocol
Line protocol is Up
2 changes, last change 00:16:50
Tracked by:
VRRP GigabitEthernet8 11
VRRP FastEthernet0 12
RT-1#
10. 【Cisco】#8 ルータの設定2 RT-2
FORSE
手順1インターフェースにIPアドレスを設定し仮想IPアドレスを設定します
手順2 ルーティングの設定
*結線します*
手順3 確認しますRT-2#configure terminal
RT-2(config)#track 1 interface gigabitEthernet 8 line-protocol
RT-2(config-track)#track 2 interface fastEthernet 0 line-protocol
RT-2(config-track)#exit
RT-2(config)#interface gigabitEthernet 8
RT-2(config-if)#ip address 192.168.10.12 255.255.255.0
RT-2(config-if)#no shutdown
RT-2(config-if)#vrrp 11 ip 192.168.10.1
RT-2(config-if)#vrrp 11 priority 100
RT-2(config-if)#vrrp 11 track 1 decrement 20
RT-2(config-if)#vrrp 11 track 2 decrement 20
RT-2(config-if)#exit
RT-2(config)#interface fastEthernet 0
RT-2(config-if)#ip address 172.16.10.12 255.255.255.240
RT-2(config-if)#no shutdown
RT-2(config-if)#vrrp 12 ip 172.16.10.1
RT-2(config-if)#vrrp 12 priority 100
RT-2(config-if)#vrrp 12 track 1 decrement 20
RT-2(config-if)#vrrp 12 track 2 decrement 20
RT-2(config-if)#end
RT-2#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-
2
ia - IS-IS inter area, * - candidate default, U - per-user static
route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 5 subnets, 3 masks
C 172.16.10.0/28 is directly connected, FastEthernet0
L 172.16.10.12/32 is directly connected, FastEthernet0
S 172.16.20.0/24 [1/0] via 172.16.10.9
S 172.16.30.0/24 [1/0] via 172.16.10.9
S 172.16.99.0/24 [1/0] via 172.16.10.9
192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.10.0/24 is directly connected, GigabitEthernet8
L 192.168.10.12/32 is directly connected, GigabitEthernet8
S 192.168.20.0/24 [1/0] via 172.16.10.9
S 192.168.30.0/24 [1/0] via 172.16.10.9
S 192.168.99.0/24 [1/0] via 172.16.10.9
10
RT-2#configure terminal
RT-2(config)#ip route 192.168.20.0 255.255.255.0 172.16.10.9
RT-2(config)#ip route 172.16.20.0 255.255.255.240 172.16.10.9
RT-2(config)#ip route 192.168.30.0 255.255.255.0 172.16.10.9
RT-2(config)#ip route 172.16.30.0 255.255.255.240 172.16.10.9
RT-2(config)#ip route 192.168.99.0 255.255.255.0 172.16.10.9
RT-2(config)#ip route 172.16.99.0 255.255.255.240 172.16.10.9
RT-2(config)#end
11. 【Cisco】#8 ルータの設定2 RT-2
FORSE
手順4 インターフェースとIPアドレスが正しいかを確認
Status、Protocolが上がっているか確認(物理確認)
手順5 グループ、ステータス、virtual IPになっているかの確認
RT-2#show ip interface brief
Interface IP-Address OK? Method Status Protocol
Async3 unassigned YES unset down down
BRI0 unassigned YES unset administratively down down
BRI0:1 unassigned YES unset administratively down down
BRI0:2 unassigned YES unset administratively down down
FastEthernet0 172.16.10.12 YES manual up up
GigabitEthernet0 unassigned YES unset down down
GigabitEthernet1 unassigned YES unset down down
GigabitEthernet2 unassigned YES unset down down
GigabitEthernet3 unassigned YES unset down down
GigabitEthernet4 unassigned YES unset down down
GigabitEthernet5 unassigned YES unset down down
GigabitEthernet6 unassigned YES unset down down
GigabitEthernet7 unassigned YES unset down down
GigabitEthernet8 192.168.10.12 YES manual up up
Vlan1 unassigned YES unset down down
RT-2#
11
RT-2#show vrrp
GigabitEthernet8 - Group 11
State is Backup
Virtual IP address is 192.168.10.1
Virtual MAC address is 0000.5e00.010b
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 100
Track object 1 state Up decrement 20
Track object 2 state Up decrement 20
Master Router is 192.168.10.11, priority is 105
Master Advertisement interval is 1.000 sec
Master Down interval is 3.609 sec (expires in 2.933 sec)
FastEthernet0 - Group 12
State is Backup
Virtual IP address is 172.16.10.1
Virtual MAC address is 0000.5e00.010c
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 100
Track object 1 state Up decrement 20
Track object 2 state Up decrement 20
Master Router is 172.16.10.11, priority is 105
Master Advertisement interval is 1.000 sec
Master Down interval is 3.609 sec (expires in 2.965 sec)
RT-2#
12. 【Cisco】#8 ルータの設定2 RT-2
FORSE
手順6
backupになっているか確認
手順7
トラックが2つ設定されている事を確認
【Cisco】VRRP冗⾧化試験項目へ
RT-2#show vrrp brief
Interface Grp Pri Time Own Pre State Master addr Group addr
Gi8 11 100 3609 Y Backup 192.168.10.11 192.168.10.1
Fa0 12 100 3609 Y Backup 172.16.10.11 172.16.10.1
RT-2#
12
RT-2#show track
Track 1
Interface GigabitEthernet8 line-protocol
Line protocol is Up
2 changes, last change 00:23:28
Tracked by:
VRRP GigabitEthernet8 11
VRRP FastEthernet0 12
Track 2
Interface FastEthernet0 line-protocol
Line protocol is Up
4 changes, last change 00:20:54
Tracked by:
VRRP GigabitEthernet8 11
VRRP FastEthernet0 12
RT-2#
13. 【Cisco】#8 ルータの設定2 RT-3
FORSE
手順1インターフェースにIPアドレスを設定し仮想IPアドレスを設定します
手順2 ルーティングの設定
*結線します*
手順3 確認しますRT-3#configure terminal
RT-3(config)#track 1 interface gigabitEthernet 8 line-protocol
RT-3(config-track)#track 2 interface fastEthernet 0 line-protocol
RT-3(config-track)#exit
RT-3(config)#interface gigabitEthernet 8
RT-3(config-if)#ip address 192.168.20.3 255.255.255.0
RT-3(config-if)#no shutdown
RT-3(config-if)#vrrp 3 ip 192.168.20.1
RT-3(config-if)#vrrp 3 priority 105
RT-3(config-if)#vrrp 3 track 1 decrement 20
RT-3(config-if)#vrrp 3 track 2 decrement 20
RT-3(config-if)#exit
RT-3(config)#interface fastEthernet 0
RT-3(config-if)#ip address 172.16.20.3 255.255.255.240
RT-3(config-if)#no shutdown
RT-3(config-if)#vrrp 4 ip 172.16.20.1
RT-3(config-if)#vrrp 4 priority 105
RT-3(config-if)#vrrp 4 track 1 decrement 20
RT-3(config-if)#vrrp 4 track 2 decrement 20
RT-3(config-if)#end
RT-3(config)#ip route 192.168.10.0 255.255.255.0 172.16.20.9
RT-3(config)#ip route 192.168.30.0 255.255.255.0 172.16.20.9
RT-3(config)#ip route 172.16.10.0 255.255.255.240 172.16.20.9
RT-3(config)#ip route 172.16.30.0 255.255.255.240 172.16.20.9
RT-3(config)#ip route 172.16.99.0 255.255.255.240 172.16.20.9
RT-3(config)#ip route 192.168.99.0 255.255.255.0 172.16.20.9
RT-3(config)#end
13
RT-3#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 5 subnets, 2 masks
S 172.16.10.0/28 [1/0] via 172.16.20.9
C 172.16.20.0/28 is directly connected, FastEthernet0
L 172.16.20.3/32 is directly connected, FastEthernet0
S 172.16.30.0/28 [1/0] via 172.16.20.9
S 172.16.99.0/28 [1/0] via 172.16.20.9
S 192.168.10.0/24 [1/0] via 172.16.20.9
192.168.20.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.20.0/24 is directly connected, GigabitEthernet8
L 192.168.20.3/32 is directly connected, GigabitEthernet8
S 192.168.30.0/24 [1/0] via 172.16.20.9
S 192.168.99.0/24 [1/0] via 172.16.20.9
14. 【Cisco】#8 ルータの設定2 RT-3
FORSE
手順4 インターフェースとIPアドレスが正しいかを確認
Status、Protocolが上がっているか確認(物理確認)
手順5 グループ、ステータス、virtual IPになっているかの確認
RT-3#show ip int brief
Interface IP-Address OK? Method Status Prot
ocol
Async3 unassigned YES unset down down
BRI0 unassigned YES unset administratively down
down
BRI0:1 unassigned YES unset administratively down
down
BRI0:2 unassigned YES unset administratively down
down
FastEthernet0 172.16.20.3 YES manual up up
GigabitEthernet0 unassigned YES unset down down
GigabitEthernet1 unassigned YES unset down down
GigabitEthernet2 unassigned YES unset down down
GigabitEthernet3 unassigned YES unset down down
GigabitEthernet4 unassigned YES unset down down
GigabitEthernet5 unassigned YES unset down down
GigabitEthernet6 unassigned YES unset down down
GigabitEthernet7 unassigned YES unset down down
GigabitEthernet8 192.168.20.3 YES manual up up
Vlan1 unassigned YES unset down down
14
RT-3#show vrrp
GigabitEthernet8 - Group 3
State is Master
Virtual IP address is 192.168.20.1
Virtual MAC address is 0000.5e00.0103
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 105
Track object 1 state Up decrement 20
Track object 2 state Up decrement 20
Master Router is 192.168.20.3 (local), priority is 105
Master Advertisement interval is 1.000 sec
Master Down interval is 3.589 sec
FastEthernet0 - Group 4
State is Master
Virtual IP address is 172.16.20.1
Virtual MAC address is 0000.5e00.0104
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 105
Track object 1 state Up decrement 20
Track object 2 state Up decrement 20
Master Router is 172.16.20.3 (local), priority is 105
Master Advertisement interval is 1.000 sec
Master Down interval is 3.589 sec
15. 【Cisco】#8 ルータの設定2 RT-3
FORSE
手順6
マスターになっているか確認
手順7
トラックが2つ設定されている事を確認
【Cisco】VRRP冗⾧化試験項目へ
RT-3#show vrrp brief
Interface Grp Pri Time Own Pre State Master addr Group addr
Gi8 3 105 3589 Y Master 192.168.20.3 192.168.20.1
Fa0 4 105 3589 Y Master 172.16.20.3 172.16.20.1
15
RT-3#show track
Track 1
Interface GigabitEthernet8 line-protocol
Line protocol is Up
2 changes, last change 00:28:58
Tracked by:
VRRP GigabitEthernet8 3
VRRP FastEthernet0 4
Track 2
Interface FastEthernet0 line-protocol
Line protocol is Up
2 changes, last change 00:27:26
Tracked by:
VRRP GigabitEthernet8 3
VRRP FastEthernet0 4
16. 【Cisco】#8 ルータの設定2 RT-4
FORSE
手順1インターフェースにIPアドレスを設定し仮想IPアドレスを設定します
手順2 ルーティングの設定
*結線します*
手順3 確認しますRT-4#configure terminal
RT-4(config)#track 1 interface gigabitEthernet 8 line-protocol
RT-4(config-track)#track 2 interface fastEthernet 0 line-protocol
RT-4(config-track)#exit
RT-4(config)#interface gigabitEthernet 8
RT-4(config-if)#ip address 192.168.20.4 255.255.255.0
RT-4(config-if)#no shutdown
RT-4(config-if)#vrrp 3 ip 192.168.20.1
RT-4(config-if)#vrrp 3 priority 100
RT-4(config-if)#vrrp 3 track 1 decrement 20
RT-4(config-if)#vrrp 3 track 2 decrement 20
RT-4(config-if)#exit
RT-4(config)#interface fastEthernet 0
RT-4(config-if)#ip address 172.16.20.4 255.255.255.240
RT-4(config-if)#no shutdown
RT-4(config-if)#vrrp 4 ip 172.16.20.1
RT-4(config-if)#vrrp 4 priority 100
RT-4(config-if)#vrrp 4 track 1 decrement 20
RT-4(config-if)#vrrp 4 track 2 decrement 20
RT-4(config-if)#end
RT-4#configure terminal
RT-4(config)#ip route 192.168.10.0 255.255.255.0 172.16.20.9
RT-4(config)#ip route 192.168.30.0 255.255.255.0 172.16.20.9
RT-4(config)#ip route 172.16.10.0 255.255.255.240 172.16.20.9
RT-4(config)#ip route 172.16.30.0 255.255.255.240 172.16.20.9
RT-4(config)#ip route 172.16.99.0 255.255.255.240 172.16.20.9
RT-4(config)#ip route 192.168.99.0 255.255.255.0 172.16.20.9
RT-4(config)#end
RT-4#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-
2
ia - IS-IS inter area, * - candidate default, U - per-user static
route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
C 172.16.20.0/28 is directly connected, FastEthernet0
L 172.16.20.4/32 is directly connected, FastEthernet0
S 192.168.10.0/24 [1/0] via 172.16.20.9
192.168.20.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.20.0/24 is directly connected, GigabitEthernet8
L 192.168.20.4/32 is directly connected, GigabitEthernet8
S 192.168.30.0/24 [1/0] via 172.16.20.9
S 192.168.99.0/24 [1/0] via 172.16.20.9
16
17. 【Cisco】#8 ルータの設定2 RT-4
FORSE
手順4 インターフェースとIPアドレスが正しいかを確認
Status、Protocolが上がっているか確認(物理確認)
手順5 グループ、ステータス、virtual IPになっているかの確認
RT-4#show ip interface brief
Interface IP-Address OK? Method Status
Protocol
Async3 unassigned YES unset down down
BRI0 unassigned YES unset administratively down
down
BRI0:1 unassigned YES unset administratively down
down
BRI0:2 unassigned YES unset administratively down
down
FastEthernet0 172.16.20.4 YES manual up up
GigabitEthernet0 unassigned YES unset down down
GigabitEthernet1 unassigned YES unset down down
GigabitEthernet2 unassigned YES unset down down
GigabitEthernet3 unassigned YES unset down down
GigabitEthernet4 unassigned YES unset down down
GigabitEthernet5 unassigned YES unset down down
GigabitEthernet6 unassigned YES unset down down
GigabitEthernet7 unassigned YES unset down down
GigabitEthernet8 192.168.20.4 YES manual up up
Vlan1 unassigned YES unset down down
17
RT-4#show vrrp
GigabitEthernet8 - Group 3
State is Backup
Virtual IP address is 192.168.20.1
Virtual MAC address is 0000.5e00.0103
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 100
Track object 1 state Up decrement 20
Track object 2 state Up decrement 20
Master Router is 192.168.20.3, priority is 105
Master Advertisement interval is 1.000 sec
Master Down interval is 3.609 sec (expires in 3.249 sec)
FastEthernet0 - Group 4
State is Backup
Virtual IP address is 172.16.20.1
Virtual MAC address is 0000.5e00.0104
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 100
Track object 1 state Up decrement 20
Track object 2 state Up decrement 20
Master Router is 172.16.20.3, priority is 105
Master Advertisement interval is 1.000 sec
Master Down interval is 3.609 sec (expires in 3.061 sec)
18. 【Cisco】#8 ルータの設定2 RT-4
FORSE
手順6
backupになっているか確認
手順7
トラックが2つ設定されている事を確認
【Cisco】VRRP冗⾧化試験項目へ
RT-4#show vrrp brief
Interface Grp Pri Time Own Pre State Master addr Group addr
Gi8 3 100 3609 Y Backup 192.168.20.3 192.168.20.1
Fa0 4 100 3609 Y Backup 172.16.20.3 172.16.20.1
18
RT-4#show track
Track 1
Interface GigabitEthernet8 line-protocol
Line protocol is Up
2 changes, last change 00:41:00
Tracked by:
VRRP GigabitEthernet8 3
VRRP FastEthernet0 4
Track 2
Interface FastEthernet0 line-protocol
Line protocol is Up
1 change, last change 00:30:57
Tracked by:
VRRP GigabitEthernet8 3
VRRP FastEthernet0 4
19. 【Cisco】#8 ルータの設定2 RT-5
FORSE
手順1インターフェースにIPアドレスを設定し仮想IPアドレスを設定します
手順2 ルーティングの設定
*結線します*
手順3 確認します
RT-5#configure terminal
RT-5(config)#track 1 interface gigabitEthernet 8 line-protocol
RT-5(config-track)#track 2 interface fastEthernet 0 line-protocol
RT-5(config-track)#exit
RT-5(config)#interface gigabitEthernet 8
RT-5(config-if)#ip address 192.168.30.5 255.255.255.0
RT-5(config-if)#no shutdown
RT-5(config-if)#vrrp 5 ip 192.168.30.1
RT-5(config-if)#vrrp 5 priority 105
RT-5(config-if)#vrrp 5 track 1 decrement 20
RT-5(config-if)#vrrp 5 track 2 decrement 20
RT-5(config-if)#exit
RT-5(config)#interface fastEthernet 0
RT-5(config-if)#ip address 172.16.30.5 255.255.255.240
RT-5(config-if)#no shutdown
RT-5(config-if)#vrrp 6 ip 172.16.30.1
RT-5(config-if)#vrrp 6 priority 105
RT-5(config-if)#vrrp 6 track 1 decrement 20
RT-5(config-if)#vrrp 6 track 2 decrement 20
RT-5(config-if)#end
19
RT-5#configure terminal
RT-5(config)#ip route 192.168.10.0 255.255.255.0 172.16.30.9
RT-5(config)#ip route 172.16.10.0 255.255.255.240 172.16.30.9
RT-5(config)#ip route 192.168.20.0 255.255.255.0 172.16.30.9
RT-5(config)#ip route 172.16.20.0 255.255.255.240 172.16.30.9
RT-5(config)#ip route 192.168.99.0 255.255.255.0 172.16.30.9
RT-5(config)#ip route 172.16.99.0 255.255.255.240 172.16.30.9
RT-5(config)#end
RT-5#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-
2
ia - IS-IS inter area, * - candidate default, U - per-user static
route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 5 subnets, 2 masks
S 172.16.10.0/28 [1/0] via 172.16.30.9
S 172.16.20.0/28 [1/0] via 172.16.30.9
C 172.16.30.0/28 is directly connected, FastEthernet0
L 172.16.30.6/32 is directly connected, FastEthernet0
S 172.16.99.0/28 [1/0] via 172.16.30.9
S 192.168.10.0/24 [1/0] via 172.16.30.9
S 192.168.20.0/24 [1/0] via 172.16.30.9
192.168.30.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.30.0/24 is directly connected, GigabitEthernet8
L 192.168.30.6/32 is directly connected, GigabitEthernet8
S 192.168.99.0/24 [1/0] via 172.16.30.9
RT-5#
20. 【Cisco】#8 ルータの設定2 RT-5
FORSE
手順4
インターフェースとIPアドレスが正しいかを確認
Satus、Protocolが上がっているか確認(物理確認)
手順5
グループ、ステータス、virtual IPになっているかの確認
RT-5#show ip int brief
Interface IP-Address OK? Method Status Protocol
Async3 unassigned YES unset down down
BRI0 unassigned YES unset administratively down down
BRI0:1 unassigned YES unset administratively down down
BRI0:2 unassigned YES unset administratively down down
FastEthernet0 172.16.30.5 YES manual up up
GigabitEthernet0 unassigned YES unset down down
GigabitEthernet1 unassigned YES unset down down
GigabitEthernet2 unassigned YES unset down down
GigabitEthernet3 unassigned YES unset down down
GigabitEthernet4 unassigned YES unset down down
GigabitEthernet5 unassigned YES unset down down
GigabitEthernet6 unassigned YES unset down down
GigabitEthernet7 unassigned YES unset down down
GigabitEthernet8 192.168.30.5 YES manual up up
Vlan1 unassigned YES unset down down
RT-5#
20
RT-5#show vrrp
GigabitEthernet8 - Group 5
State is Master
Virtual IP address is 192.168.30.1
Virtual MAC address is 0000.5e00.010b
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 105
Track object 1 state Up decrement 20
Track object 2 state Up decrement 20
Master Router is 192.168.30.5 (local), priority is 105
Master Advertisement interval is 1.000 sec
Master Down interval is 3.589 sec
FastEthernet0 - Group 6
State is Master
Virtual IP address is 172.16.30.1
Virtual MAC address is 0000.5e00.010c
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 105
Track object 1 state Up decrement 20
Track object 2 state Up decrement 20
Master Router is 172.16.30.5 (local), priority is 105
Master Advertisement interval is 1.000 sec
Master Down interval is 3.589 sec
21. 【Cisco】#8 ルータの設定3 RT-5
FORSE
手順6
マスターになっているか確認
手順7
トラックが2つ設定されている事を確認
【Cisco】VRRP冗⾧化試験項目へ
RT-5#show vrrp brief
Interface Grp Pri Time Own Pre State Master addr Group addr
Gi8 11 105 3589 Y Master 192.168.30.5 192.168.30.1
Fa0 12 105 3589 Y Master 172.16.30.5 172.16.30.1
21
RT-5#show track
Track 1
Interface GigabitEthernet8 line-protocol
Line protocol is Up
2 changes, last change 00:22:19
Tracked by:
VRRP GigabitEthernet8 5
VRRP FastEthernet0 6
Track 2
Interface FastEthernet0 line-protocol
Line protocol is Up
2 changes, last change 00:16:50
Tracked by:
VRRP GigabitEthernet8 5
VRRP FastEthernet0 6
RT-5#
22. 【Cisco】#8 ルータの設定2 RT-6
FORSE
手順1インターフェースにIPアドレスを設定し仮想IPアドレスを設定します
手順2 ルーティングの設定
*結線します*
手順3 確認しますRT-6#configure terminal
RT-6(config)#track 1 interface gigabitEthernet 8 line-protocol
RT-6(config-track)#track 2 interface fastEthernet 0 line-protocol
RT-6(config-track)#exit
RT-6(config)#interface gigabitEthernet 8
RT-6(config-if)#ip address 192.168.30.6 255.255.255.0
RT-6(config-if)#no shutdown
RT-6(config-if)#vrrp 5 ip 192.168.30.1
RT-6(config-if)#vrrp 5 priority 100
RT-6(config-if)#vrrp 5 track 1 decrement 20
RT-6(config-if)#vrrp 5 track 2 decrement 20
RT-6(config-if)#exit
RT-6(config)#interface fastEthernet 0
RT-6(config-if)#ip address 172.16.30.6 255.255.255.240
RT-6(config-if)#no shutdown
RT-6(config-if)#vrrp 6 ip 172.16.30.1
RT-6(config-if)#vrrp 6 priority 100
RT-6(config-if)#vrrp 6 track 1 decrement 20
RT-6(config-if)#vrrp 6 track 2 decrement 20
RT-6(config-if)#end
RT-6#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-
2
ia - IS-IS inter area, * - candidate default, U - per-user static
route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 5 subnets, 2 masks
S 172.16.10.0/28 [1/0] via 172.16.30.9
S 172.16.20.0/28 [1/0] via 172.16.30.9
C 172.16.30.0/28 is directly connected, FastEthernet0
L 172.16.30.6/32 is directly connected, FastEthernet0
S 172.16.99.0/28 [1/0] via 172.16.30.9
S 192.168.10.0/24 [1/0] via 172.16.30.9
S 192.168.20.0/24 [1/0] via 172.16.30.9
192.168.30.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.30.0/24 is directly connected, GigabitEthernet8
L 192.168.30.6/32 is directly connected, GigabitEthernet8
S 192.168.99.0/24 [1/0] via 172.16.30.9
RT-6#
22
RT-6#configure terminal
RT-6(config)#ip route 192.168.10.0 255.255.255.0 172.16.30.9
RT-6(config)#ip route 172.16.10.0 255.255.255.240 172.16.30.9
RT-6(config)#ip route 192.168.20.0 255.255.255.0 172.16.30.9
RT-6(config)#ip route 172.16.20.0 255.255.255.240 172.16.30.9
RT-6(config)#ip route 192.168.99.0 255.255.255.0 172.16.30.9
RT-6(config)#ip route 172.16.99.0 255.255.255.240 172.16.30.9
RT-6(config)#end
23. 【Cisco】#8 ルータの設定2 RT-6
FORSE
手順4
インターフェースとIPアドレスが正しいかを確認
Satus、Protocolが上がっているか確認(物理確認)
手順5
グループ、ステータス、virtual IPになっているかの確認
RT-6#show ip interface brief
Interface IP-Address OK? Method Status Protocol
Async3 unassigned YES unset down down
BRI0 unassigned YES unset administratively down down
BRI0:1 unassigned YES unset administratively down down
BRI0:2 unassigned YES unset administratively down down
FastEthernet0 172.16.30.6 YES manual up up
GigabitEthernet0 unassigned YES unset down down
GigabitEthernet1 unassigned YES unset down down
GigabitEthernet2 unassigned YES unset down down
GigabitEthernet3 unassigned YES unset down down
GigabitEthernet4 unassigned YES unset down down
GigabitEthernet5 unassigned YES unset down down
GigabitEthernet6 unassigned YES unset down down
GigabitEthernet7 unassigned YES unset down down
GigabitEthernet8 192.168.30.6 YES manual up up
Vlan1 unassigned YES unset down down
RT-6#
23
RT-6#show vrrp
GigabitEthernet8 - Group 5
State is Backup
Virtual IP address is 192.168.30.1
Virtual MAC address is 0000.5e00.0105
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 100
Track object 1 state Up decrement 20
Master Router is 192.168.30.5, priority is 105
Master Advertisement interval is 1.000 sec
Master Down interval is 3.609 sec (expires in 3.501 sec)
FastEthernet0 - Group 6
State is Backup
Virtual IP address is 172.16.30.1
Virtual MAC address is 0000.5e00.0106
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 100
Track object 1 state Up decrement 20
Master Router is 172.16.30.5, priority is 105
Master Advertisement interval is 1.000 sec
Master Down interval is 3.609 sec (expires in 3.449 sec)
RT-6#
24. 【Cisco】#8 ルータの設定3 RT-6
FORSE
手順6
backupになっているか確認
手順7
トラックが2つ設定されている事を確認
【Cisco】VRRP冗⾧化試験項目へ
RT-6#show vrrp brief
Interface Grp Pri Time Own Pre State Master addr Group addr
Gi8 5 100 3609 Y Backup 192.168.30.5 192.168.30.1
Fa0 6 100 3609 Y Backup 172.16.30.5 172.16.30.1
RT-6#
24
RT-6#show track
Track 1
Interface GigabitEthernet8 line-protocol
Line protocol is Up
6 changes, last change 00:59:21
Tracked by:
VRRP GigabitEthernet8 5
VRRP FastEthernet0 6
Track 2
Interface FastEthernet0 line-protocol
Line protocol is Up
2 changes, last change 00:16:50
Tracked by:
VRRP GigabitEthernet8 5
VRRP FastEthernet0 6
RT-6#
25. 【Cisco】#8 ルータの設定2 RT-99
FORSE
手順1 インターフェースにIPアドレスを設定する
手順2 ルーティングの設定
*結線します*
手順3 確認しますRT-99#configure terminal
RT-99(config)#interface gigabitEthernet 0/0
RT-99(config-if)#ip address 172.16.10.9 255.255.255.240
RT-99(config-if)#no shutdown
RT-99(config-if)#exit
RT-99(config)#interface gigabitEthernet 0/1
RT-99(config-if)#ip address 172.16.20.9 255.255.255.240
RT-99(config-if)#no shutdown
RT-99(config-if)#end
RT-99(config)#interface FastEthernet 0/0/0
RT-99(config-if)#ip address 172.16.30.9 255.255.255.240
RT-99(config-if)#no shutdown
RT-99(config-if)#exit
RT-99(config)#interface FastEthernet 0/0/1
RT-99(config-if)#ip address 172.16.99.9 255.255.255.0
RT-99(config-if)#no shutdown
RT-99(config-if)#end
RT-99#
RT-99#configure terminal
RT-99(config)#ip route 192.168.10.0 255.255.255.0 172.16.10.1
RT-99(config)#ip route 192.168.20.0 255.255.255.0 172.16.20.1
RT-99(config)#ip route 192.168.30.0 255.255.255.0 172.16.30.1
RT-99(config)#end
25
RT-99#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
C 172.16.10.0/28 is directly connected, GigabitEthernet0/0
L 172.16.10.9/32 is directly connected, GigabitEthernet0/0
C 172.16.20.0/28 is directly connected, GigabitEthernet0/1
L 172.16.20.9/32 is directly connected, GigabitEthernet0/1
S 192.168.10.0/24 [1/0] via 172.16.10.1
S 192.168.20.0/24 [1/0] via 172.16.20.1
S 192.168.30.0/24 [1/0] via 172.16.30.1
192.168.99.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.99.0/24 is directly connected, FastEthernet0/0/1
L 192.168.99.9/32 is directly connected, FastEthernet0/0/1
26. 【Cisco】#8 ルータの設定2 RT-99
FORSE
手順4 インターフェースとIPアドレスが正しいかを確認
Status、Protocolが上がっているか確認(物理確認)
【Cisco】VRRP冗⾧化試験項目へ
26
RT-99#show ip interface brief
Interface IP-Address OK? Method Status
Protocol
Embedded-Service-Engine0/0 unassigned YES unset administratively
down down
GigabitEthernet0/0 172.16.10.9 YES manual up up
GigabitEthernet0/1 172.16.20.9 YES manual up up
FastEthernet0/0/0 172.16.30.9 YES manual up up
FastEthernet0/0/1 192.168.99.9 YES manual up up