OMNET++ Mixnet Framework

Slides:



Advertisements
Similar presentations
Module 4: Configuring a Client for Name Resolution
Advertisements

Computer Networks TCP/IP Protocol Suite.
Virtual Trunk Protocol
Genkai/Hyeonhae Workshop in Fukuoka NCLAB, Hanyang University Implementation of Explicit Multicast with Mobile IP in Mobile Environment
Protocol layers and Wireshark Rahul Hiran TDTS11:Computer Networks and Internet Protocols 1 Note: T he slides are adapted and modified based on slides.
Chapter 1: Introduction to Scaling Networks
Computer Networking Components Chad DuBose ~ Assignment #3 ~ LTEC
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Frame-Mode MPLS Implementation on Cisco IOS Platforms Troubleshooting Frame-Mode MPLS on Cisco.
1 Routing Protocols I. 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.
An OpenFlow Extension for the OMNeT++ INET Framework
IP Multicast Information management 2 Groep T Leuven – Information department 2/14 Agenda •Why IP Multicast ? •Multicast fundamentals •Intradomain.
1 Network Address Translation (NAT) Relates to Lab 7. Module about private networks and NAT.
1 Data Link Issues Relates to Lab 2. This module covers data link layer issues, such as local area networks (LANs) and point-to-point links, Ethernet,
Transmission of IP Packets over Ethernet over IEEE draft-riegel-16ng-ip-over-eth-over Max Riegel
Introduction 1.  A Simulator  Modular (Component-based)  Open-architecture  For Discrete Event Networks.
CPSC Network Layer4-1 IP addresses: how to get one? Q: How does a host get IP address? r hard-coded by system admin in a file m Windows: control-panel->network->configuration-
,< 資 管 Lee 附錄 A0 IGMP vs Multicast Listener Discovery.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Communication Networks ( ) / Spring 2011 The Blavatnik School of Computer Science, Tel-Aviv University Allon Wagner.
Chapter 5 Link Layer Computer Networking: A Top Down Approach 6th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
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)
Helper Protocols Protocols that either make it easier for IP to do its job, or extend the capabilities of the network layer.
Review of Important Networking Concepts
Week 5: Internet Protocol Continue to discuss Ethernet and ARP –MTU –Ethernet and ARP packet format IP: Internet Protocol –Datagram format –IPv4 addressing.
5/31/05CS118/Spring051 twisted pair hub 10BaseT, 100BaseT, hub r T= Twisted pair (copper wire) r Nodes connected to a hub, 100m max distance r Hub: physical.
1 Fall 2005 Internetworking: Concepts, Architecture and TCP/IP Layering Qutaibah Malluhi CSE Department Qatar University.
A Relative Positioning System for Co-located Mobile Devices Mike Hazas, Christian Kray, Hans Gellersen, Henoc Agbota, Gerd Kortuem,Computing Department,
CS Internetworking Slide Set 8. In this set... Addressing Datagram forwarding.
1 Review of Important Networking Concepts Introductory material. This module uses the example from the previous module to review important networking concepts:
Building a Simple Network
1 Review of Important Networking Concepts Introductory material. This slide uses the example from the previous module to review important networking concepts:
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 7 Connect the SUSE Linux Enterprise Server to the Network.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Presentation Title Subtitle Author Copyright © 2002 OPNET Technologies, Inc. TM Introduction to IP and Routing.
Network Layer4-1 NAT: Network Address Translation local network (e.g., home network) /24 rest of.
Chapter 4: Managing LAN Traffic
Hands-On Microsoft Windows Server 2003 Networking Chapter Three TCP/IP Architecture.
Network Protocols. Why Protocols?  Rules and procedures to govern communication Some for transferring data Some for transferring data Some for route.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
Examining TCP/IP.
Objectives: Chapter 5: Network/Internet Layer  How Networks are connected Network/Internet Layer Routed Protocols Routing Protocols Autonomous Systems.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 9 Basic Router Troubleshooting.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
1 Week 5 Lecture 2 IP Layer. 2 Network layer functions transport packet from sending to receiving hosts transport packet from sending to receiving hosts.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
Linux Operations and Administration Chapter Eight Network Communications.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.
CCNA3 Module 4 Brierley Module 4. CCNA3 Module 4 Brierley Topics LAN congestion and its effect on network performance Advantages of LAN segmentation in.
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.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.0 Module 9 Basic Router Troubleshooting.
+ Lecture#2: Ethernet Asma ALOsaimi. + Objectives In this chapter, you will learn to: Describe the operation of the Ethernet sublayers. Identify the major.
CSEN 404 Data Link Layer Amr El Mougy Lamia AlBadrawy.
CPSC 441: Link Layer1 Link Layer Addressing Slides originally from Carey Williamson Notes derived from “ Computer Networking: A Top Down Approach”, by.
Routing BY, P.B.SHANMATHI.
Basic Router Troubleshooting
MAC Addresses and ARP 32-bit IP address:
Chapter 6 – Routing.
Chapter 6 Delivery & Forwarding of IP Packets
Hubs Hubs are essentially physical-layer repeaters:
ARP: Address Resolution Protocol
Troubleshooting IP Communications
Network Architecture Introductory material
Chapter 5 The Network Layer.
Hubs Hubs are essentially physical-layer repeaters:
Review of Important Networking Concepts
Internet Control Message Protocol Version 4 (ICMPv4)
Virtual LAN (VLAN).
Multicasting Unicast.
Chapter 5: Link Layer 5.1 Introduction and services
Presentation transcript:

OMNET++ Mixnet Framework Yuping Dong 12/14/10

What is Mixnet and Why? INET: wired and wireless protocols MiXiM: mobile and fixed wireless networks Mixnet: using both MiXiM and INET INET: Network layer and above MiXiM: 802.11NIC and mobility The INET Framework contains models for several wired and wireless networking protocols, including UDP, TCP, IP, IPv6, Ethernet, 802.11, and many others. MiXiM is created for mobile and fixed wireless networks (wireless sensor networks, body area networks, ad-hoc networks, etc.). It offers detailed models of radio wave propagation, interference estimation, radio transceiver power consumption and wireless MAC protocols (e.g. Zigbee). Since MiXiM concentrates on providing very detailed models of wireless network interface cards it does not provide very sophisticated upper layers (network layer, application layer, etc.). Fortunately these are the layers for which the INET framework provides a lot of very detailed modules. So the idea of Mixnet is to bring INET and MiXiM together to be able to use the wireless NICs from MiXiM together with the upper network stack from INET.

What Mixnet can(not) do? MiXiM NIC with INET IP stack INET APP MiXiM mobility modules INET non-wireless NICs Both blackboard modules INET wireless modules Exchange info between both blackboards INET calls it NotificationBoard. Much simpler than blackboard. It only relays events, not storing anything on the blackboard. you can NOT yet exchange information between the blackboard modules of both frameworks

Prerequisites inet4mixnet http://github.com/mixim/inet4mixnet MiXiM-2.0.1 sourceforge.net/projects/mixim Inet4mixnet is just a branch of INET framework. It gets rid of INET’s wireless related modules.

Mixnet Modules MixnetBridge MixnetWorldUtility Connects INET network layer with MiXiM NIC MixnetWorldUtility Mapping between INET and MiXiM MAC addresses Blackboard Both are INET<->MiXiM compatible classes. Mapping an INET’s MAC address for a NIC with a MiXiM’s MAC address for the same NIC.

MixnetBridge Registers NIC in INET’s ift Converts INET control info to MiXiM control info Forwards lower msg Converts MAC addresses between INET and MiXiM Stores MAC address pairs to MixnetWorldUtility MixnetBridge’s lower gates connect to MiXiM NICs, and its upper gates are connected to INET network layer. It registers the NIC connected to its lowerGateOut in INETs interface table. It removes control info from INET network layer and converts it to MiXiM control info. It adds INET MiXiM MAC address pairs to MixnetWorldUtility (blackboard). It can convert INET destination address to MiXiM destination address.

Mixnet WorldUtility Extends blackboard functionality Cross-layer info exchange publisher -publish(BBItem)-> Blackboard -notify(BBItem)--> subscriber Playground size, shape, dimension, etc. Check connection manager

Mixnet Nodes IEEE802.11 nodes IEEE802.15.4 nodes These hosts are examples on how a host with INET network stack can be equipped with mobility- and wireless-modules from MiXiM.

IEEE 802.11 Nodes It contains an INET network stack and a MiXiM 802.11 NIC (connected by the MixnetBridge module) as well as a mobility-module from MiXiM. Modules notify each other about event changing by using NotificationBoard. Routing table changes, interface status changes, wireless handovers, etc. NotificationBoard for INET Utility which uses BlackBoard for MiXiM Cannot exchange info between each other.

IEEE 802.15.4 Nodes a MiXiM 802.15.4 NIC, a battery module from MiXiM which is used by the NIC.

Network Layer IP: Implements IP protocol ICMP: Relies on IP to send error msg, query msg. ping tool, traceroute. IGMP: Establish multicast group memebership ARP: Converts IP address to MAC address ErrorHandling: Error notification from other modules To send packets over IP, the module should attach an IPControlInfo to the packet, then send it. IP maps different protocols to its gate indice when delivering packets to higher layer. Internet Control Message Protocol sends error msgs, can also be used to relay query msgs. Internet Group Management Protocol, used by hosts and adjacent routers to establish multicast group membership. ICMP for unicast communication, IGMP for multicast. Address Resolution Protocol for IPv4 and IEEE 802 6-byte MAC address. ARP used over broadcast interfaces only. Check interface table isBroadcast() flag. Error handling handles error notifications that arrive from other protocol modules.

Mixnet Example: Ad Hoc Network ConnectionManager: Coordinates connection between all nodes. Calculates max interference distance. World: Map INET MiXiM MAC address Get PG size Check connection manager Configurator: Configure IP addresses and routing tables. Host: IEEE802.11 hosts Configurator only run once at initialization Assign IP addresses to hosts and routers. All hosts and routers in the same network. Assign same address to all interfaces of a router. Discover network topology and calculate shortest paths. Add shortest paths to the routing tables.

4-Stage Initialization WorldUtility: get pg size Register interfaces in InterfaceTable MixnetBridge: Map input output gates Register MAC address pair RoutingTable: NF status Input gates to upper layer modules. Output gates to lower layer modules. Register INET<->MiXiM MAC address pairs with MixnetWorldUtility module.

4-Stage Initialization RoutingTable: Create per-interface IPv4 data structures Read RoutingTable file & interface configuration Set RouterId WorldUtility: check connection manager Set data rate, IP address, Netmask, etc.

4-Stage Initialization Configurator: Configures IP addresses and routing tables for a flat network Assign IP addresses to hosts & routers Calculate shortest paths Add routes to routing tables "flat" means that all hosts and routers will have the same network address. Configurator runs only once at the beginning of simulation. Same address for all interfaces of a router. Discover network topology and calculate shortest paths for each node and add routes to routing tables.

4-Stage Initialization RoutingTable: Configure RouterId Update routes Choose highest interface address as routerId.

Interface Table Table of network interfaces Protocol-independent properties only Keeps the table of network interfaces, modules are registered with interfaces in initialization stage 0. This table only contains protocol-independent properties of interfaces. IP or IPv6 specific per-interface data (address etc) are kept in routing table and routing table6.

RoutingTable RouterId empty for hosts Loopback address as RouterId for routers For hosts, routerId should be empty. For routers, which have a routerId set, the loopback address be set to routerId. When RouterId is set to “auto”, the highest interface address will be chosen as routerId.

Research Robots SumoBot iRobot

SumoBot Two SumoBot Robots wrestling. BASIC Stamp microcontroller Line sensors detect border IR sensors detect opponent’s position Breadboard on top, can extend apps RS232 to communicate with host Compatible RF transceiver, plug to breadboard $239.99/set + $39.99/transceiver

iRobot Create USB communication Can store 100 open interface commands 30 built-in sensors 25 pin expansion port C++ programming $219.99 each Possible to wire the previous RF transceiver to iRobot Create Can add parts to the slot