Marc Greis' Tutorial for the Network Simulator ns

I. Introduction

I. はじめに

[Next section] [Back to the index]

Disclaimer: This tutorial was originally developed by Marc Greis. Currently the tutorial is maintained and being expanded by the VINT group.

このチュートリアルはもともとMarc Greis氏によって書かれたものです. 現在では, VINTグループによって管理/拡張されています.

Please note: if there is any problem with the example scripts provided below, please refer to the test suites (~ns/tcl/test/test-suite-greis.tcl and test-suite-WLtutorial.tcl) for and lastest updates and let us know, thanks.

注意: もし下記で示されている例題スクリプトに問題があったら, test suites (~ns/tcl/test/test-suite-greis.tcl and test-suite-WLtutorial.tcl) および最新版をあたってみてください. そんでもってお知らせを. よろしくね.


Since you have found this page, I assume that you already know what ns is and where you can get it from. If not, I suggest you either go to the web page for the VINT project or the web page for ns (version 2). Note: In these pages I describe ns version 2. Version 1 is different, though there is a backwards compatibility library in version 2.

既にこのページを発見してるって時点で, nsが何をするもんだとか, どこから取ってこれるかとかは知ってるもんだと仮定してます. もしそうじゃなかったら, VINTプロジェクトのウェブページか ns (version2)のウェブページへ行ってみてください. 注意: このページではns version 2について説明してます. version 2のライブラリは(version 1に対して)バックワードコンパチではあるけど, ns version 1は別もんです.

The purpose of these pages is to make it easier for new ns users to use ns and nam, to create their own simulation scenarios for these tools and to eventually add new functionality to ns. I have found the existing documentation to be rather useful for users who already know the basic features of ns, while it can be a bit tedious for new users to extract the necessary information from the manuals and the example scripts. In this tutorial I will lead you through some simple examples, introducing more and more new features as we go along. The ultimate goal is that after a short time you are able to efficiently use ns and to find any further information you might need in the existing documentation. For this purpose I will also try to tell you where I found the information in this tutorial myself, so you not only learn how to use ns, but also how to use its documentation.

このページの目的は, ns初心者がnsとnamを使ったり, 自分用のシミュレーションシナリオを作ったり, さらには新たな機能をnsに付け加えたりするのを 手軽なものにしたいってことです. nsの基本的な内容を知ってる人達にとってはns manualの方が有用だってことは 知ってるけど, 初心者がマニュアルや例題スクリプトから必要な情報を ひっぱってくるのってちょっとつらい場合もある. このチュートリアルでは, 単純な例題を通じて, 読み進めるにつれて段々と新しい機能を導入していきます. 究極のゴールは, ちょっとしたら, 効果的ににnsを使いこなせて, ns Manual内で自分が必要とするかもしれないさらなる情報を捜し出せるように なるってこと. このためには, このチュートリアル内でどこで情報を見つけたかに ついても説明しようってことです. つまりどうやってnsを使うかを学ぶだけ じゃなくって, ns Manualをどうやって使うかってことも学ぶわけです.

The web is probably the best medium for a tutorial like this, because it's not only possible to add pictures (or even animations) for the examples, but you can also directly download the examples if you don't have the time for typing them in yourself (though I would suggest doing that at least for the first few examples). I chose a frame-oriented design for these pages, since it makes them easier to navigate. If you find that the left frame with the contents takes up too much room or if you just don't like frames, you can switch to a frameless version.

ウェブはたぶんこういうチュートリアルのためには一番良いメディアだよね, だって, 例題のために絵(アニメーションも)を足せるだけじゃなくって, もし自分でタイプするのに時間がないのなら例題ファイルを 直接ダウンロードできるんだし(でも最低限, 最初のいくつかのファイルは 書いてみることをお勧めするけど). あと, ナビゲーションするのが簡単なのでこのページはフレーム指向のデザインに なってるんだけど, もし左のフレームが場所とりすぎてるとか, フレーム嫌いだったら, ここを押すとフレームなしバージョンになります.

Please understand that I can not give you a full reference manual for ns here, or a full Tcl/C++ tutorial, and that in a simple tutorial like this I can not help you with special problems like installation problems. There are better sources for that which I am going to list in Section II.

お願いですから, nsの完全なリファレンスマニュアルや完全なTcl/C++のチュートリアル を期待しないでくださいね. あとは, このような単純なチュートリアルでは, インストール時の問題みたいな特殊な話に関してもお助けできません. そういうのは, II節にまとめてある 他の資料内にあります.

If you have any suggestions, find any bugs or problems, have any comments and also if you have any new (well-documented) examples that could be added here, please send email to ns-users mailing list.

何か提案があるとか, バグや問題を見つけたとか, 何かコメントがあるとか, あと, ここに加えられるような 新たな例題(ちゃんと文書化されてるやつね)があるよって場合には, us-usersにメールください.

[Next section] [Back to the index]

ns-users
ns-users@isi.edu

日本語に関しての文句などは,

こちら