2005 Spring CS492 Lab #3
-
Upload
leo-valdez -
Category
Documents
-
view
18 -
download
0
description
Transcript of 2005 Spring CS492 Lab #3
![Page 1: 2005 Spring CS492 Lab #3](https://reader036.fdocuments.in/reader036/viewer/2022072013/56812a85550346895d8e1e96/html5/thumbnails/1.jpg)
2005 Spring CS492 Lab #3
2005.10.13. Thu 8:30pm-10:30pmBuilding E3-1, Classroom #3
Kim, Dong-WookLee, DooyoungKim, Taehee
Sue Moon
Dept of EECS, Div. of CS
![Page 2: 2005 Spring CS492 Lab #3](https://reader036.fdocuments.in/reader036/viewer/2022072013/56812a85550346895d8e1e96/html5/thumbnails/2.jpg)
2
Goals and Overview of Lab #3
• Goals– To introduce students to wireless ad-hod
networking– To introduce students MANET routing protocols– To measure and compare TCP/UDP performance
in ad-hoc mode
• Overview– TCP/UDP throughput measurement under Ad-hoc mode
![Page 3: 2005 Spring CS492 Lab #3](https://reader036.fdocuments.in/reader036/viewer/2022072013/56812a85550346895d8e1e96/html5/thumbnails/3.jpg)
3
Lab #3: Step 1 and 2 preparation
• Setting up your Linux laptop as an AP– Download host AP driver from web site http://
hostap.epitest.fi/
• Install iperf software on your Linux– Download iperf of linux version from our FTP
server server ftp://143.248.134.182
![Page 4: 2005 Spring CS492 Lab #3](https://reader036.fdocuments.in/reader036/viewer/2022072013/56812a85550346895d8e1e96/html5/thumbnails/4.jpg)
4
Lab #3: Step 1 and 2 Setting
team #6
team #7
team #8
team #4 team #3
team #9
team #1
team #2
team #5
Host AP & DHCP server
access point(IPv4_ KAIST or
IPv6_ KAIST )#channel : 1
access point(IPv4_ KAIST or
IPv6_ KAIST )#channel : 6
802.11g network (54Mbps)
#channel :
Host AP
![Page 5: 2005 Spring CS492 Lab #3](https://reader036.fdocuments.in/reader036/viewer/2022072013/56812a85550346895d8e1e96/html5/thumbnails/5.jpg)
5
Lab #3: Step 1
• TCP throughput measurement• Team #1: Run host AP and iperf program on your Laptop
– server : Iperf –s
• Other team : connect to the host AP of team #1 and run iperf
– Client : iperf –c 192.168.11.x –n
• Repeat each team as host AP
• At the end, upload your log at “192.168.11.x”– server : tcp_server_[team number].txt– Client : tcp_cient_[connected server
number]_[team number].txt
![Page 6: 2005 Spring CS492 Lab #3](https://reader036.fdocuments.in/reader036/viewer/2022072013/56812a85550346895d8e1e96/html5/thumbnails/6.jpg)
6
Lab #3: Step 1
• UDP throughput measurement• Team #1: Run host AP and iperf program on your Laptop
– server : Iperf –s –u –p 5001
• Other team : connect to the host AP of team #1 and run iperf
– Client : iperf –c 192.168.11.x –u –p 5001 -b
Repeat each team as host AP
• At the end, upload your log at “192.168.11.x”– server : udp_server_[team number].txt– Client : udp_cient_ [connected server
number]_[team number].txt
![Page 7: 2005 Spring CS492 Lab #3](https://reader036.fdocuments.in/reader036/viewer/2022072013/56812a85550346895d8e1e96/html5/thumbnails/7.jpg)
7
Lab #3: Step 2
• TCP throughput measurement– Team #1: Run “iperf –c 192.168.11.x –n ”
– Team #1 and #2:
– Team #1 to #4:
– All teams:
• At the end, upload your log at “192.xxx”– tcp_[step number]_[team number].txt
![Page 8: 2005 Spring CS492 Lab #3](https://reader036.fdocuments.in/reader036/viewer/2022072013/56812a85550346895d8e1e96/html5/thumbnails/8.jpg)
8
Lab #3: Step 2
• UDP throughput measurement– Team #1: Run “iperf –c 192.168.11.x –b ”
– Team #1 and #2:
– Team #1 to #4:
– All teams:
• At the end, upload your log at “192.xxx”– udp_[step number]_[team number].txt
![Page 9: 2005 Spring CS492 Lab #3](https://reader036.fdocuments.in/reader036/viewer/2022072013/56812a85550346895d8e1e96/html5/thumbnails/9.jpg)
9
Lab #3: Step 3 preparation
• Install AODV Routing Protocol in your host AP
![Page 10: 2005 Spring CS492 Lab #3](https://reader036.fdocuments.in/reader036/viewer/2022072013/56812a85550346895d8e1e96/html5/thumbnails/10.jpg)
10
Lab #3: Step 3 setting
team #6
team #7
team #8
team #4
team #3
team #9
team #1
team #2
team #5 Host AP &DHCP server
Host AP
![Page 11: 2005 Spring CS492 Lab #3](https://reader036.fdocuments.in/reader036/viewer/2022072013/56812a85550346895d8e1e96/html5/thumbnails/11.jpg)
11
Lab #3: Step 3
![Page 12: 2005 Spring CS492 Lab #3](https://reader036.fdocuments.in/reader036/viewer/2022072013/56812a85550346895d8e1e96/html5/thumbnails/12.jpg)
12
Lab #3: Wrap Up
• Questions to ask yourself