Добавить FINAL/S2.txt

master
melenilya 2025-04-08 16:42:20 +03:00
parent 11a7d560b2
commit a0e7227acd
1 changed files with 28 additions and 0 deletions

28
FINAL/S2.txt Normal file
View File

@ -0,0 +1,28 @@
enable
conf t
ip routing
ip route 0.0.0.0 0.0.0.0 <R5 int>
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