OMNET++ Mixnet Framework

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

description

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. What Mixnet can( not ) do?. - PowerPoint PPT Presentation

Transcript of OMNET++ Mixnet Framework

Page 1: OMNET++  Mixnet  Framework

OMNET++ Mixnet Framework

Yuping Dong12/14/10

Page 2: OMNET++  Mixnet  Framework

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

Page 3: OMNET++  Mixnet  Framework

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

Page 4: OMNET++  Mixnet  Framework

Prerequisites

• inet4mixnet http://github.com/mixim/inet4mixnet

• MiXiM-2.0.1 sourceforge.net/projects/mixim

Page 5: OMNET++  Mixnet  Framework

Mixnet Modules

• MixnetBridge– Connects INET network layer with MiXiM NIC

• MixnetWorldUtility– Mapping between INET and MiXiM MAC

addresses– Blackboard

Page 6: OMNET++  Mixnet  Framework

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

Page 7: OMNET++  Mixnet  Framework

Mixnet WorldUtility

• Extends blackboard functionality– Cross-layer info exchange– publisher -publish(BBItem)-> Blackboard -

notify(BBItem)--> subscriber– Playground size, shape, dimension, etc.– Check connection manager

Page 8: OMNET++  Mixnet  Framework

Mixnet Nodes

• IEEE802.11 nodes• IEEE802.15.4 nodes

Page 9: OMNET++  Mixnet  Framework

IEEE 802.11 Nodes

Page 10: OMNET++  Mixnet  Framework

IEEE 802.15.4 Nodes

Page 11: OMNET++  Mixnet  Framework

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

Page 12: OMNET++  Mixnet  Framework

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

Page 13: OMNET++  Mixnet  Framework

4-Stage Initialization

• Stage 0– WorldUtility: get pg size– Register interfaces in InterfaceTable– MixnetBridge:• Map input output gates• Register MAC address pair

– RoutingTable:• NF status

Page 14: OMNET++  Mixnet  Framework

4-Stage Initialization

• Stage 1– RoutingTable:• Create per-interface IPv4 data structures• Read RoutingTable file & interface configuration• Set RouterId

– WorldUtility: check connection manager

Page 15: OMNET++  Mixnet  Framework

4-Stage Initialization

• Stage 2– 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

Page 16: OMNET++  Mixnet  Framework

4-Stage Initialization

• Stage 3– RoutingTable:• Configure RouterId• Update routes

Page 17: OMNET++  Mixnet  Framework

Interface Table

• Table of network interfaces• Protocol-independent properties only

Page 18: OMNET++  Mixnet  Framework

RoutingTable

• RouterId empty for hosts• Loopback address as RouterId for routers

Page 19: OMNET++  Mixnet  Framework

Research Robots

• SumoBot• iRobot

Page 20: OMNET++  Mixnet  Framework

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

Page 21: OMNET++  Mixnet  Framework

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