Question 19
This commit is contained in:
16
TP-02/config/loopback_R01.conf
Normal file
16
TP-02/config/loopback_R01.conf
Normal file
@@ -0,0 +1,16 @@
|
||||
interface loopback 1
|
||||
ip address 192.168.1.1 255.255.255.255
|
||||
description "interface loopback 1"
|
||||
no shut
|
||||
interface loopback 2
|
||||
ip address 192.168.2.1 255.255.255.255
|
||||
description "interface loopback 2"
|
||||
no shut
|
||||
interface loopback 3
|
||||
ip address 192.168.3.1 255.255.255.255
|
||||
description "interface loopback 3"
|
||||
no shut
|
||||
interface loopback 4
|
||||
ip address 192.168.4.1 255.255.255.255
|
||||
description "interface loopback 4"
|
||||
no shut
|
||||
30
TP-02/config/vlan_ESW3.conf
Normal file
30
TP-02/config/vlan_ESW3.conf
Normal file
@@ -0,0 +1,30 @@
|
||||
hostname ESW3
|
||||
|
||||
! 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
|
||||
15
TP-02/config/vlan_R03.conf
Normal file
15
TP-02/config/vlan_R03.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
hostname R3
|
||||
|
||||
interface g0/0.10
|
||||
description Gateway pour le reseau 172.16.50.0/24
|
||||
ip address 172.16.50.254 255.255.255.0
|
||||
encapsulation dot1Q 10
|
||||
no shutdown
|
||||
|
||||
interface g0/0.20
|
||||
description Gateway pour le reseau 172.16.60.0/24
|
||||
ip address 172.16.60.254 255.255.255.0
|
||||
encapsulation dot1Q 20
|
||||
no shutdown
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user