This shows you the differences between two versions of the page.
isrm:laboratoare:new:03 [2022/03/12 12:07] mbarbulescu |
isrm:laboratoare:new:03 [2024/10/09 10:56] (current) dragos.niculescu |
||
---|---|---|---|
Line 42: | Line 42: | ||
Vom face o analiză teoretică folosind temporizările, randomizările, și dimensiunile antetelor din standard, versus estimarea în simulator. | Vom face o analiză teoretică folosind temporizările, randomizările, și dimensiunile antetelor din standard, versus estimarea în simulator. | ||
- | |||
- | ====== [00] Pregătire laborator ====== | ||
- | |||
- | <note important> | ||
- | Pe [[:isrm:mv|mașina virtuală]] aveți tot ce trebuie în ''/home/student/ns-3-dev''. | ||
- | |||
- | Dacă lucrați pe alt dispozitiv trebuie să rulați comenzile: | ||
- | |||
- | <code bash> | ||
- | student@isrm-vm-2020:~$ git clone https://gitlab.com/nsnam/ns-3-dev.git | ||
- | student@isrm-vm-2020:~$ cd ~/ns-3-dev | ||
- | student@isrm-vm-2020:~/ns-3-dev$ git checkout -b ns-332-rel ns-3.32 | ||
- | student@isrm-vm-2020:~$ cd ~/ns-3-dev/examples | ||
- | student@isrm-vm-2020:~/ns-3-dev/examples$ git clone https://github.com/isrm-lab/ns3-labs.git | ||
- | student@isrm-vm-2020:~$ cd ~/ns-3-dev | ||
- | student@isrm-vm-2020:~$ ./waf configure --build-profile=debug --enable-examples --enable-tests | ||
- | student@isrm-vm-2020:~$ ./waf build -j4 | ||
- | </code> | ||
- | </note> | ||
- | |||
- | Pentru a lansa aplicatia de Jupyter Notebook, rulati urmatoarea comanda: | ||
- | |||
- | <code bash> | ||
- | student@isrm-vm-2020:~$ jupyter-notebook | ||
- | </code> | ||
====== [01] Capacitatea ideală teoretica ====== | ====== [01] Capacitatea ideală teoretica ====== | ||
Line 198: | Line 173: | ||
<code bash> | <code bash> | ||
- | mihai@wormhole:~/facultate/ns-3-dev$ ./waf --run "lab3 --numberOfNodes=2 \ | + | mihai@wormhole:~/facultate/ns-3-dev$ ./ns3 run "lab3 --numberOfNodes=2 \ |
--payloadSize=1400 --offeredRate=11Mbps --phyRate=DsssRate11Mbps --simulationTime=2" | --payloadSize=1400 --offeredRate=11Mbps --phyRate=DsssRate11Mbps --simulationTime=2" | ||
Waf: Entering directory `/home/mihai/facultate/ns-3-dev/build' | Waf: Entering directory `/home/mihai/facultate/ns-3-dev/build' |