Simulating Nodes on a network.

Hi guys,

So this is probably a basic networking question, I want to write a script that will simulate nodes on a network. I could set up a number of virtual machines and have them set up on the same virtual network but that seems excessive and arduous. Instead I want to simulate nodes. For example I would like 4 nodes to be able to talk to each other(on the same machine but these nodes should think they are actually different machines), Node A can send data to Node B, Node B can send data to Node C.... and so forth. My educated guess would be to do something with the loopback address but not sure what.

Thanks
Last edited on
What are you hoping to simulate?
- What happens when messages are lost.
- What happens when one node becomes congested.
- What happens when the link is lost.

You can fake most things inside a single machine using
- https://en.wikipedia.org/wiki/Unix_domain_socket
- https://en.wikipedia.org/wiki/Pipeline_(Unix)
Thanks salem :)

Never thought about the above points
Topic archived. No new replies allowed.