close
Warning:
Can't synchronize with repository "(default)" (/common/SVN/wimax does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
May 14, 2014, 2:12:16 PM (10 years ago)
- Author:
-
Nilanjan Paul
- Comment:
-
—
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v66
|
v67
|
|
636 | 636 | }}} |
637 | 637 | |
| 638 | To run a speed test via webservice, download ''speedtest-cli'' script: |
| 639 | {{{ |
| 640 | # apt-get install python-pip |
| 641 | # pip install speedtest-cli |
| 642 | # pip install speedtest-cli --upgrade |
| 643 | }}} |
| 644 | |
| 645 | Update the routing table to ensure all traffic routed through the eth2 interface. |
| 646 | First delete the default gateway: |
| 647 | {{{ |
| 648 | # route del default |
| 649 | }}} |
| 650 | |
| 651 | Now set default gateway via eth2: |
| 652 | {{{ |
| 653 | # route add default gw 10.41.0.1 eth2 |
| 654 | }}} |
| 655 | |
| 656 | View the routing table entries: |
| 657 | {{{ |
| 658 | # route |
| 659 | Kernel IP routing table |
| 660 | Destination Gateway Genmask Flags Metric Ref Use Iface |
| 661 | default wmgw.outdoor.or 0.0.0.0 UG 0 0 0 eth2 |
| 662 | 10.10.0.0 * 255.255.0.0 U 0 0 0 eth1 |
| 663 | 10.41.0.0 * 255.255.0.0 U 0 0 0 eth2 |
| 664 | }}} |
| 665 | |
| 666 | After the routing table has been updated, run the speedtest-cli script. The uplink and downlink speeds will be shown as measure by speedtest: |
| 667 | {{{ |
| 668 | root@node7-11:~# speedtest-cli --source 10.41.41.29 |
| 669 | Retrieving speedtest.net configuration... |
| 670 | Retrieving speedtest.net server list... |
| 671 | Testing from Rutgers University (128.6.192.190)... |
| 672 | Selecting best server based on ping... |
| 673 | Hosted by Atlantic Metro (New York City, NY) [42.62 km]: 19.948 ms |
| 674 | Testing download speed........................................ |
| 675 | Download: 6.90 Mbits/s |
| 676 | Testing upload speed.................................................. |
| 677 | Upload: 0.81 Mbits/s |
| 678 | }}} |
| 679 | |