Subject: [manet] Re: Query (on manet Digest, Vol 32, Issue 7)

From: khaled hushaidan <[email-masked]>
Date: Thu, 28 Dec 2006 16:58:56 -0800 (PST)

Up to my knowledge of Glomosim, you can't exclude specific nodes from acting as routers. 

  The easiest way to do this is by using STATIC routing..
  if you are running out of time, just decide your network model(s) and use static routing.

  If you have to use a Routing Protocol, you will need to disable the (forwarding and routing) functions in the specified nodes.  To do this, I suggest you the following (I'm not sure if you can find an easier way):
   
   - Add a variable in Glomosim Node structure, name it something like (notRouter).
   
  - Add a parameter to the config.in file to specify the non-forwarder nodes, this parameter should look like:  NON-ROUTER-NODES 0,1,2,5,20  
  - Add a code that reads the above parameter and initialize the value of (notRouter) accordingly. you can do this in the Glomo.pc file (after setting the nodeAddr),
   
  - Then, go to nwip.pc file, change the function, named (ProcessPacketForAnotherFromMac),  so that it does nothing but freeing the msg.
   
  - you may need to do some changes in the used routing protocol so that, the node that is tagged as (notRouter) does not participate in routing.

   
  regards,
  khaled hushaidan
  
[email-masked] wrote:
  Message: 3
Date: Sun, 24 Dec 2006 23:36:26 GMT
From: "krishh" 
Subject: [manet] query
To: [email-masked]
Message-ID: <[email-masked]>

Hello Manet

Is there a way to have some nodes only receive and send pkts .. they
should not forward them. Can this be done in Glomosim? If so how?

Thanks

krishna

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

_______________________________________________
manet mailing list
[email-masked]
https://www1.ietf.org/mailman/listinfo/manet