Printer FriendlyEmail Article Link

Spirent TestCenter: How to create Gratuitous ARP packets?

  • Spirent TestCenter
  • All Versions
  • ARP
  • Gratuitous ARP



Create a Raw StreamBlock as shown below:

  • Set auto length and remove signature

  • Delete the existing IPv4 header.


  • Add the ARP header.


  • Fill in the fields as shown below.
    • ‚Äč‚ÄčEthernet MAC = Sender Hardware Address
    • can be either ARP Request or ARP Reply
    • Sender Protocol Address = Target Protocol Address (this should be the gateway address that is having its mac changed)
    • Target Hardware Address can be either all zeros (00:00:00:00:00:00) or all ffs (FF:FF:FF:FF:FF:FF)


  • If you need to send gratuitous ARP from many devices, we can add modifiers as shown below.



  • The streamblock may not change its destination MAC if there is a Device on the same subnet/vlan with the "Resolve IPv4 Gateway MAC Address" disabled.
    • The issue seems to be tied to both the Resolve MAC and also the Enable Ping option.
    • There is no open CR for this. Simply enabling "Resolve IPv4 Gateway MAC Address" should fix the issue.


Attachment Description
Sample TCC file

Attachment Description
Sample pcap file

Product : Spirent TestCenter,Spirent TestCenter,ARP