Re: [ns] how to turn off collision effect in ns-2.28

2006-07-25 Thread Shafiq Hashmi

In ns-2.28/mac folder, look for the mac layer protocol file that you might 
be using. For example, mac-802_11.c. Go to the 'recv' function. In this case 
will be  "Mac802_11::recv(Packet *p, Handler *h)".
You can find the if-else condition to go to collision() method. You can 
disable over there, by capturing in both the cases.

Shafiq

- Original Message - 
From: "dandan liu" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, July 25, 2006 10:57 PM
Subject: [ns] how to turn off collision effect in ns-2.28


>
> Hi, everbody,
>
>  I'm a new user. I am trying to do simulation that has idealized network
> environment, which means no packet drop due to collision in MAC layer. But 
> I
> have no idea on how to turn off the collision effect in ns-2.28. Could you
> please give me some information?
>
>  Thanks very much for your kind help!
>
> Best Regards,
>
> dandan liu
> 07/24
>
> _
> Learn English via Shopping Game, FREE!
> http://www.linguaphonenet.com/BannerTrack.asp?EMSCode=MSN06-03ETFJ-0211E
>
> 




[ns] how to turn off collision effect in ns-2.28

2006-07-25 Thread dandan liu

Hi, everbody,

  I'm a new user. I am trying to do simulation that has idealized network 
environment, which means no packet drop due to collision in MAC layer. But I 
have no idea on how to turn off the collision effect in ns-2.28. Could you 
please give me some information?

  Thanks very much for your kind help!

Best Regards,

dandan liu
07/24

_
Learn English via Shopping Game, FREE! 
http://www.linguaphonenet.com/BannerTrack.asp?EMSCode=MSN06-03ETFJ-0211E



Re: [ns] does NS have the http application?

2006-07-25 Thread 董德才

Hi all,

I want to know if  NS can modify wireless link's datarate and delay
dynamically,if NS has provided this function,I hope you can tell me how to
use,thanks a lot!

Your answer is appreciated.

best wishes,
-- 
jiangren
[EMAIL PROTECTED]


Re: [ns] [query]finding neighbor in dsr protocol

2006-07-25 Thread M. Akif YAZICI

There is a method I know but it is at MAC level, so I don't know whether it
will help. Since you are working on dsr, I guess you are using WirelessPhy
as the physical interface. The class energy_model has a list of neighbors,
namely neighbor_list, and WirelessPhy has a member of type energy_model. You
need to add a function to the energy_model class that searches neighbor_list
and returns whether the input node exists. Might be something like:

bool EnergyModel::search_neighbor (u_int32_t nodeid)
{
neighbor_list_item *np;
bool return_value = false;
np = neighbor_list.head;
for (; np; np = np->next) {
if (np->id == nodeid) {
return_value = true;
break;
}
}
return ret_value;
}
See ~/mobile/energy-model.cc for similar functions such as add_neighbor.

Then, you can reach this function from mac_802_11 class as
my_is_neighbor = (WirelessPhy
*)netif_->em()->search_neighbor(neighbor_to_search);

Again, I don't know if it will help or not, but that's what I use.

yours,
Akif


[ns] help how to extend NS in OTCL

2006-07-25 Thread STP


hi  all,
  
  Using http://www.isi.edu/nsnam/dist/ns-workshop00/ ,  " Extending ns" pdf
file.
I created this file,  
http://www.nabble.com/user-files/114/org_msg.tcl org_msg.tcl .
i created mysrc/ dir and placed org_msg.tcl as msg.tcl.
updated tcl/lib/ns-lib.tcl as "source ../mysrc/msg.tcl
Updated Makefile.in 
>make distclean'
>./configure --enable-debug
compiled successfully.
When i tried to execute as 'ns msg.tcl`, it gives me error. 
I couldn't able to run any tcl script.

It is bit urgent for me.
Please, help me for the same. give some pointers/links  for the same.

thanks in advance,
regards,
stp.

Note:
Error Details :
http://mailman.isi.edu/pipermail/ns-users/2006-July/056513.html
http://mailman.isi.edu/pipermail/ns-users/2006-July/056513.html 
-- 
View this message in context: 
http://www.nabble.com/help-how-to-extend-NS-in-OTCL-tf2000723.html#a5493695
Sent from the ns-users forum at Nabble.com.



[ns] How to implement FMIPv6 in mobiwan?

2006-07-25 Thread 1231 121

I am beginner for mobiwan. I plan to implement FMIPv6 in mobiwan.I read 
user guide download from offical site.
In Article, I can not find out clue to slove such as Hi,Hack those singnal 
problem.Anyone can provide me information to overcome problem. Thanks.


_
立即申請 MSN Mobile 服務:用手機和 MSN Messenger 網友隨時交談  
http://msn.com.tw/msnmobile 



Re: [ns] help on tutorial

2006-07-25 Thread STP


hi all,
http://www.nabble.com/user-files/113/msg.tcl msg.tcl 

Please, help me to correct the problem.

regards,
stp.

-- 
View this message in context: 
http://www.nabble.com/help-on-tutorial-tf1953021.html#a5492078
Sent from the ns-users forum at Nabble.com.



[ns] virtual collision handler in 802.11e

2006-07-25 Thread Aleksander Bai

Does anybody know how the virtual collision handler in the TKN module for
802.11e is implemented?

It seems to me they have simply omitted it..

Regards,
Alex



Re: [ns] Wireless packet size limit + wireless bandwidth question

2006-07-25 Thread Filippos Kolovos

-

On 7/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> -- Forwarded message --
> From: Heo Heo <[EMAIL PROTECTED]>
> To: ns-users@ISI.EDU
> Date: Sat, 22 Jul 2006 17:18:26 -0700 (PDT)
> Subject: [ns] Wireless packet size limit + wireless bandwidth question
>   Hi all,
>
>   I was doing a simple wireless simulation in which 2 nodes send are
> placed next to each other, with one being the sender and the other being
> the receiver (based on the Simple.tcl on ns website). The sender sends
> 500 packets to the receiver.
>
>   1) I tried to change the packet size from 512 to 1024 bytes. I parsed
> the trace file I find out that:
>   - If the packet size is 512 bytes, 500 packets were sent.
>   - If the packet size is 1024 bytes, 1000 packets were sent.
>
>   It seems to me that some layer has automatically split up the 1024-byte
> packets
> into smaller parts.
>
>   So, my question is: what is the default wireless packet size, and how
> to change it ? and Which layer actually split up the big packets ?


The network layer. The splitting-process depends upon the MTU (Maximum
Transmission Unit) used by the
network layer of the network from which the packet passes. For a very draft
explanation, this is the default maximum packet size that a sender can put
onto the channel for transmission, which has been agreed according to a
maximum. For example, the Internet de facto standard for the MTU is 576
bytes,
while for Ethernet networks the maximum is 1500 bytes (to account for
typical TCP packets). However, this can change per connection,
according to the initial 3-way handshake parameters exchange.

The NS-2 simulator uses an MTU of approximately 576 bytes, so this is
probably the reason of the packet-doubling.

For more information concerning the MTU, check the following site:


http://searchnetworking.techtarget.com/sDefinition/0,,sid7_gci213605,00.html

and

http://searchnetworking.techtarget.com/sDefinition/0,,sid7_gci830944,00.html

  2) My next question is about the wireless bandwidth.
>
> By default, ns uses a wireless link bandwidth of 2 Mbps. By
> changing the packet interval, I have at most 670 Kbps. Because there are
> only
> 2 nodes, the 2 nodes must be using full bandwidth for this. Given that
> there are some overhead (RTS/CTS, packet headers, etc.), I would think
> I should get about 1.5Mbps. So, why is the actual speed so much lower
> than that ? Is it natural ?



Did you account for re-transmission errors and the error rate in general? It
is a very common thing
the error rate factor to be somehow high in wireless networks.


  Thanks a lot for your help.


Hope that I've helped you.

-Fk

  Heo
>
>
>
>
> -
>



-- 
Filippos N Kolovos

Software Systems Analyst & Engineer
M.Sc. (Eng.) in Data Communications

Automation & Networking Department
University of Macedonia Library
Egnatia 156, P.O.Box 1591
540 06 Thessaloniki, Greece

E-Mail: [EMAIL PROTECTED],
   [EMAIL PROTECTED]
--


[ns] ns - nam validation failed

2006-07-25 Thread Giorgis Georgakoudis

System configuration:

- gcc version 3.4.6
- tcl-8.4.9
- tk-8.4.9
- otcl-1.11
- tclcl-1.17
- http://www.isi.edu/nsnam/dist/daily/nam-1-20060724.tar.gz (nam daily 
snapshot)
- http://www.isi.edu/nsnam/dist/daily/ns-2-20060724.tar.gz (ns daily snapshot)

I'm getting this failure after building and validating ns:

> http://pastebin.com/756197
>http://pastebin.com/756277


I'm getting this failures after building and validating nam:

>validate overall report: some tests failed:
> /test-all-ptp ./test-all-lan ./test-all-wireless

Help would be much appreciated.



[ns] [query]finding neighbor in dsr protocol

2006-07-25 Thread Karthikeyan Balraj

hi ns-users,
   I am trying to find whether the given node  is  our neighbor  or not
Is there any built-in function in ns(for dsr) or Is there anyway to  do it
in a simpler manner
its urgentplz reply me


note: I found a method named 'is_neighbor' in dsragent.cc but i couldnt
understand the purpose of this method

cheers,
Cartic


[ns] Throughput in TKN 802.11e

2006-07-25 Thread michelenuti


Hi NS users,
I have a question about Throughput in 802.11e model of TKN. 
Why if I set a TCP flow with lower priority (prio_ 3) in 802.11e MAC  it has a 
higher throughput of the same flow
with 802.11 MAC?
I think that the throughput should improve only with high priority (0, 1, 2)...

Thank you,
Michele Nuti


Re: [ns] Service based classification for SFQ/DRR

2006-07-25 Thread Alexander Sayenko


Hi

>  How your implementation works?

Just classical WRR/DRR schedulers, nothing special expect the LLQ which you
can turn on/off.

> Do you compare your queue with RED, Green?

Since RED is the queue management algorithm while WRR/DRR is the resource
sharing algorithm, I do not consider them as mutually execlusive solutions
but the complementary ones. I have been using WRR in conjunction with RED in
the DiffServ framework. I have not tried Green.

Sincerely,
Alexander Sayenko (PhD)
Senior Assistant
Telecommunication laboratory, MIT department
University of Jyvaskyla, Finland


>  How your implementation works? Do you compare your queue with RED, Green?
> Alexander Sayenko wrote:
> > Hi
> >
> > Just for you to know, DRR/WRR and scheduling disciplines that support
> > flow-based and class-based resource sharing were already implemented in
this
> > package http://www.cc.jyu.fi/~sayenko/src/ns2rr-0.0.3.tar.gz. They also
> > support LLQ in the so-called alternate priority mode. However,
class-based
> > scheduling does not support SFQ.
> >
> > Sincerely,
> > Alexander Sayenko (PhD)
> > Senior Assistant
> > Telecommunication laboratory, MIT department
> > University of Jyvaskyla, Finland
> >
> >
> >
> >>
> >
> >
>
> --
--
> > 
> >
> >
> >
> >> Hello,
> >>  I changed SFQ/DRR to support service based classification for SFQ/DRR.
> >> Please take a look at this queueing and give me results about your
ideas
> >> and evaluation.
> >>
> >> -- 
> >> Best Regards,
> >> S.Mehdi Sheikhalishahi,
> >> Bye.
> >>
> >>
> >>
> >
> >
>
> --
--
> > 
> >
> >
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date:
21.07.2006
> >
> >
>
>
> -- 
> Best Regards,
> S.Mehdi Sheikhalishahi,
> Bye.
>
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 24.07.2006
>
>