LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-30-2016, 02:34 AM   #1
digit99
LQ Newbie
 
Registered: Mar 2016
Posts: 2

Rep: Reputation: Disabled
Packet routing trought rasberry pi


http://promocode.bg/mesh.jpg

I have implemented mesh network on 5 raspberry pi. I will attach a camera to the 5th node which takes the pictures/video and transfer the captured data to the first node and then to the server.The network protocol is 802.11s.

I have implemented the network using following commands.

sudo iw phy phy0 interface add mesh1 type mp sudo iw dev set channel 10 sudo ifconfig wlan0 down sudo ifconfig mesh1 10.0.0.11 sudo iw dev mesh1 mesh join biz

This is the script which automatically runs whenever the system restarts. It will create one virtual mesh interface.

All the nodes are in same channel which is 10. All the nodes are in same mesh network which is biz(Mesh Id). IPs are 10.0.0.11 - 10.0.0.15

In the above diagram 5 node take pictures/video and transfers the data to the available neighbour node and then it transfers to the other available neighbour node. It should choose the best path to transfer the data. Like 5-4-2-1 or 5-4-3-1.

Or if the either of the nodes are unavailable it should redirect the packets to the different node.

For example, in 5-4-2-1 path if node if node 4 is unavailable it should redirect the packets to 5-2-1 if the 2 node is available or should choose the alternative path automatically either 5-4-3-1 or 5-3-1.

So my question is ..how to archive everything from mesh 5 to server and to redirect all package to best way?

Last edited by digit99; 03-30-2016 at 02:37 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing IP Packet from user Application using rawsocket johnniealan Linux - Networking 0 06-10-2009 12:33 AM
Knowing when a packet is dropped due to a routing decision techmex Linux - Networking 6 01-30-2009 12:32 PM
Packet Routing for Connection Sharing corteplaneta Slackware 11 10-20-2008 11:02 PM
Packet Routing/Forwarding/Whatever Setup Help kromberg Linux - Networking 2 01-18-2008 05:24 PM
packet cloning and routing with single NIC gianman Linux - Networking 0 11-10-2006 11:33 AM


All times are GMT -5. The time now is 06:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration