For new versions, check https://github.com/Darkkey/javaNetSim
javaNetSim (Java Network Simulator) - it's a fork of a project jFirewallSim. The main goal of javaNetSim is creating a software to simulate various TCP/IP networks based on Ethernet, WiFi, PPP, etc...