Dieser Artikel eröffnet eine Reihe von Veröffentlichungen mit der Übersetzung des Lehrbuchs " ns-3 Tutorial Release ns-3.29 " über den Simulator von ns-3-Netzwerken.

Dieses Dokument ist eine Übersetzung des englischen Originaldokuments, das in reStructuredText für Sphinx geschrieben und im Verzeichnis doc / tutorial des ns-3-Quellcodes gespeichert ist .
1 Vorwort
1.1 Über ns-3
1.2 Für Benutzer von ns-2
1.3 Teilnahme am Projekt
1.4 Organisation des Handbuchs
2 Informationsquellen
2.1 Netzwerk
2.2 Git
2.3 WAF
2.4 Entwicklungsumgebung
2.5 Socket-Programmierung
Die Primärdokumentation für das ns-3-Projekt ist in fünf Formen verfügbar:
Kapitel 1
Vorwort
ns-3 — , , , . , ns-3, 2006 .
— ns-3 , . . , .
, ns-3 , .
:
- ns-3 , , .
- ns-3 ns-2, . C++, ns-3 — , API- ns-2.
1.1 ns-3
ns-3 , , . , ns-3 , . ns-3 , , , , , .
, ns-3 - , ns-3 -, ns-3 -.
. ns-3 .
- ns-3 , , . , , , ns-3 . ns-3 , . , C++ / Python.
- ns-3 Linux macOS, BSD, Windows, Linux, Windows Subsystem Linux Cygwin. Windows Visual Studio , . Windows Linux.
- ns-3 - . ns-3 ns-3 (ns-3-users@googlegroups.com).
1.2 ns-2
, ns-2 ( , ns-3), ns-3 . ns-2 OTcl, nam. ns-2 C++ ( main() - OTcl). , ns-2 C++, OTcl. ns-3, C++ Python. C++, Python. . ns-3 pcap, . , C++ .
(, C++, ns-2 ns-3). , ns-2 ns-3.
, : " - ns-2 ns-3?" , - ns-2 ( ns-2, , ns-2), ns-3 :
- ns-3 , , ns-2 .
- ns-3 , ns-2, ( ).
- ns-3 ns-2, . , ns-2 (, ) ns-3.
, ns-2 , ns-3. , ns-3 ( LTE WiFi), . , Linux ns-3 (DCE). ns-2 ns-3, C++.
, ( ), , , , (ns-3).
1.3
ns-3 — - . , . , , , ns-3, ns-2:
, , , , . , , ns-3 (, " ..."), .… () https://www.gitlab.com/nsnam , .
1.4
, , , :
2
2.1
, ns-3. - : https://www.nsnam.org
ns-3. - : https://www.nsnam.org/documentation/.
- , .
-, - ns-3, : https://www.nsnam.org/wiki/.
, , , . .
GitLab.com:
https://gitlab.com/nsnam/.
ns-3-dev . Mercurial :
http://code.nsnam.org.
2.2 Git
- . , , , , . ns-3 Mercurial , 2018, Git. , Git, . GitLab.com : https://git-scm.com/book/ru/v2.
2.3 WAF
, , , . , . , make. , , , . . , Python.
ns-3 Waf. Python. ns-3, Python.
, Waf, , :
https://waf.io/book/
:
https://gitlab.com/ita1024/waf/.
2.4
, ns-3 C++ Python. API ns-3 Python, C++. , - C++. , , , . , C++, . C++ .
C++, , , -, . , : https://github.com/ashtanyuk/CPP-2018.
Linux, ns-3 GNU. — , . , GNU . http://en.wikipedia.org/wiki/GNU_toolchain.
ns-3 gcc, GNU binutils gdb. , make, autotools GNU. Waf.
macOS Xcode. ns-3 Mac Xcode Apple App Store, , , - ns-3: (https://www.nsnam.org/wiki/Installation).
, ns-3 Linux Unix- . , Windows, , Linux. , ns-3 ( ) Cygwin. Cygwin ns-3 - ns-3:
http://www.cygwin.com/.
MinGW . Cygwin , VMware server, Linux.
2.5
, , API- (Berkeley Sockets). , API . TCP/IP : "TCP/IP Sockets in C", Donahoo and Calvert.
-, , :
http://cs.baylor.edu/~donahoo/practical/CSockets/.
Wenn Sie die ersten vier Kapitel des Buches verstehen (oder für diejenigen, die keinen Zugriff auf eine Kopie des Buches haben, die Echo-Clients und -Server, die auf der Website über den obigen Link angezeigt werden), reicht dies aus, um das Lernprogramm zu verstehen. Es gibt ein ähnliches Buch
, Multicast Sockets, Multicast Sockets, von Makofske und Almeroth.
Es behandelt Material, das Sie möglicherweise benötigen, wenn Sie die Verteilungsbeispiele von Multicast studieren.
Fortsetzung: Kapitel 3