TP01
This commit is contained in:
23
TP-01/data/ESW2.json
Normal file
23
TP-01/data/ESW2.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"hostname": "ESW2",
|
||||
"interfaces": [
|
||||
{
|
||||
"name": "f1/1",
|
||||
"mode": "access",
|
||||
"vlan_id": "10",
|
||||
"description": "Connexion vers le VLAN 10"
|
||||
},
|
||||
{
|
||||
"name": "f1/2",
|
||||
"mode": "access",
|
||||
"vlan_id": "20",
|
||||
"description": "Connexion vers le VLAN 20"
|
||||
},
|
||||
{
|
||||
"name": "f1/0",
|
||||
"mode": "trunk",
|
||||
"vlan_id": "10,20",
|
||||
"description": "Connexion vers le routeur R2"
|
||||
}
|
||||
]
|
||||
}
|
||||
14
TP-01/data/ESW2.yaml
Normal file
14
TP-01/data/ESW2.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
hostname: ESW2
|
||||
interfaces:
|
||||
- name: f1/1
|
||||
mode: access
|
||||
vlan_id: 10
|
||||
description: Connexion vers VPC3
|
||||
- name: f1/2
|
||||
mode: access
|
||||
vlan_id: 20
|
||||
description: Connexion vers VPC4
|
||||
- name: f1/0
|
||||
mode: trunk
|
||||
vlan_id: "10,20,99"
|
||||
description: Connexion vers le routeur R2
|
||||
19
TP-01/data/ESW4.yaml
Normal file
19
TP-01/data/ESW4.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
hostname: ESW4
|
||||
management:
|
||||
ip_address: 172.16.100.253
|
||||
subnet: 255.255.255.192
|
||||
vlan: 99
|
||||
|
||||
interfaces:
|
||||
- name: f1/1
|
||||
mode: access
|
||||
vlan_id: 10
|
||||
description: Connexion vers VPC5
|
||||
- name: f1/2
|
||||
mode: access
|
||||
vlan_id: 20
|
||||
description: Connexion vers VPC6
|
||||
- name: f1/0
|
||||
mode: trunk
|
||||
vlan_id: "10,20,99"
|
||||
description: Connexion vers le routeur R2
|
||||
19
TP-01/data/R2.json
Normal file
19
TP-01/data/R2.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"hostname": "R2",
|
||||
"interfaces": [
|
||||
{
|
||||
"name": "g0/0.10",
|
||||
"description": "Gateway pour le reseau 172.16.30.0/24",
|
||||
"ip": "172.16.30.254",
|
||||
"mask": "255.255.255.0",
|
||||
"vlan_id": "10"
|
||||
},
|
||||
{
|
||||
"name": "g0/0.20",
|
||||
"description": "Gateway pour le reseau 172.16.40.0/24",
|
||||
"ip": "172.16.40.254",
|
||||
"mask": "255.255.255.0",
|
||||
"vlan_id": "20"
|
||||
}
|
||||
]
|
||||
}
|
||||
41
TP-01/data/R2.yaml
Normal file
41
TP-01/data/R2.yaml
Normal file
@@ -0,0 +1,41 @@
|
||||
hostname: R2
|
||||
interfaces:
|
||||
- name: g0/0
|
||||
description: Interface physique parent
|
||||
ip: null
|
||||
mask: null
|
||||
|
||||
- name: g0/0.10
|
||||
description: Sous interface g0/0.10
|
||||
ip: 172.16.30.254
|
||||
mask: 255.255.255.0
|
||||
vlan_id: 10
|
||||
|
||||
- name: g0/0.20
|
||||
description: Sous interface g0/0.20
|
||||
ip: 172.16.40.254
|
||||
mask: 255.255.255.0
|
||||
vlan_id: 20
|
||||
|
||||
- name: g2/0
|
||||
description: Lien principal vers le switch ESW4
|
||||
ip: null
|
||||
mask: null
|
||||
|
||||
- name: g2/0.10
|
||||
description: Gateway pour le reseau 172.16.50.0
|
||||
ip: 172.16.50.254
|
||||
mask: 255.255.255.0
|
||||
vlan_id: 10
|
||||
|
||||
- name: g2/0.20
|
||||
description: Gateway pour le reseau 172.16.60.0
|
||||
ip: 172.16.60.254
|
||||
mask: 255.255.255.0
|
||||
vlan_id: 20
|
||||
|
||||
- name: g2/0.99
|
||||
description: Interface de gestion VLAN 99
|
||||
ip: 172.16.100.254
|
||||
mask: 255.255.255.192
|
||||
vlan_id: 99
|
||||
Reference in New Issue
Block a user