|
-accounting
|
Turn on accounting for packets. Only works if packets come back to the packet generator.
|
|
-arp-destination-hw-address string
|
ARP target hardware address (default: uses interface MAC address).
|
|
-arp-destination-ip-address string
|
ARP target IP address (default: 127.0.0.1 or ::1).
|
|
-arp-operation uint
|
ARP operation (1: request, 2: reply, 3: rarp).
|
|
-arp-source-hw-address string
|
ARP sender hardware address (default: uses interface MAC).
|
|
-arp-source-ip-address string
|
ARP sender IP address (default: uses interface IP).
|
|
-burst int
|
Number of packets to inject at a time. Use with -sleep.
|
|
-count int
|
Number of packets to generate.
|
|
-data-type string
|
Payload type: constant, incrementing, random (default: no payload).
|
|
-ethernet-dmac string
|
Destination MAC address (default: ff:ff:ff:ff:ff:ff).
|
|
-ethernet-smac string
|
Source MAC address (default: interface MAC address).
|
|
-file string
|
Write packets to file.
|
|
-gre
|
Enable GRE.
|
|
-gre-checksum-present
|
Enable GRE checksum present bit.
|
|
-gre-key-present
|
Enable GRE key present bit.
|
|
-gre-over-mpls
|
Enable GRE over MPLS.
|
|
-gre-protocol uint
|
Set the protocol type of the GRE payload (default: 0x0800 (IP)).
|
|
-gre-seq-present
|
Enable GRE sequence number present bit.
|
|
-gre-version uint
|
Set the GRE version number (default: 0).
|
|
-header string
|
Custom header for all packets.
|
|
-hex
|
Print hex dump of packets.
|
|
-i string
|
Interface name for packet injection.
|
|
-icmp-code uint
|
ICMP code (default: 0).
|
|
-icmp-type uint
|
ICMP type (default: 0).
|
|
-inc-dmac
|
Increment destination MAC.
|
|
-inc-smac
|
Increment source MAC.
|
|
-inner-ethernet-dmac string
|
Inner Ethernet destination MAC address (default: ff:ff:ff:ff:ff:ff).
|
|
-inner-ethernet-smac string
|
Inner Ethernet source MAC address (default: ff:ff:ff:ff:ff:ff).
|
|
-inner-ip-checksum uint
|
Inner IP checksum (default: compute automatically).
|
|
-inner-ip-dont-fragment uint
|
Set inner IP Don't Fragment flag as 1.
|
|
-inner-ip-dst string
|
Inner destination IP address (default: 127.0.0.1 or ::1).
|
|
-inner-ip-flow-label uint
|
Inner IPv6 Flow Label value (default: 0).
|
|
-inner-ip-frag-offset uint
|
Inner IP fragment offset in units of 64-bits (for example, 1 = 64 bits).
|
|
-inner-ip-protocol string
|
Inner IP protocol. Supports protocol text (TCP, UDP) and code (63 for TCP) (default: TCP).
|
|
-inner-ip-src string
|
Inner source IP address (default: 127.0.0.1 or ::1).
|
|
-inner-ip-tos uint
|
Inner IP Type Of Service (TOS) value (default: 0).
|
|
-inner-ip-traffic-class uint
|
Inner IP traffic-class value (default: 0).
|
|
-inner-ip-ttl uint
|
Inner IP time to live (TTL) (default: 64).
|
|
-inner-ip-version int
|
Inner IP version (default: 4).
|
|
-inner-vlan-id uint
|
Inner VLAN ID (default: 0).
|
|
-inner-vlan-tpid uint
|
Inner VLAN Ethernet type (default: 33024, Dot1Q).
|
|
-inner-vlan-vpri uint
|
Inner VLAN priority (default: 0).
|
|
-ip-checksum string
|
IP checksum (default: compute automatically).
|
|
-ip-dont-fragment string
|
Set IP flag: 0 → 000 (nothing set), 1 → 001 (More Fragments), 2 → 010 (Don't Fragment), 4 → 100 (reserved bit).
|
|
-ip-dst string
|
Destination IP address (default: 127.0.0.1 or ::1).
|
|
-ip-flow-label string
|
IPv6 Flow Label value (default: 0).
|
|
-ip-frag-offset string
|
Fragment offset in units of 64-bits (1 = 64 bits).
|
|
-ip-protocol string
|
IP protocol. Supports protocol text (TCP, UDP, GRE, VXLAN, ICMP, NDP) and code (default: TCP).
|
|
-ip-src string
|
Source IP address (default: interface IP).
|
|
-ip-tos string
|
IP Type Of Service value (default: 0).
|
|
-ip-traffic-class string
|
IP traffic-class value (default: 0).
|
|
-ip-ttl string
|
IP time to live (TTL) (default: 64).
|
|
-ip-version string
|
IP version. Set for accurate IP packet creation (default: 4).
|
|
-mpls-exp string
|
Comma-separated MPLS EXP (Experimental) value (default: 0).
|
|
-mpls-label string
|
Comma-separated list of MPLS labels to add to the packet, from top to bottom.
|
|
-mpls-ttl string
|
Comma-separated MPLS TTL value (default: 64).
|
|
-ndp string
|
Specify the Neighbor Discovery Protocol: nbr-solicit or nbr-advt.
|
|
-ndp-target-address string
|
NDP target address (default: for advertisement, source IP; for solicitation, destination IP).
|
|
-pcap string
|
File to replay pcap.
|
|
-progress
|
Display a progress bar.
|
|
-seed int
|
Seed for pseudo-random payload generator.
|
|
-size int
|
Size of payload.
|
|
-sleep string
|
Time duration to sleep during each burst. Use with -burst.
|
|
-stdout
|
Print packets to stdout.
|
|
-tcp-dport int
|
TCP destination port (default: 40000).
|
|
-tcp-flags string
|
Set TCP control flags: U (Urgent), A (Acknowledgement), P (Push), R (Reset), S (Synchronize), F (Finish).
|
|
-tcp-sport int
|
TCP source port (default: 40000).
|
|
-udp-dport int
|
UDP destination port (default: 40000).
|
|
-udp-sport int
|
UDP source port (default: 40000).
|
|
-vlan-id uint
|
VLAN ID (default: 0).
|
|
-vlan-tpid uint
|
VLAN Ethernet type (default: 33024, Dot1Q).
|
|
-vlan-vpri uint
|
VLAN priority (default: 0).
|
|
-vxlan-udp-dport int
|
UDP destination port for VXLAN (default: 4789).
|
|
-vxlan-udp-sport int
|
UDP source port for VXLAN (default: 0).
|
|
-vxlan-vni uint
|
VXLAN VNI (default: 0).
|