LAB 6 VÀ HƯỚNG DẪN HSRP

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

LAB 6

- Spanning tree - Load sharing


- Backup/Failover - DHCP server
- Inter-VLAN routing - Tracking
- HSRP
Bối cảnh
- Công ty ABC có 2 line Internet, 10 phòng ban và 1 phòng server. Công ty muốn thiết kế hệ thống
mạng 2 lớp Core và Access.
- Hệ thống mạng có khả năng backup cho nhau khi 1 trong 2 line bị down đồng thời traffic mạng
chia đều cho 2 line trong trường hợp hoạt động bình thường.
Yêu cầu
1. Cài đặt cơ bản cho tất cả các thiết bị chuyển mạch Core và Access.
2. Phân bổ Vlan cùng với tất cả các cổng access và cổng trunk
3. Địa chỉ IP tĩnh cho các thiết bị serverRoom.
4. Cấu hình máy chủ DHCP, DNS server, Router/Firewall.
5. Cấu hình VLAN và Inter-VLAN routing (SVI) với
a. Giao thức HSRP
b. Chỉ định dhcp server đặt tại phòng ssrever: ip helper-address <dhcpserver>.
6. Kiểm tra và thử nghiệm.
HƯỚNG DẪN HSRP CÓ TRACKING

CORE 1 CORE 2

1 spanning-tree vlan 10,20,30,40,50,60 priority 24576 spanning-tree vlan 10,20,30,40,50,60 priority 28672
spanning-tree vlan 70,80,90,100,110 priority 28672 spanning-tree vlan 70,80,90,100,110 priority 24576

2 inter vlan 10 inter vlan 10


ip addr 192.168.10.2 255.255.255.0 ip addr 192.168.10.3 255.255.255.0
ip helper-addr 172.20.40.254 ip helper-addr 172.20.40.254
standby version 2 standby version 2
standby 1 ip 192.168.10.1 standby 1 ip 192.168.10.1
standby 1 priority 150 standby 1 priority 120
standby 1 preempt standby 1 preempt
standby 1 track 10 decrement 50 exit
exit

inter vlan 20 inter vlan 20


ip addr 192.168.20.2 255.255.255.0 ip addr 192.168.20.3 255.255.255.0
ip helper-addr 172.20.40.254 ip helper-addr 172.20.40.254
standby version 2 standby version 2
standby 1 ip 192.168.20.1 standby 1 ip 192.168.20.1
standby 1 priority 150 standby 1 priority 120
standby 1 preempt standby 1 preempt
standby 1 track 10 decrement 50 exit
exit

inter vlan 30 inter vlan 30


ip addr 192.168.30.2 255.255.255.0 ip addr 192.168.30.3 255.255.255.0
ip helper-addr 172.20.40.254 ip helper-addr 172.20.40.254
standby version 2 standby version 2
standby 1 ip 192.168.30.1 standby 1 ip 192.168.30.1
standby 1 priority 150 standby 1 priority 120
standby 1 preempt standby 1 preempt
standby 1 track 10 decrement 50 exit
exit

inter vlan 40 inter vlan 40


ip addr 192.168.40.2 255.255.255.0 ip addr 192.168.40.3 255.255.255.0
ip helper-addr 172.20.40.254 ip helper-addr 172.20.40.254
standby version 2 standby version 2
standby 1 ip 192.168.40.1 standby 1 ip 192.168.40.1
standby 1 priority 150 standby 1 priority 120
standby 1 preempt standby 1 preempt
standby 1 track 10 decrement 50 exit
exit

inter vlan 50 inter vlan 50


ip addr 192.168.50.2 255.255.255.0 ip addr 192.168.50.3 255.255.255.0
ip helper-addr 172.20.40.254 ip helper-addr 172.20.40.254
standby version 2 standby version 2
standby 1 ip 192.168.50.1 standby 1 ip 192.168.50.1
standby 1 priority 150 standby 1 priority 120
standby 1 preempt standby 1 preempt
standby 1 track 10 decrement 50 exit
exit

inter vlan 60 inter vlan 60


ip addr 192.168.60.2 255.255.255.0 ip addr 192.168.60.3 255.255.255.0
ip helper-addr 172.20.40.254 ip helper-addr 172.20.40.254
standby version 2 standby version 2
standby 1 ip 192.168.60.1 standby 1 ip 192.168.60.1
standby 1 priority 150 standby 1 priority 120
standby 1 preempt standby 1 preempt
standby 1 track 100 decrement 50 exit
exit

inter vlan 70 inter vlan 70


ip addr 192.168.70.3 255.255.255.0 ip addr 192.168.70.2 255.255.255.0
ip helper-addr 172.20.40.254 ip helper-addr 172.20.40.254
standby version 2 standby version 2
standby 2 ip 192.168.70.1 standby 2 ip 192.168.70.1
standby 2 priority 120 standby 2 priority 150
standby 2 preempt standby 2 preempt
exit standby 2 track 10 decrement 50
exit

inter vlan 80 inter vlan 80


ip addr 192.168.80.3 255.255.255.0 ip addr 192.168.80.2 255.255.255.0
ip helper-addr 172.20.40.254 ip helper-addr 172.20.40.254
standby version 2 standby version 2
standby 2 ip 192.168.80.1 standby 2 ip 192.168.80.1
standby 2 priority 120 standby 2 priority 150
standby 2 preempt standby 2 preempt
exit standby 2 track 10 decrement 50
exit

inter vlan 90 inter vlan 90


ip addr 192.168.90.3 255.255.255.0 ip addr 192.168.90.2 255.255.255.0
ip helper-addr 172.20.40.254 ip helper-addr 172.20.40.254
standby version 2 standby version 2
standby 2 ip 192.168.90.1 standby 2 ip 192.168.90.1
standby 2 priority 120 standby 2 priority 150
standby 2 preempt standby 2 preempt
exit standby 2 track 10 decrement 50
exit

inter vlan 100 inter vlan 100


ip addr 192.168.100.3 255.255.255.0 ip addr 192.168.100.2 255.255.255.0
ip helper-addr 172.20.40.254 ip helper-addr 172.20.40.254
standby version 2 standby version 2
standby 2 ip 192.168.100.1 standby 2 ip 192.168.100.1
standby 2 priority 120 standby 2 priority 150
standby 2 preempt standby 2 preempt
exit standby 2 track 10 decrement 50
exit

inter vlan 110 inter vlan 110


ip addr 172.20.40.3 255.255.255.0 ip addr 172.20.40.2 255.255.255.0
ip helper-addr 172.20.40.254 ip helper-addr 172.20.40.254
standby version 2 standby version 2
standby 2 ip 172.20.40.1 standby 2 ip 172.20.40.1
standby 2 priority 120 standby 2 priority 150
standby 2 preempt standby 2 preempt
exit standby 2 track 100 decrement 50
exit
ip sla 1 ip sla 1
icmp-echo 10.1.1.1 source-interface Ethernet0/0 icmp-echo 10.2.2.1 source-interface Ethernet0/0
threshold 500 threshold 500
timeout 1000 timeout 1000
frequency 3 frequency 3
ip sla schedule 1 life forever start-time now ip sla schedule 1 life forever start-time now
! !

Track 10 sla 1 hoặc track 10 Track 10 sla 1

You might also like