VLAN Information

View VLAN Information

View VLAN ID:

 ip -d link show dev eth0 | grep 'vlan protocol'

VLAN hopping

Yersinia is a framework for performing layer 2 attacks. It is designed to take advantage of some weaknesses in different network protocols. It pretends to be a solid framework for analyzing and testing the deployed networks and systems. Attacks for the following network protocols are implemented in this particular release:

  • Spanning Tree Protocol (STP)

  • Cisco Discovery Protocol (CDP)

  • Dynamic Trunking Protocol (DTP)

  • Dynamic Host Configuration Protocol (DHCP)

  • Hot Standby Router Protocol (HSRP)

  • 802.1q

  • 802.1x

  • Inter-Switch Link Protocol (ISL)

  • VLAN Trunking Protocol (VTP)

Come build into Kali.

Help menu

Graphical interface:

yersinia -G

To Abuse DTP:

And now add the new route you want to attack:

Last updated

Was this helpful?