CS415 Minithreads Project 5 Overview Adrian Bozdog (Adi)

Slides:



Advertisements
Similar presentations
1 A Review of Current Routing Protocols for Ad-Hoc Mobile Wireless Networks By Lei Chen.
Advertisements

RIP V1 W.lilakiatsakun.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 25 Introduction to Computer Networks.
CCNA2 Module 4. Discovering and Connecting to Neighbors Enable and disable CDP Use the show cdp neighbors command Determine which neighboring devices.
Precept 3 Host Configuration 1 Peng Sun. What TCP conn. running? Commands netstat [-n] [-p] [-c] (Linux) lsof -i -P (Mac) ss (newer version of netstat)
CSCI 4550/8556 Computer Networks Comer, Chapter 23: An Error Reporting Mechanism (ICMP)
Network Layer and Transport Layer.
Internet Control Message Protocol (ICMP)
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #4 Mobile Ad-Hoc Networks AODV Routing.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
CS415 Minithreads Project 3 Overview Adrian Bozdog (Adi)
CS415 Minithreads Project 4 Overview Adrian Bozdog (Adi)
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
IP Routing: an Introduction. Quiz
Chapter 23: ARP, ICMP, DHCP IS333 Spring 2015.
Hussain Ali Department of Computer Engineering KFUPM, Dhahran, Saudi Arabia Microsoft Networking.
RIP. A PPROACHES TO S HORTEST P ATH R OUTING There are two basic routing algorithms found on the Internet. 1. Distance Vector Routing Each node knows.
TCP/IP Tools Lesson 5. Objectives Skills/ConceptsObjective Domain Description Objective Domain Number Using basic TCP/IP commands Understanding TCP/IP3.6.
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
1 Lab 3 Transport Layer T.A. Youngjoo Han. 2 Transport Layer  Providing logical communication b/w application processes running on different hosts 
Day15 IP Space/Setup. IP Suite of protocols –TCP –UDP –ICMP –GRE… Gives us many benefits –Routing of packets over internet –Fragmentation/Reassembly of.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
1 CMPT 471 Networking II ICMP © Janice Regan, 2012.
Network Redundancy Multiple paths may exist between systems. Redundancy is not a requirement of a packet switching network. Redundancy was part of the.
23-Support Protocols and Technologies Dr. John P. Abraham Professor UTPA.
Guide to TCP/IP, Second Edition1 Guide To TCP/IP, Second Edition Chapter 8 The Dynamic Host Configuration Protocol (DHCP)
Internet Control Message Protocol (ICMP). Objective l IP and ICMP l Why need ICMP? l ICMP Message Format l ICMP fields l Examples: »Ping »Traceroute.
Routing Information Protocol (RIP). Intra-and Interdomain Routing An internet is divided into autonomous systems. An autonomous system (AS) is a group.
Mobile Routing protocols MANET
Examining TCP/IP.
Ad-hoc On-Demand Distance Vector Routing (AODV) and simulation in network simulator.
1 Chapter Overview Routing Principles Building Routing Tables.
Module 12: Routing Fundamentals. Routing Overview Configuring Routing and Remote Access as a Router Quality of Service.
1 Network Layer Lecture 13 Imran Ahmed University of Management & Technology.
1 TCP/IP Internetting ä Subnet layer ä Links stations on same subnet ä Often IEEE LAN standards ä PPP for telephone connections ä TCP/IP specifies.
1 TCP/IP Networking. 2 TCP/IP TCP/IP is the networking protocol suite most commonly used with UNIX, Windows, NT and most other OS’s. TCP/IP defines a.
1 Internet Control Message Protocol (ICMP) Used to send error and control messages. It is a necessary part of the TCP/IP suite. It is above the IP module.
1 WS-Routing. 2 Why WS-Routing? SOAP (by itself) doesn’t define a message path –Header blocks describe functions to be performed by intermediaries that.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Chapter 23: ARP, ICMP, DHCP CS332, IS333 Spring 2014.
Error and Control An IP datagram travels from node to node on the way to its destination Each router operates autonomously Failures or problems may occur.
Module 1: Configuring Routing by Using Routing and Remote Access.
Network layer Accepts messages from the application layer Prepares messages for the data link layer Packetising Addressing Routing.
1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Dynamic Host Configuration Protocol (DHCP)
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Connecting to the Network Introduction to Networking Concepts.
CSIT 220 (Blum)1 ARP Based on Computer Networks and Internets (Comer)
Ad-hoc On Demand Distance Vector Protocol Hassan Gobjuka.
Intro DSR AODV OLSR TRBPF Comp Concl 4/12/03 Jon KolstadAndreas Lundin CS Ad-Hoc Routing in Wireless Mobile Networks DSR AODV OLSR TBRPF.
Linux Operations and Administration Chapter Eight Network Communications.
Semester 2v2 Chapter 8: IP Addressing. Describe how IP addressing is important in routing. IP addresses are specified in 32-bit dotted-decimal format.
Active Message Application: CONNECT Presented by Xiaozhou David Zhu Oommen Regi July 6, 2001.
+ Routing Concepts 1 st semester Objectives  Describe the primary functions and features of a router.  Explain how routers use information.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 9: Dynamic Host Configuration Protocol (DHCP)
RIP Routing Protocol. 2 Routing Recall: There are two parts to routing IP packets: 1. How to pass a packet from an input interface to the output interface.
Address Resolution Protocol Yasir Jan 20 th March 2008 Future Internet.
Process-to-Process Delivery:
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
Cisco Routers Routers collectively provide the main feature of the network layer—the capability to forward packets end-to-end through a network. routers.
Prof. Alfred J Bird, Ph.D., NBCT Office – McCormick 3rd floor 607 Office Hours – Monday 3:00 to 4:00 and.
IP: Addressing, ARP, Routing
Routing Information Protocol (RIP)
ARP and RARP Objectives Chapter 7 Upon completion you will be able to:
COMPUTER NETWORKS CS610 Lecture-33 Hammad Khalid Khan.
Internet Networking recitation #4
Routing.
Protocol Application TCP/IP Layer Model
CS415 Minithreads Project 6 Overview
Presentation transcript:

CS415 Minithreads Project 5 Overview Adrian Bozdog (Adi)

CS414 Minithreads overview2 What you have to do  Implement Ad-hoc networking layer  a version of Dynamic Source Routing alg  Communication layers should use miniroute_send_pkt instead of network_send_pkt  Routing layer can use network_send_pkt  A new network_handler routine should deal with all packets  There may be packets (control routing packets, packets for other machines) that are not for the current machine  Forwards packets that contain data for the current machine to the old network handler

CS414 Minithreads overview3 Routing layer  Data may be sent through intermediate nodes  A source uses a routing path to every destination  Processes three types of routing packets:  Data packets  Route Discovery packets  Route Reply packets Network UDP-like protocol TCP-like protocol User application Routing

CS414 Minithreads overview4 Routing packets (1)  Data packets:  Contain the path to the destination  The intermediate nodes should not involve communication layers (i.e TCP, UDP layers)  Route Discovery packets:  Establish routes from sources to destinations  Flood the network until the destination is reached  Every packet is flooded for at most MAX_ROUTE_LENGTH – 1  Every machine adds itself to the route path before broadcasting the network

CS414 Minithreads overview5 Routing packets (2)  Route Reply packets:  Used to give route information to the sources  Send by destinations back to the sources  Flooded through the network until they are broadcasted MAX_ROUTE_LENGTH times or reach the sources  Do not change the routes established by the Route Discovery packets

CS414 Minithreads overview6 Routing cache  Avoid discovering a route to the destination for every sent packet  Keeps SIZE_OF_ROUTE_CACHE routes to destinations  A cached route is used only if it is not older than 3 seconds  Otherwise run the route discovery protocol to get the route to destination

CS414 Minithreads overview7 Code change/addition  Changes to network.h  Set BCAST_ENABLED to 1  Set BCAST_ADDRESS  for ad-hoc network (see instructions for setting an ad-hoc network)  x.y.z.255 for CSUGLAB  For debugging purposes  Set BCAST_TOPOLOGY_FILE  Provide a topology file (see project description)  Used only in CSUGLAB (not on Jornada/Tablets)  Add miniroute.h and miniroute.c to your project

CS414 Minithreads overview8 Implementation hints  There must be at most a single routing discovery process for any destination at any time  Multiple threads should not trigger multiple routing discovery processes for the same destination  Only one cache entry for each destination  Use the route reply packets with the latest information (use seq_no for this)  Use the structures and data-types provided in miniroute.h  Allow other machines that run other student’s code to participate in the routing protocol

CS414 Minithreads overview9 Test Cases  Use any test from previous steps (project 3 and 4)  Write new tests reading application data from the terminal  Add read.c, read.h and read_private.h  Include “read_private.h” to minithread.c  Add miniterm_initialize to minithread_system_initialize  Test cases should use miniterm_read() to read data from the terminal

CS414 Minithreads overview10 Tablets  Can compile and run tests like CSUGLAB desktops  Can compile code for Jornada  Can synchronize with Jornada using ActiveSync  Run tests between Jornada and the Tablet  Specify the TCP/IP properties for the Tablet in the same way as for Jornada for ad-hoc network  Specify an Ip address based on your group  Set Subnet Mask to  Set Gateway to  Install the software used to compile code for Jornada ( see “Tips for running programs on Jornada” on CMS)  Install Handheld PC 2000 SDK

CS414 Minithreads overview11 Project 5 presentation  Demo slots :  Tuesday April 15 between 6 and 9 pm  Wednesday April 16 between 6 and 9 pm  Every group has a slot of 10 minutes  A test of my choice  should be compiled and run between Jornada machines / Tablet  should be compiled and run on CSUG desktops  Set a DEBUG option in the routing layer used to print information about messages received by the routing layer  You can sign for a slot on a sign-up sheet starting from Thursday afternoon (4119 Upson)