Difference between revisions of "Ipref"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | Topologi: | |
+ | * Sebuah Server (misalnya 192.168.0.100) | ||
+ | * Sebuah Client | ||
+ | * tersambung melalui jaringan | ||
+ | * Firewall terbuka untuk port 5001 | ||
− | + | ||
+ | Pada kedua mesin, install ipref | ||
sudo apt-get install iperf | sudo apt-get install iperf | ||
− | + | Pada Server: | |
iperf -s | iperf -s | ||
− | + | dan pada Client: | |
− | iperf -c <address | + | iperf -c <address dari server> |
− | + | Anda akan melihat, | |
− | oli@bert:~$ iperf -c | + | oli@bert:~$ iperf -c 192.168.0.100 |
------------------------------------------------------------ | ------------------------------------------------------------ | ||
Client connecting to tim, TCP port 5001 | Client connecting to tim, TCP port 5001 | ||
Line 24: | Line 29: | ||
[ 3] 0.0-10.0 sec 1.04 GBytes 893 Mbits/sec | [ 3] 0.0-10.0 sec 1.04 GBytes 893 Mbits/sec | ||
− | + | ||
+ | Jika port 5001 terkena firewall, kita dapat mengubahnya melalui -p flag. | ||
Revision as of 07:43, 4 June 2015
Topologi:
- Sebuah Server (misalnya 192.168.0.100)
- Sebuah Client
- tersambung melalui jaringan
- Firewall terbuka untuk port 5001
Pada kedua mesin, install ipref
sudo apt-get install iperf
Pada Server:
iperf -s
dan pada Client:
iperf -c <address dari server>
Anda akan melihat,
oli@bert:~$ iperf -c 192.168.0.100 ------------------------------------------------------------ Client connecting to tim, TCP port 5001 TCP window size: 16.0 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.0.4 port 37248 connected with 192.168.0.5 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 1.04 GBytes 893 Mbits/sec
Jika port 5001 terkena firewall, kita dapat mengubahnya melalui -p flag.