Difference between revisions of "Ipref"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 1: | Line 1: | ||
Topologi: | Topologi: | ||
* Sebuah Server (misalnya 192.168.0.100) | * Sebuah Server (misalnya 192.168.0.100) | ||
− | * Sebuah Client | + | * Sebuah Client (misalnya 192.168.0.101) |
* tersambung melalui jaringan | * tersambung melalui jaringan | ||
* Firewall terbuka untuk port 5001 | * Firewall terbuka untuk port 5001 | ||
Line 9: | Line 9: | ||
sudo apt-get install iperf | sudo apt-get install iperf | ||
+ | |||
+ | |||
+ | ==Di Sisi Server== | ||
Pada Server: | Pada Server: | ||
iperf -s | iperf -s | ||
+ | |||
+ | Akan keluar | ||
+ | |||
+ | ------------------------------------------------------------ | ||
+ | Server listening on TCP port 5001 | ||
+ | TCP window size: 85.3 KByte (default) | ||
+ | ------------------------------------------------------------ | ||
+ | |||
+ | |||
+ | ==Di Sisi Client== | ||
dan pada Client: | dan pada Client: | ||
Line 18: | Line 31: | ||
iperf -c <address dari server> | iperf -c <address dari server> | ||
− | Anda akan melihat, | + | iperf -c 192.168.0.100 (dalam hal ini) |
+ | |||
+ | Anda akan melihat (kira-kira), | ||
− | |||
------------------------------------------------------------ | ------------------------------------------------------------ | ||
− | Client connecting to | + | Client connecting to 192.168.0.100, TCP port 5001 |
− | TCP window size: | + | TCP window size: 85.0 KByte (default) |
------------------------------------------------------------ | ------------------------------------------------------------ | ||
− | [ 3] local 192.168.0. | + | [ 3] local 192.168.0.101 port 39467 connected with 192.168.0.100 port 5001 |
[ ID] Interval Transfer Bandwidth | [ ID] Interval Transfer Bandwidth | ||
− | [ 3] 0.0-10.0 sec 1. | + | [ 3] 0.0-10.0 sec 1.48 GBytes 1.27 Gbits/sec |
Revision as of 09:07, 4 June 2015
Topologi:
- Sebuah Server (misalnya 192.168.0.100)
- Sebuah Client (misalnya 192.168.0.101)
- tersambung melalui jaringan
- Firewall terbuka untuk port 5001
Pada kedua mesin, install ipref
sudo apt-get install iperf
Di Sisi Server
Pada Server:
iperf -s
Akan keluar
------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) ------------------------------------------------------------
Di Sisi Client
dan pada Client:
iperf -c <address dari server>
iperf -c 192.168.0.100 (dalam hal ini)
Anda akan melihat (kira-kira),
------------------------------------------------------------ Client connecting to 192.168.0.100, TCP port 5001 TCP window size: 85.0 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.0.101 port 39467 connected with 192.168.0.100 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 1.48 GBytes 1.27 Gbits/sec
Jika port 5001 terkena firewall, kita dapat mengubahnya melalui -p flag.