Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rpi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ISC2
rpi
Commits
17556b02
Commit
17556b02
authored
1 year ago
by
iliya
Browse files
Options
Downloads
Patches
Plain Diff
feat: labo vlan hopping done
parent
5f3f010c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
content/03_vlan_hopping.md
+57
-0
57 additions, 0 deletions
content/03_vlan_hopping.md
figs/partA_part1_s1_s2_access.png
+0
-0
0 additions, 0 deletions
figs/partA_part1_s1_s2_access.png
with
57 additions
and
0 deletions
content/03_vlan_hopping.md
+
57
−
0
View file @
17556b02
...
...
@@ -46,6 +46,63 @@
fait partie de la couche 2 du modèle OSI (couche liaison) et elle permet
de fiabiliser le protocole MAC par un contrôle d'erreur est un controle
de flux.
5.
Configurer l’interface G0/0 de S1 en trunk, puis affichez à nouveau les
trunk sur S2. Qu’est-ce qui a changé ? Expliquez pourquoi ?
-
Configuration de l'interface GigabitEthernet 0/0 en mode
`trunk`
:
```
S1#conf t
S1(config)#interface GigabitEthernet 0/0
S1(config-if)#switchport trunk encapsulation dot1q
S1(config-if)#switchport mode trunk
S1(config-if)#no shut
S1(config-if)#end
```
En configurant l'interface GigabitEthernet 0/0 de S1 en mode `trunk`, S2 a
détecté de son côté que son interface GigabitEthernet 0/0 est à présent
reliée à un trunk.
```
S2#sh interface trunk
Port Mode Encapsulation Status Native vlan
Gi0/0 auto n-802.1q trunking 1
Port Vlans allowed on trunk
Gi0/0 1-4094
Port Vlans allowed and active in management domain
Gi0/0 1
Port Vlans in spanning tree forwarding state and not pruned
Gi0/0 1
S2#
```
6.
Re-affichez l’état switchport de l’interface G0/0 avec
`sho interface G0/0
switchport`
sur S2. Qu’est-ce qui a changé ?
-
La valeur du champ "Operational Mode" a changé :
```
Operational Mode: trunk
```
7.
Repassez l’interface G0/0 sur S1 en mode access. Est-ce que l’interface
G0/0 passe en access aussi ? Montrez-le avec une capture.
- Oui, l'interface GigabitEthernet 0/0 de S2 repasse aussi en mode access
comme le montre l'image ci-dessous :

8.
Donnez une explication de la valeur
`dynamic auto`
du champs
`Administrative
Mode`
de la commande
`show interface G0/0 switchport`
:
-
`dynamic auto`
signifie que si une interface reçoit un paquet DTP voulant
établir un trunk entre elle et le transmetteur, l'interface qui a reçu le
paquet basculera en mode trunk.
[
^1
]:
[Contrôle
de la liaison logique](https://fr.wikipedia.org/wiki/Contr%C3%B4le_de_la_liaison_logique)
...
...
This diff is collapsed.
Click to expand it.
figs/partA_part1_s1_s2_access.png
0 → 100644
+
0
−
0
View file @
17556b02
1.17 MiB
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment