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
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
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
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
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
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
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
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
9
Lab #3: Step 3 preparation
• Install AODV Routing Protocol in your host AP
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
11
Lab #3: Step 3
12
Lab #3: Wrap Up
• Questions to ask yourself