Score:0

How to cause a network down event on a server?

mt flag

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?

in flag
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.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.