IPDADM(8) | Maintenance Commands and Procedures | IPDADM(8) |
ipdadm - administer the Internet packet disturber
ipdadm [-z zonename] subcommand [subcommand-options]
The ipdadm utility is used to administer the illumos facility for simulating pathological networks by induce packet drops, delays, and corruption.
This functionality is only able to the global zone and zones with exclusive networking stacks. If this is enabled for the global zone, any zone with a shared networking stack will be affected.
The following options are supported:
-z
The following subcommands are supported:
corrupt percent
delay microseconds
drop percent
info
list
remove corrupt,delay,drop
Example 1 Viewing zone information
The following command illustrates how to obtain information about a specific zone while in the global zone.
# ipdadm -z 949860c5-52e2-4f32-965d-02e60e116b72 info ipd information for zone 949860c5-52e2-4f32-965d-02e60e116b72:
corrupt: 0% chance of packet corruption
drop: 0% chance of packet drop
delay: 0 microsecond delay per packet
Example 2 Removing multiple perturbations
The following command illustrates the use of the remove subcommand from inside of a zone.
# ipdadm remove corrupt,drop
Example 3 Enabling packet drops
The following command illustrates the use of the drop subcommand from the global zone.
# ipdadm -z 949860c5-52e2-4f32-965d-02e60e116b72 drop 25
The following exit values are returned:
0
1
2
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Evolving |
March 1, 2012 | OmniOS |