0

This may seem weird, but I actually would like to cause a network failure on a project I'm working on. It's a microcontroller that is running tcp/ip and I just want to see what would happen if the network got dropped somehow. I want to ensure the software I've written can handle this event gracefully.

So how do I cause the network to go down without simply pulling the ethernet cable? (I don't want to just pull the cable since that would cause the ethernet chip to reboot and my software won't have to try very hard to get everything working). Or to ask another way, what kind of network traffic could I send my MCU to cause the connection to drop?

  • You have a lot of possible "interruptions" you could test: on each OSI layer packets may get dropped or get malformed. Or the connection speed is getting does below what your microcontroller requires. I would try to place a computer in between the network connection that passes everything (unless configured to drop certain packets) and allows to simulate network problems. – Robert Oct 13 '22 at 20:35

0 Answers0