Setting gateway in 802.11s

191 views
Skip to first unread message

Sameer

unread,
May 7, 2014, 7:55:16 AM5/7/14
to ns-3-...@googlegroups.com
Hi all,

This is what I want to achieve:

I want to enable a "root" in 802.11s. This root periodically broadcasts PREQ/RANN messages that are forwarded by intermediate nodes. The nodes on receiving these advertisement messages set the default gateway to this root address so that all packets are sent to the root.  I then want to calculate the throughput at this root node.

I know the proactive mode of HWMP is implemented in ns3. However do roots send out periodic adverstisements.. If they do how can the nodes read these adverstisements and set the root as their gateway... if not how do I go about adding this functionality.

Thank you all for your time,

Any help will be appreciated.

regards,

Sameer

Carlos Cordero

unread,
May 8, 2014, 12:01:10 PM5/8/14
to ns-3-...@googlegroups.com
Hi Sameer,

Just to make something clear: rememeber 802.11s and HWMP works as a L2 routing protocol. To set a "default gateway" (IPv4) you need to do it at a L3 routing.

For example, when HWMP established a root, all nodes near it establish that root as next hope at MAC level routing (IF it can´t deliver directly the package to dest node). Nodes with one more hope set these nodes as theirs next jump, and so on. HWMP routing table, in general terms, should say "These nodes I can reach directly, and if not then I send it to node X up in the tree".

L3 routing works between subnets, L2 routing works inside of a subnet (a mesh, for example).

To make a default gateway at IP level, you need to use static routes or another routing protocol.

(Btw: reading your question again now I don't know if you were talking specifically about root announcements, or literally a "default gateway").

Sameer

unread,
May 12, 2014, 4:23:06 AM5/12/14
to ns-3-...@googlegroups.com
Hi Carlos,

Specfically I am looking for a way to set a mesh root based on a certain criteria. Basically i set certain mesh nodes as roots which then periodically broadcast root announments that contain say the current queue level of the root. Intermediate nodes on receiving these messages set their default root to the one with the least queue length value.

Any ideas as to how i might proceed?

Sidoine Samo Djossi

unread,
Aug 24, 2016, 7:18:34 PM8/24/16
to ns-3-users
Hi Sameer

I am evaluating the performances of HWMP and I would like to include a scenario in which I have multiple roots. Please I need your help on how to set multiple roots. I have read all your post on the question and I beleive you are the only one that has really work on the question. Please your help will be very very welcomed.
Reply all
Reply to author
Forward
0 new messages