master
serr 2025-04-06 13:50:47 +03:00
parent 1747dc8787
commit 90bc833cd5
16 changed files with 159 additions and 0 deletions

3
HSRP/PCA_enp2s0.txt Normal file
View File

@ -0,0 +1,3 @@
sudo ip link set dev enp2s0 up
sudo ip address add 192.168.1.31/24 dev enp2s0
sudo ip route add default via 192.168.1.254

3
HSRP/PCA_enp2s6.txt Normal file
View File

@ -0,0 +1,3 @@
sudo ip link set dev enp2s6 up
sudo ip address add 192.168.1.31/24 dev enp2s6
sudo ip route add default via 192.168.1.254

3
HSRP/PCC_enp2s0.txt Normal file
View File

@ -0,0 +1,3 @@
sudo ip link set dev enp2s0 up
sudo ip address add 192.168.1.33/24 dev enp2s0
sudo ip route add default via 192.168.1.254

3
HSRP/PCC_enp2s6.txt Normal file
View File

@ -0,0 +1,3 @@
sudo ip link set dev enp2s6 up
sudo ip address add 192.168.1.33/24 dev enp2s6
sudo ip route add default via 192.168.1.254

35
HSRP/R1.txt Normal file
View File

@ -0,0 +1,35 @@
enable
configure terminal
hostname R1
no ip domain-lookup
interface f0/1
ip address 192.168.1.1 255.255.255.0
no shutdown
exit
interface Serial0/1/0
ip address 10.1.1.1 255.255.255.252
clock rate 128000
no shutdown
exit
enable secret class
line console 0
password cisco
login
logging synchronous
exit
line vty 0 4
password cisco
login
exit
router rip
version 2
network 192.168.1.0
network 10.1.1.0
exit
interface f0/1
standby version 2
standby 1 ip 192.168.1.254
standby 1 priority 150
standby 1 preempt
end
copy running-config startup-config

39
HSRP/R2.txt Normal file
View File

@ -0,0 +1,39 @@
enable
configure terminal
hostname R1
no ip domain-lookup
interface Serial0/1/1
ip address 10.2.2.2 255.255.255.252
clock rate 128000
no shutdown
exit
interface Serial0/1/0
ip address 10.1.1.2 255.255.255.252
clock rate 128000
no shutdown
exit
int lo1
ip address 209.165.200.225 255.255.255.224
exit
enable secret class
line console 0
password cisco
login
logging synchronous
exit
line vty 0 4
password cisco
login
exit
router rip
version 2
network 10.2.2.0
network 10.1.1.0
network 209.165.200.224
exit
ip route 0.0.0.0 0.0.0.0 Lo1
router rip
default-information originate
no auto-summary
end
copy running-config startup-config

33
HSRP/R3.txt Normal file
View File

@ -0,0 +1,33 @@
enable
configure terminal
hostname R3
no ip domain-lookup
interface f0/1
ip address 192.168.1.3 255.255.255.0
no shutdown
exit
interface Serial0/1/1
ip address 10.2.2.1 255.255.255.252
clock rate 128000
no shutdown
exit
enable secret class
line console 0
password cisco
login
logging synchronous
exit
line vty 0 4
password cisco
login
exit
router rip
version 2
network 192.168.1.0
network 10.2.2.0
exit
interface f0/1
standby version 2
standby 1 ip 192.168.1.254
end
copy running-config startup-config

20
HSRP/S1.txt Normal file
View File

@ -0,0 +1,20 @@
enable
configure terminal
hostname S1
no ip domain-lookup
interface vlan 1
ip address 192.168.1.11 255.255.255.0
no shutdown
exit
ip default-gateway 192.168.1.254
enable secret class
line console 0
password cisco
login
logging synchronous
exit
line vty 0 15
password cisco
login
end
copy running-config startup-config

20
HSRP/S3.txt Normal file
View File

@ -0,0 +1,20 @@
enable
configure terminal
hostname S3
no ip domain-lookup
interface vlan 1
ip address 192.168.1.13 255.255.255.0
no shutdown
exit
ip default-gateway 192.168.1.254
enable secret class
line console 0
password cisco
login
logging synchronous
exit
line vty 0 15
password cisco
login
end
copy running-config startup-config