|
with various data-link layer, network layer, routing and transport
layer networking protocols. It has been specifically developed for
undergraduate teaching.">
undergraduate, teaching">
TEXT ="black" LINK="blue" VLINK="purple">
Downloading and installing cnetThe most recent release of cnet is available from:
The full distribution (about 990KB) includes all source code, Makefiles, documentation, sub-directories for each of the supported operating systems, and a few representative protocol examples. NOTE that on a multi-user Linux or Unix system that cnet only needs to be installed once. Students on such systems do not need to install their own copies unless they wish to modify and experiment with the cnet implementation itself. cnet is supported only on the following platforms:
SunOS 4.1.x, Solaris 2.x, and SGI IRIX (Rel. 5 or 6). In particular, cnet does not run on either Windows or the Apple Macintosh. Thanks to Jordan Hubbard <jkh@freebsd.org> and Michael Haro <mharo@area51.fremont.ca.us> for making the FreeBSD port available. Thanks to Mark Davies, Victoria University of Wellington, NZ <mark@mcs.vuw.ac.nz> for contributing his patches for NetBSD. 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. Please ask your professor or instructor. If you find these instructions confusing, but eventually get cnet installed, please email chris@cs.uwa.edu.au with any suggestions on how the instructions could be clearer.
The cnet network simulator (v1.7.7)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
RequirementsTo install cnet you should be prepared and able to:
Installation
Installation restrictionsYou should note the following requirements and restrictions for various systems:
TestingThere are some introductory examples (such as may be used as student introductions to cnet) in the EXAMPLES directory. A few of these examples are described in detail by making a walkthrough of the code. These are the sort of things an academic staff member may set as introductory exercises, or to assist students to "get up to speed" quickly. You should now be able to execute these examples from the command-line with the commands: cnet TICKTOCK cnet STOPANDWAIT cnet FLOODING1 Each example has its own topology file defining the network to be simulated, for example T2, CLICK, and FLOODING1. When cnet appears to work, the example files such as {TICKTOCK + ticktock.c}, {CLICK + click.c}, {KEYBOARD + keyboard.c}, {LINKSTATE + linkstate.c}, and {STOPANDWAIT + stopandwait.c} in the EXAMPLES directory should all be placed in a system-wide examples directory for everyone to copy and run.
|