[ns] Pre-congeston Notification in ns-2

2011-05-21 Thread astardjiev


Hi,

Can somebody help me here? I am truing to simulate  pre-congestion
notification with ns-2, but I'm new in ns-2 and I can't understand how to do
it... Making the topology is the easy part, but I can't understand how to
implement the metering and marking algorithms into ingress, egress ans
interior nodes. At first I think that i have to create my own Agent, but as
far as i understand the Agent is used for end points (the source of the
traffic and the destination for traffic), how to put some algorithms into
interior nodes? 

For example - my topology is n0--n1--n2--n3--n4
n0 and n4 are end point, respectively source and destination
n1 is ingress node for pcn domain
n3 is egress node for pcn domain
n2 is interior node for pcn domain

and some traffic from n0 to n4

Now i'm need to do is to implement metering and marking algorithms into node
n2, classification algorithm into node n1 (classification in mean of to
prepared packets for pcn-domain, mark them as pcn-traffic) and algorithm
that takes decisions if the flow has to be terminated or not, or to tell the
ingress node to stop new flows. But how to do that!?

I have a big request for everybody who understand what i mean. My request is
- can somebody tell my how to put this functions into nodes, but like he is
explaining it to a dummy, top to bottom - what kind of c++ files i need to
have, where to put them, how to use them in otcl topology. 

Or somebody have done implementation of pcn in ns-2 please, please I bеg you
share the code with me



I know that my post sound a little bit stupid but i'm desperate... I have
little knowledges about c++, but ns-2 is to hard for me.

Thank you in advance!


p.s. apology if i have made some grammar mistakes i don't use my English too
offend  

Best Regards,
Alexander Astardjiev 
-- 
View this message in context: 
http://old.nabble.com/Pre-congeston-Notification-in-ns-2-tp31669695p31669695.html
Sent from the ns-users mailing list archive at Nabble.com.




Re: [ns] Question about god

2011-05-21 Thread RamiHach


hi Anna,
can u explain for me plz how I can calculate the value of god pls in
wireless simulation

Anna Pereira wrote:
 
 
  
 
  
 
 Hi,
 
  
 
 I am working on simulation of vehicular networks. In my tcl script I only
 create 'god' without specifying the number of hops between the nodes as:
 
 create-god $val(num_nodes)
 
  
 
 So what would be the number of hops, i.e shortest distance between two
 nodes
 be taken as? Would it be one?
 
  
 
 Thanks
 
 Anna 
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Question-about-god-tp13307397p31672522.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] A Modification on AODV

2011-05-21 Thread Mohamed Ibrahim Salman

Hi,
As you know, AODV request the route only On DemandI want only one special 
node in AODV to know the route to all available nodes? any suggestion?




Re: [ns] RTP over wireless connection between two nodes

2011-05-21 Thread Fivos.K


the packet order can be fixed by removing the jitter when sending the rtp
packets. 

The reason there are too few RTCP packets is because of the way PUMA
functions. Ideally you would like RTCP packets to be sent using Unicast.
This is not possible with PUMA. You should try ADMR which still outperforms
MAODV and is able to send these packets using a unicast mechanism.

Fivos K. 


pebbles wrote:
 
 Thanx a lot for your answer!
 
 I used PUMA, but I think there's sth wrong with the packet order. I also
 saw too many RTP packets and too few RTCP.
 

-- 
View this message in context: 
http://old.nabble.com/RTP-over-wireless-connection-between-two-nodes-tp31407109p31672804.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] ADMR - NS-2.30 + ?

2011-05-21 Thread fivos

Has anyone managed to succesfully port ADMR to newer versions of NS2 (
ns2.30 onwards) ?

if yes can you give me some pointers how to proceed , or a patch to apply ?

thanks in advance

Fivos K.