DHCP Starvation macof attacks

Опубликовано: 15 Май 2026
на канале: Richard Mehok
70
1

**Router

LAN_DHCP

hostname LAN_DHCP

ip dhcp excluded-address 192.168.2.1 192.168.2.50

ip dhcp pool DHCP_LAN
network 192.168.0.0 255.255.240.0
default-router 192.168.2.1
dns-server 192.168.2.254


interface fas0/0
ip address 192.168.2.1 255.255.240.0
no shutdown
___________________________________________________________

**Switch

hostname dhcp_starvation

int vlan 1
ip address DHCP
no shutdown

int range fas0/1 -24
spanning-tree portfast
__________________________________________________________

Kali to save time, I did update, upgrade and install before lab

sudo apt update
sudo apt upgrade
sudo apt install wireshark
sudo apt install yersinia

x is to start attach
shift k kills attach
__________________________________________________________

sh ip dhcp pool DHCP_LAN
sh ip dhcp binding
sh ip dhcp pool DHCP_LAN
sh ip dhcp binding assigned
show ip dhcp server statistics
show ip dhcp conflict
show dhcp server
clear ip dhcp binding *