This commit is contained in:
2025-11-08 11:21:54 +01:00
parent 1f77db8472
commit 328d48f861
16 changed files with 516 additions and 23 deletions

30
TP-01/config/ESW2.conf Normal file
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,30 @@
hostname ESW2
! Configuration des interfaces
interface f1/1
description Connexion vers VPC3
switchport mode access
switchport access vlan 10
no shutdown
interface f1/2
description Connexion vers VPC4
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,99
no shutdown
end

15
TP-01/config/R2.conf Normal file
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

View File

@@ -0,0 +1,45 @@
hostname R2
interface g0/0
description Interface physique parent
ip address None None
encapsulation dot1Q
no shutdown
interface g0/0.10
description Sous interface g0/0.10
ip address 172.16.30.254 255.255.255.0
encapsulation dot1Q 10
no shutdown
interface g0/0.20
description Sous interface g0/0.20
ip address 172.16.40.254 255.255.255.0
encapsulation dot1Q 20
no shutdown
interface g2/0
description Lien principal vers le switch ESW4
ip address None None
encapsulation dot1Q
no shutdown
interface g2/0.10
description Gateway pour le reseau 172.16.50.0
ip address 172.16.50.254 255.255.255.0
encapsulation dot1Q 10
no shutdown
interface g2/0.20
description Gateway pour le reseau 172.16.60.0
ip address 172.16.60.254 255.255.255.0
encapsulation dot1Q 20
no shutdown
interface g2/0.99
description Interface de gestion VLAN 99
ip address 172.16.100.254 255.255.255.192
encapsulation dot1Q 99
no shutdown
end