- the requirement
- simulate network packets connect & disconnect
- support low protocol GOOSE
- it’s controllable by program
- the selection & comparation
- dummnet [http://info.iet.unipi.it/~luigi/dummynet/]: dummynet is a tool originally designed for testing networking protocols, and since then used for a variety of applications including bandwidth management. It simulates/enforces queue and bandwidth limitations, delays, packet losses, and multipath effects.
The conclusion: it’s a networking protocols, it cannot block GOOSE transmission.
- Winpcap [http://www.winpcap.org]: The WinPcap programming interface can be used by many types of network tools for analysis, troubleshooting, security and monitoring.
WinPcap can't do:WinPcap receives and sends the packets independently from the host protocols,like TCP-IP. This means that it isn't able to block, filter or manipulate thetraffic generated by other programs on the same machine: it simply"sniffs" the packets that transit on the wire. Therefore, it does notprovide the appropriate support for applications like traffic shapers, QoSschedulers and personal firewalls.
- Switch with power supply controlled by relay.
But this selection needs more hardware to support, such as switch, relay,power supply…
- Enable/disable netcard: In Windows, a program can call API to enable/disable netcard directly. Therefore these operations can also block GOOSE.
- A client/server runs at VMware, and set network is disconnected/connected. Just like this:
I investigate this selection, and find that VMware SDKs have many APIsto operate Guest Operating System. But VMware SDKs cannot support operation theplayer interface.
Attention: all HOST netcard are disabled,but Guests are still connected each other.
The solution is that uses AutoIt to operatethe player interface.
The routing: link dll->get handle of player-> operate networkdisconnected/connected
- the architecture in the future
- enable/disable super PC netcard, so it dose not affect client/server.
- All run in one HOST and VMware
- Or the mixed mode, in section a, the Super PC has/have VMware.