From 2c8db7e618387576b2e5c61d2c230196909daf59 Mon Sep 17 00:00:00 2001 From: melenilya Date: Sat, 12 Apr 2025 23:40:01 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20FINAL/S6.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FINAL/S6.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/FINAL/S6.txt b/FINAL/S6.txt index 0370b74..f0264d0 100644 --- a/FINAL/S6.txt +++ b/FINAL/S6.txt @@ -2,6 +2,18 @@ enable configure terminal hostname S6 no ip domain-lookup +vlan 30 +name VLAN_C +vlan 40 +name VLAN_D +interface Vlan30 +ip address 192.168.3.1 255.255.255.0 +ip helper-address 10.0.20.3 +no shut +interface Vlan40 +ip address 192.168.4.1 255.255.255.0 +ip helper-address 10.0.20.3 +no shut interface vlan 1 ip address 192.168.0.11 255.255.255.0 no shutdown @@ -10,10 +22,20 @@ ip default-gateway 192.168.0.254 int range g0/2-3 switchport trunk encapsulation dot1q switchport mode trunk +switchport trunk allowed vlan 1,30 switchport trunk native vlan 1 channel-group 1 mode active no shut exit +interface g0/1 +switchport mode access +switchport access vlan 30 +no shutdown +interface g0/0 +switchport trunk encapsulation dot1q +switchport mode trunk +switchport trunk allowed vlan 1,30,40 +no shutdown enable secret class line console 0 password cisco