The cnet network simulator (v3.3.3)

cnet enables development of and experimentation with a variety of data-link layer, network layer, and transport layer networking protocols in networks consisting of any combination of wide-area-networking (WAN), local-area-networking (LAN), or wireless-local-area-networking (WLAN) links.

cnet runs on Linux and Apple's Mac OS-X (10.4 to 10.13).
cnet does not run on Windows.

The most up-to-date public version of this documentation remains at

Getting started:

Greater detail:

Using cnet in education

cnet has been specifically developed for, and is used in, undergraduate computer networking courses taken by thousands of students worldwide since 1991. At The University of Western Australia, cnet is used primarily in Chris McDonald's undergraduate unit Networks and Security (CITS3002).

If you decide to use cnet in the teaching of an undergraduate course, or need some more info on how to, please let me know. I'd like to keep a record of sites using cnet and the types of examples and projects being attempted. I'll also be able to keep you informed of updates.

Please appreciate that there are thousands of students worldwide using cnet. I am unable to respond to individual questions about cnet, unless they are from students enrolled in a course that I'm presenting. In particular, I will not answer homework or assignment questions. Please ask your professor or instructor.


The following people have generously offered suggestions, pieces of code, and acted as testers, as cnet has developed over the years. A big thanks to them all:

Dr Greg Baur (University of Western Kentucky), Prof. Bruce Elenbogen (University Michigan-Dearborn), Mark Davies (University of Wellington, New Zealand), Dr Rowan Davies (UWA), Amer Filipovic (UWA), Matthew Heinsen Egan (UWA), Prof. John Hine (University of Wellington, New Zealand), Prof. Chris Johnson (The Australian National University), Prof. David Laverell (Calvin College, Michigan), A/Prof. Phil MacKenzie (Boise State University, Idaho), Prof. Jeff Ondich (Carleton College, Minnesota), Asad Pirzada (UWA), Dr Chris Pudney (UWA), Dr Mike Robins (UWA), Dr Michael Rogers (Tennessee Technological University), Dean Scarff (UWA), Prof. James Wilkinson (College of Charleston, South Carolina), and my over 2900+ undergraduate students at The University of Western Australia and Dartmouth College who have always been able to find the last bug.

cnet development has been supported by an ACM-SIGCSE Special Project Grant

and an Australian Apple University Consortium Scholarship.

 cnet v3.3.3, written by
 Last modified: Tue Oct 13 1:07PM 2015