[ns] problem in simulating a wired cum wireless link between two nodes...
Hi all, I want to simulate a wireless link between two nodes. where both the nodes have a wired interface as well. So my simulation topology is like - I receive the data from the wired link on node-1, I transmit the same on the wireless link to node-2, now node-2 receives the data and sends on the wired interface to other nodes in the network. I tried making the two nodes as the base station nodes I get the following error : num_nodes is set 2 INITIALIZE THE LIST xListHead --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o15: no target for slot -1 _o15 type: Classifier/Hash/Dest content dump: classifier _o15 0 offset 0 shift 2147483647 mask 0 slots -1 default -- Finished standard no-slot{} default handler -- Please provide any suggestion or any documentation that will help me in simulating the scenario Thank you all in anticipation... Regards, Sam
[ns] problem in simulating a wired cum wireless link between two nodes...
Hi Alysson, Thanks for your time and effort. However, I would highly appreciate if you could suggest me something to transfer data between BS or how can I simulate a same kind of topology. My ultimate aim is to simulate a wireless link between two nodes where the other side of both the nodes is a wired interface... Thanking you in anticipation... Regards, Samar -- Forwarded message -- From: Alysson Oliveira Date: Mon, Jun 20, 2011 at 8:02 PM Subject: Re: [ns] problem in simulating a wired cum wireless link between two nodes... To: sam sha Hi You had made some hierarquical mistake. But dont transfer data between BS yet. I'll see it latter... See you... Alysson 2011/6/19, sam sha : > Hi Alysson Oliveria, > > Thanks for your response... > I am attaching herewith my scenario.tcl ... I wanted just to make a > wireless link between two nodes while another interface of the node is a > wired link. I am not sure where I am mistaken... > > Thanking you for your timely help > > Regards, > Sam > > > On Sat, Jun 18, 2011 at 5:50 PM, Alysson Oliveira > wrote: > >> Hi Sam Sha, >> >> Would you send you tcl code? May be you had any topology mistake! >> >> Please, see: >> you exemple file ns-2.34/tcl/ex/wired-cum-wireless-sim.tcl >> http://www.ece.iupui.edu/tutorials/ns2/index.php?section=9 >> http://www.isi.edu/nsnam/ns/doc/node192.html >> >> Good luck! >> >> Alysson Oliveira >> >> >> >> >> 2011/6/17, sam sha : >> > >> > Hi all, >> > >> > I want to simulate a wireless link between two nodes. where both the >> nodes >> > have a wired interface as well. So my simulation topology is like - I >> > receive the data from the wired link on node-1, I transmit the same on >> the >> > wireless link to node-2, now node-2 receives the data and sends on the >> wired >> > interface to other nodes in the network. >> > >> > I tried making the two nodes as the base station nodes I get the >> following >> > error : >> > >> > num_nodes is set 2 >> > INITIALIZE THE LIST xListHead >> > --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- >> > _o15: no target for slot -1 >> > _o15 type: Classifier/Hash/Dest >> > content dump: >> > classifier _o15 >> > 0 offset >> > 0 shift >> > 2147483647 mask >> > 0 slots >> > -1 default >> > -- Finished standard no-slot{} default handler -- >> > >> > >> > >> > Please provide any suggestion or any documentation that will help me in >> > simulating the scenario >> > >> > Thank you all in anticipation... >> > >> > Regards, >> > Sam >> > >> >> >> -- >> Alysson Oliveira >> > -- Alysson Oliveira
Re: [ns] problem in simulating a wired cum wireless link between two nodes...
Hi Sam Sha, May be you had any topology mistake! Please, see: Exemple file on ns-2.34/tcl/ex/wired-cum-wireless-sim.tcl http://www.ece.iupui.edu/tutorials/ns2/index.php?section=9 http://www.isi.edu/nsnam/ns/doc/node192.html Good luck! Alysson Oliveira 2011/6/17, sam sha : > > Hi all, > > I want to simulate a wireless link between two nodes. where both the nodes > have a wired interface as well. So my simulation topology is like - I > receive the data from the wired link on node-1, I transmit the same on the > wireless link to node-2, now node-2 receives the data and sends on the wired > interface to other nodes in the network. > > I tried making the two nodes as the base station nodes I get the following > error : > > num_nodes is set 2 > INITIALIZE THE LIST xListHead > --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- > _o15: no target for slot -1 > _o15 type: Classifier/Hash/Dest > content dump: > classifier _o15 > 0 offset > 0 shift > 2147483647 mask > 0 slots > -1 default > -- Finished standard no-slot{} default handler -- > > > > Please provide any suggestion or any documentation that will help me in > simulating the scenario > > Thank you all in anticipation... > > Regards, > Sam > -- Alysson Oliveira
Re: [ns] problem in simulating a wired cum wireless link between two nodes...
Thanks ! but I have been through this tutorial. Somehow I could not solve the problem. Attached is the scenario script. My problem is to communicate between the BS(0) and BS(1). Or in other words create a topology where one interface of the nodes is wired and the other interface is wireless... Thanks & Regards, Samar On Mon, Jun 27, 2011 at 1:39 AM, Tomy Angga Putranto wrote: > this is tutorial from Marc Greis that used by me on my final task > > http://www.isi.edu/nsnam/ns/tutorial/nsscript6.html > > maybe it can solve u'r problem . > > > On Thu, Jun 23, 2011 at 4:29 PM, sam sha wrote: > >> >> >> Hi Alysson, >> >> Thanks for your time and effort. >> >> However, I would highly appreciate if you could suggest me something to >> transfer data between BS or how can I simulate a same kind of topology. My >> ultimate aim is to simulate a wireless link between two nodes where the >> other side of both the nodes is a wired interface... >> >> Thanking you in anticipation... >> >> Regards, >> Samar >> >> >> ------ Forwarded message ------ >> From: Alysson Oliveira >> Date: Mon, Jun 20, 2011 at 8:02 PM >> Subject: Re: [ns] problem in simulating a wired cum wireless link between >> two nodes... >> To: sam sha >> >> >> Hi >> >> You had made some hierarquical mistake. >> >> But dont transfer data between BS yet. >> >> I'll see it latter... >> >> See you... >> >> Alysson >> >> 2011/6/19, sam sha : >> > Hi Alysson Oliveria, >> > >> > Thanks for your response... >> > I am attaching herewith my scenario.tcl ... I wanted just to make a >> > wireless link between two nodes while another interface of the node is a >> > wired link. I am not sure where I am mistaken... >> > >> > Thanking you for your timely help >> > >> > Regards, >> > Sam >> > >> > >> > On Sat, Jun 18, 2011 at 5:50 PM, Alysson Oliveira >> > wrote: >> > >> >> Hi Sam Sha, >> >> >> >> Would you send you tcl code? May be you had any topology mistake! >> >> >> >> Please, see: >> >> you exemple file ns-2.34/tcl/ex/wired-cum-wireless-sim.tcl >> >> http://www.ece.iupui.edu/tutorials/ns2/index.php?section=9 >> >> http://www.isi.edu/nsnam/ns/doc/node192.html >> >> >> >> Good luck! >> >> >> >> Alysson Oliveira >> >> >> >> >> >> >> >> >> >> 2011/6/17, sam sha : >> >> > >> >> > Hi all, >> >> > >> >> > I want to simulate a wireless link between two nodes. where both the >> >> nodes >> >> > have a wired interface as well. So my simulation topology is like - >> I >> >> > receive the data from the wired link on node-1, I transmit the same >> on >> >> the >> >> > wireless link to node-2, now node-2 receives the data and sends on >> the >> >> wired >> >> > interface to other nodes in the network. >> >> > >> >> > I tried making the two nodes as the base station nodes I get the >> >> following >> >> > error : >> >> > >> >> > num_nodes is set 2 >> >> > INITIALIZE THE LIST xListHead >> >> > --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- >> >> > _o15: no target for slot -1 >> >> > _o15 type: Classifier/Hash/Dest >> >> > content dump: >> >> > classifier _o15 >> >> > 0 offset >> >> > 0 shift >> >> > 2147483647 mask >> >> > 0 slots >> >> > -1 default >> >> > -- Finished standard no-slot{} default handler -- >> >> > >> >> > >> >> > >> >> > Please provide any suggestion or any documentation that will help me >> in >> >> > simulating the scenario >> >> > >> >> > Thank you all in anticipation... >> >> > >> >> > Regards, >> >> > Sam >> >> > >> >> >> >> >> >> -- >> >> Alysson Oliveira >> >> >> > >> >> >> -- >> Alysson Oliveira >> >> > > > -- > Tomy Angga Putranto > Teknik Informatika IT Telkom > ** > YM ->> pravda_13 > FB ->> pravda...@yahoo.com > Skype ->> tomy.angga > Twitter ->> @pravda13 > http://pr4vda13.blogspot.com/ >