Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
sio1_dhcp_spoofing [2022/01/14 15:53] sio1 créée |
sio1_dhcp_spoofing [2022/01/14 16:54] (Version actuelle) sio1 |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== DHCP SPOOFING ====== | + | ====== DHCP SNOOPING/SPOOFING ====== |
===== Mettre en place l'infrastructure ===== | ===== Mettre en place l'infrastructure ===== | ||
{{:37b29684947dc150ca3028b69433ebf9.png|}} | {{:37b29684947dc150ca3028b69433ebf9.png|}} | ||
+ | {{:spoofing_config.png|}} | ||
+ | {{:spoofing_conf.png|}} | ||
- | ===== Contrer l'attaque ===== | + | ====== Contrer l'attaque de DHCP SPOOFING ====== |
+ | ===== Activation du DHCP Snooping sur tout les ports ===== | ||
<code> | <code> | ||
- | switch# | + | Switch(config)#ip dhcp snooping |
</code> | </code> | ||
+ | ===== Activation du DHCP Snooping sur un VLAN ===== | ||
+ | <code> | ||
+ | Switch(config)#ip dhcp snooping vlan 10 | ||
+ | </code> | ||
+ | ===== Configurer le truck ===== | ||
+ | <code> | ||
+ | Switch(config)#interface GigabitEthernet0/1 | ||
+ | Switch(config-if)#ip dhcp snooping trust | ||
+ | </code> | ||
+ | |||
+ | |||
+ | ===== Activer l'option DHCP 82 ===== | ||
+ | Cette option permet d'augmenter l'efficacite du DHCP snooping | ||
+ | <code> | ||
+ | (conf)#ip dhcp snooping information option | ||
+ | </code> |