From 1747dc8787b4eb62a17db56deec01232bfd25206 Mon Sep 17 00:00:00 2001 From: serr Date: Sun, 6 Apr 2025 13:48:27 +0300 Subject: [PATCH] new --- EAST.txt | 38 ++++++++++++++++++++++++++++++++++++++ ISP.txt | 26 ++++++++++++++++++++++++++ PCA_enp2s0.txt | 3 +++ PCA_enp2s6.txt | 3 +++ PCC_enp2s0.txt | 3 +++ PCC_enp2s6.txt | 3 +++ WEST.txt | 37 +++++++++++++++++++++++++++++++++++++ 7 files changed, 113 insertions(+) create mode 100644 EAST.txt create mode 100644 ISP.txt create mode 100644 PCA_enp2s0.txt create mode 100644 PCA_enp2s6.txt create mode 100644 PCC_enp2s0.txt create mode 100644 PCC_enp2s6.txt create mode 100644 WEST.txt diff --git a/EAST.txt b/EAST.txt new file mode 100644 index 0000000..0d99870 --- /dev/null +++ b/EAST.txt @@ -0,0 +1,38 @@ +enable +configure terminal +no ip domain-lookup +service password-encryption +hostname EAST +enable secret class +line console 0 +password cisco +login +logging synchronous +exit +line vty 0 4 +password cisco +login +exit +banner motd #Unauthorized access prohibited# +interface f0/1 +ip address 172.16.2.1 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 +ip route 0.0.0.0 0.0.0.0 10.2.2.2 +interface Tunnel0 +ip address 172.16.12.2 255.255.255.252 +tunnel source 10.2.2.1 +tunnel destination 10.1.1.1 +no shutdown +exit +router ospf 1 +network 172.16.2.0 0.0.0.255 area 0 +network 172.16.12.0 0.0.0.3 area 0 +end +copy running-config startup-config + diff --git a/ISP.txt b/ISP.txt new file mode 100644 index 0000000..d452d56 --- /dev/null +++ b/ISP.txt @@ -0,0 +1,26 @@ +enable +configure terminal +no ip domain-lookup +service password-encryption +hostname ISP +enable secret class +line console 0 +password cisco +login +logging synchronous +exit +line vty 0 4 +password cisco +login +exit +banner motd #Unauthorized access prohibited# +interface S0/1/0 +ip address 10.1.1.2 255.255.255.252 +clock rate 128000 +no shutdown +interface S0/1/1 +ip address 10.2.2.2 255.255.255.252 +clock rate 128000 +no shutdown +end +copy running-config startup-config diff --git a/PCA_enp2s0.txt b/PCA_enp2s0.txt new file mode 100644 index 0000000..f87186a --- /dev/null +++ b/PCA_enp2s0.txt @@ -0,0 +1,3 @@ +sudo ip link set dev enp2s0 up +sudo ip address add 172.16.1.3/24 dev enp2s0 +sudo ip route add default via 172.16.1.1 \ No newline at end of file diff --git a/PCA_enp2s6.txt b/PCA_enp2s6.txt new file mode 100644 index 0000000..5298ab3 --- /dev/null +++ b/PCA_enp2s6.txt @@ -0,0 +1,3 @@ +sudo ip link set dev enp2s6 up +sudo ip address add 172.16.1.3/24 dev enp2s6 +sudo ip route add default via 172.16.1.1 \ No newline at end of file diff --git a/PCC_enp2s0.txt b/PCC_enp2s0.txt new file mode 100644 index 0000000..481c761 --- /dev/null +++ b/PCC_enp2s0.txt @@ -0,0 +1,3 @@ +sudo ip link set dev enp2s0 up +sudo ip address add 172.16.2.3/24 dev enp2s0 +sudo ip route add default via 172.16.2.1 \ No newline at end of file diff --git a/PCC_enp2s6.txt b/PCC_enp2s6.txt new file mode 100644 index 0000000..454bf5b --- /dev/null +++ b/PCC_enp2s6.txt @@ -0,0 +1,3 @@ +sudo ip link set dev enp2s6 up +sudo ip address add 172.16.2.3/24 dev enp2s6 +sudo ip route add default via 172.16.2.1 diff --git a/WEST.txt b/WEST.txt new file mode 100644 index 0000000..fb10f65 --- /dev/null +++ b/WEST.txt @@ -0,0 +1,37 @@ +enable +configure terminal +no ip domain-lookup +service password-encryption +hostname WEST +enable secret class +line console 0 +password cisco +login +logging synchronous +exit +line vty 0 4 +password cisco +login +exit +banner motd #Unauthorized access prohibited# +interface f0/1 +ip address 172.16.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 +ip route 0.0.0.0 0.0.0.0 10.1.1.2 +interface Tunnel0 +ip address 172.16.12.1 255.255.255.252 +tunnel source 10.1.1.1 +tunnel destination 10.2.2.1 +no shutdown +exit +router ospf 1 +network 172.16.1.0 0.0.0.255 area 0 +network 172.16.12.0 0.0.0.3 area 0 +end +copy running-config startup-config \ No newline at end of file