From a0e7227acd79fffa5a0a5dde4386146b1f4346e4 Mon Sep 17 00:00:00 2001 From: melenilya Date: Tue, 8 Apr 2025 16:42:20 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20FINAL/S2.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FINAL/S2.txt | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 FINAL/S2.txt diff --git a/FINAL/S2.txt b/FINAL/S2.txt new file mode 100644 index 0000000..e1ed2d8 --- /dev/null +++ b/FINAL/S2.txt @@ -0,0 +1,28 @@ +enable +conf t +ip routing +ip route 0.0.0.0 0.0.0.0 +vlan 10 +name VLAN_A +vlan 20 +name VLAN_B +interface Vlan10 +ip address 192.168.1.1 255.255.255.0 +ip helper-address 192.168.100.100 +no shut +interface Vlan20 +ip address 192.168.2.1 255.255.255.0 +ip helper-address 192.168.100.100 +no shut +interface g0/0 +switchport mode access +switchport access vlan 10 +no shutdown +interface g0/1 +switchport mode access +switchport access vlan 20 +no shutdown +interface g0/2 +switchport mode trunk +switchport trunk allowed vlan 10,20 +no shutdown