I have point-to-point udp communication representing an uplink/downlink between two systems running on separate computers. The objective is to emulate intermittent comms loss between the two, as disconnecting the Ethernet switch isn't an elegant solution especially for the intermittent behavior.
Would it be possible to intercept the packet on a given port and drop packets. The objective isn't to deactivate the network interface, as that will cause specific failures in the uplink system. The objective rather to maintain the link but a lossy link nonetheless (intermittent loss of packets) ?