Ajout TP-02

This commit is contained in:
2025-11-13 09:34:59 +01:00
parent 5c7fa4d11a
commit ef4dffe5ef
11 changed files with 279 additions and 13 deletions

View File

@@ -0,0 +1,30 @@
hostname ESW2
! Configuration des interfaces
interface f1/1
description Connexion vers le VLAN 10
switchport mode access
switchport access vlan 10
no shutdown
interface f1/2
description Connexion vers le VLAN 20
switchport mode access
switchport access vlan 20
no shutdown
interface f1/0
description Connexion vers le routeur R2
switchport mode trunk
switchport trunk allowed vlan add 10,20
no shutdown
end

View File

@@ -0,0 +1,15 @@
hostname R2
interface g0/0.10
description Gateway pour le reseau 172.16.30.0/24
ip address 172.16.30.254 255.255.255.0
encapsulation dot1Q 10
no shutdown
interface g0/0.20
description Gateway pour le reseau 172.16.40.0/24
ip address 172.16.40.254 255.255.255.0
encapsulation dot1Q 20
no shutdown
end