1 實驗五:媒介存取協定模擬 教師: 助教:. 2 Outline  Background  Transmission Protocols  ALOHA  CSMA/CD  CSMA/CA  Network Devices  Hub  Switch  Access Point (AP)

Slides:



Advertisements
Similar presentations
Cognitive Radio Communications and Networks: Principles and Practice By A. M. Wyglinski, M. Nekovee, Y. T. Hou (Elsevier, December 2009) 1 Chapter 9 Fundamentals.
Advertisements

Nick Feamster CS 4251 Computer Networking II Spring 2008
Channel Allocation Protocols. Dynamic Channel Allocation Parameters Station Model. –N independent stations, each acting as a Poisson Process for the purpose.
Fundamentals of Computer Networks ECE 478/578
LECTURE 11 CT1303 LAN. DYNAMIC MAC PROTOCOL No fixed assignment for transmission media or any network resources.. It allows transmission when needed.
Chapter 6 High-Speed LANs1 Chapter 6 High-Speed LANs.
Distributed systems Module 1 -Basic networking Teaching unit 1 – LAN standards Ernesto Damiani University of Bozen-Bolzano Lesson 2 – LAN Medium Access.
1 Chapter 9 Computer Networks. 2 Chapter Topics OSI network layers Network Topology Media access control Addressing and routing Network hardware Network.
Computer Network 實踐資管 Wang-Jiunn Cheng 2004 PART IV-1 Local Area Networks (LANs) Topology.
20 – Collision Avoidance, : Wireless and Mobile Networks6-1.
6: Wireless and Mobile Networks6-1 Chapter 6: Wireless and Mobile Networks Background: r # wireless (mobile) phone subscribers now exceeds # wired phone.
5-1 Data Link Layer r What is Data Link Layer? r Wireless Networks m Wi-Fi (Wireless LAN) r Comparison with Ethernet.
Semester EEE449 Computer Networks The Data Link Layer Part 2: Media Access Control En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex,
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Medium Access Control Sublayer Chapter.
COMPUTER NETWORKS.
8/7/20151 Mobile Computing COE 446 Wireless Multiple Access Tarek Sheltami KFUPM CCSE COE hthttp://faculty.kfupm.edu.sa/coe/tarek/coe446.htm Principles.
6: Wireless and Mobile Networks6-1 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may.
Infrastructure de Communications – CR 4107Chapter 41 The Medium Access Control Sublayer Chapter 4.
Chapter 6 High-Speed LANs Chapter 6 High-Speed LANs.
Adapted from: Computer Networking, Kurose/Ross 1DT066 Distributed Information Systems Chapter 6 Wireless, WiFi and mobility.
Wi-Fi Wireless LANs Dr. Adil Yousif. What is a Wireless LAN  A wireless local area network(LAN) is a flexible data communications system implemented.
1 ECE453 – Introduction to Computer Networks Lecture 7 – Multiple Access Control (I)
Multiple Access Protocols Chapter 6 of Hiroshi Harada Book
Computer Networks NYUS FCSIT Spring 2008 Igor TRAJKOVSKI, Ph.D. Associate Professor
CSMA with Collision Detection CSMA/CD can be in one of three states: contention, transmission, or idle.
The Medium Access Control Sublayer Chapter 4. The Channel Allocation Problem Static Channel Allocation in LANs and MANs Dynamic Channel Allocation in.
The Medium Access Control Sublayer Chapter 4 10/1/2015www.noteshit.com1.
LECTURE9 NET301. DYNAMIC MAC PROTOCOL: CONTENTION PROTOCOL Carrier Sense Multiple Access (CSMA): A protocol in which a node verifies the absence of other.
LAN technologies and network topology LANs and shared media Locality of reference Star, bus and ring topologies Medium access control protocols.
The Medium Access Control Sublayer Chapter 4. The Channel Allocation Problem Static Channel Allocation Dynamic Channel Allocation  Delay for the divided.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Medium Access Control Sublayer Chapter.
Link Layer: MAC Ilam University Dr. Mozafar Bag-Mohammadi.
Data and Computer Communications Ninth Edition by William Stallings Data and Computer Communications, Ninth Edition by William Stallings, (c) Pearson Education.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Medium Access Control Sublayer.
The Medium Access Control Sublayer Chapter 4. The Channel Allocation Problem Static Channel Allocation in LANs and MANs Dynamic Channel Allocation in.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Local Area Networks.
Wireless and Mobility The term wireless is normally used to refer to any type of electrical or electronic operation which is accomplished without the use.
Cisco 3 - Switching Perrine. J Page 16/4/2016 Chapter 4 Switches The performance of shared-medium Ethernet is affected by several factors: data frame broadcast.
Day10 LAN. Why? Allow more than one machine to share –Resources –Internet connectivity –Information.
Multiple Access.
Chapter 6 Multiple Radio Access
The Medium Access Control Sublayer Chapter 4 12/13/2015www.ishuchita.com1.
CS3502: Data and Computer Networks Local Area Networks - 1 introduction and early broadcast protocols.
Planning and Analyzing Wireless LAN
Link Layer MAC Dr. Mozafar Bag-Mohammadi University of Ilam.
A Multi-Channel CSMA MAC Protocol with Receiver Based Channel Selection for Multihop Wireless Networks Nitin Jain, Samir R. Das Department of Electrical.
CS3502: Data and Computer Networks Local Area Networks - 1 introduction and early broadcast protocols.
EEC-484/584 Computer Networks Lecture 14 Wenbing Zhao
LECTURE9 NET301 11/5/2015Lect 9 NET DYNAMIC MAC PROTOCOL: CONTENTION PROTOCOL Carrier Sense Multiple Access (CSMA): A protocol in which a node verifies.
The Medium Access Control Sublayer Chapter 4. The Channel Allocation Problem Static Channel Allocation in LANs and MANs Dynamic Channel Allocation in.
EE 122: Lecture 6 Ion Stoica September 13, 2001 (* this talk is based in part on the on-line slides of J. Kurose & K. Rose)
實驗三 媒體存取協定模擬 教師: 助教: 1998/10/19 High Speed Network Lab. Department of Computer Information Science, NCTU.
LA-MAC: A Load Adaptive MAC Protocol for MANETs IEEE Global Telecommunications Conference(GLOBECOM )2009. Presented by Qiang YE Smart Grid Subgroup Meeting.
Discovering Sensor Networks: Applications in Structural Health Monitoring Summary Lecture Wireless Communications.
The Medium Access Control Sublayer
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
COMPUTER NETWORKS Data-link Layer (The Medium Access Control Sublayer) MAC Sublayer.
Outline What is Wireless LAN Wireless Transmission Types
Chapter 12 Multiple Access.
Lab 7 – CSMA/CD (Data Link Layer Layer)
CT301 LECTURE 8.
Net301 lecture9 11/5/2015 Lect 9 NET301.
The Medium Access Control Sublayer
CS 457 – Lecture 7 Wireless Networks
The Medium Access Control Sublayer
EEC-484/584 Computer Networks
Overview Jaringan Komputer (3)
Channel Allocation Problem/Multiple Access Protocols Group 3
Channel Allocation Problem/Multiple Access Protocols Group 3
EEC-484/584 Computer Networks
Presentation transcript:

1 實驗五:媒介存取協定模擬 教師: 助教:

2 Outline  Background  Transmission Protocols  ALOHA  CSMA/CD  CSMA/CA  Network Devices  Hub  Switch  Access Point (AP)  Simulation Software - NCTUns  Background  Supported simulation function  User interface  Experiment  Goals & Experiment methods  Wired Networking  Wireless Networking  Simulation result

3 Background (1/2)  Why simulations are needed  Plan a new networking topology  Estimate the efficiency of networks  Evaluate new protocols or devices  Advantages  Lower cost  Easy to build  Avoid environmental interference

4 Background (2/2)  Goal of this experiment  Learn to use the tool of NCTUNS  Realize the mechanisms of  Transmission protocols  Network devices  Methodlogy of designing an experiment

5 Transmission Protocols (1/2)  ALOHA  Transmit data only  Two types  Pure-Aloha  Slotted-Aloha  No sensing for collision and congestion  Channel throughput: 18% (Stallings, 2000)  CSMA (Carrier Sense Multiple Access)  Sense the media and transmit data if it’s idle  Two implementations:  Persistent CSMA  Non-persistent CSMA  Throughput is much better: over 40%

6 Transmission Protocols (2/2)  CSMA/CD  CSMA with Collision Detection  Wait a random time if collision and then transmit  Used in wired networks (ex: IEEE 802.3)  CSMA/CA  CSMA with Collision Avoidance  RTS/CTS mechanism for hidden terminals problems  Used in wireless networks (ex: IEEE )

7 Network Devices  Hub  Broadcast all packets to every port  Switch  Build a table for mapping between MAC addresses and ports  Broadcast packets at first time to verify the target port  Send packets to the target port instead of broadcasting  Access Point (AP)  A bridge for wired and wireless networks  Use RTS/CTS mechanism on wireless network  Always broadcast because of the media

8 Simulation Software - NCTUns  Background  Developed by the Network and System Laboratory (NSL) of NCTU CS  Used in both wired and wireless IP networks  Directly uses the Linux ’s TCP/IP protocol stack  Open-Source Simulation engine  Provides complete and high-quality documentations  Continuously supported, maintained and improved

9 Supported Simulation Functions  Flexibility of creating user’s own  Traffic generator  Configuration Tool  Monitor Tool  Different and new types of networks  Various networking devices and protocols  Generate repeatable simulation results  Remote and concurrent simulations

10 User Interface (1/2) Network device Assignment tools Zoom tools Mode selector Time barPlayback tools Location info. Topology plane

11 User Interface (2/2)  Four modes:  Draw Topology  Draw topology by using the network device toolbox  Edit Property  Enter each device and set their property and reporting information  Run Simulation  Start simulation and recording the report  Play Back  Use GUI interface to replay the simulation

12 Experiment  Goals :  Find the relationship between the offered load and throughput  Experiment methods  Use different offered loads to run simulations and compare the results  Offered load:  Capacity of the line divided by the amount of input data  Throughput :  The maximum of data rate the network can transmit

13 Experiment: Wired Networking  Use hubs and switches with different offered loads to run simulations  Example topologies:

14 Experiment: Wireless Networking  Use mobile hosts, access points (AP) with different offered loads to run simulations  Example topologies:

15 Results  Use [plot graph] tool to draw the throughput graph  Example graphs: The unit of values depend on the log file you selected