LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-21-2013, 01:48 AM   #1
aditi.sen
LQ Newbie
 
Registered: Mar 2013
Posts: 1

Rep: Reputation: Disabled
vlan.tcl in ns2


Hello,

I'm trying to implement vlan in ns2. There is a vlan.tcl code in /../ns2.28/tcl/lan/vlan.tcl. Can someone please tell me briefly how it works. I am not able to understand the simulation. Pleasee help.

Thank you,
Aditi.
 
Old 03-21-2013, 03:35 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
Welcome to LQ.

Not very much information to find.
Google .. ns2 vlan simulation ..
http://cs-study.blogspot.dk/
> http://cs-study.blogspot.dk/2012/11/...-on-stick.html

http://conference.spit.ac.in/ieee_co...g/spit-256.pdf
...

Existing simulations / examples / tests that use "vlan(.tcl)"
cd ns-2.28/tcl/ex/ && grep -Rin vlan *
Code:
$ grep -Rin vlan *
snoop/MySnoop.tcl:1:puts "sourcing ../../lan/vlan.tcl..."
snoop/MySnoop.tcl:2:source ../..//lan/vlan.tcl
tcl/lib/ns-lib.tcl:166:source ../lan/vlan.tcl
vlantest-flat.tcl:1:puts "sourcing tcl/lan/vlan.tcl..."
vlantest-flat.tcl:2:source ../lan/vlan.tcl
vlantest-flat.tcl:5:set opt(namtr)      "vlantest-flat.nam"
vlantest-hier.tcl:1:puts "sourcing tcl/lan/vlan.tcl..."
vlantest-hier.tcl:2:source ../lan/vlan.tcl
vlantest-hier.tcl:5:set opt(namtr)      "vlantest-hier.nam"
vlantest-mcst.tcl:1:source ../lan/vlan.tcl
vlantest-mcst.tcl:4:set opt(namtr)      "vlantest-mcst.nam"
.. and : ns-2.28/tcl/test/test-suite-lan.txt, lines 34 and 66.

P.S.: All versions of ns2.xx have ns-2.xx/tcl/lan/vlan.tcl

-

Last edited by knudfl; 03-21-2013 at 03:40 AM.
 
  


Reply

Tags
vlan-ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NS2 Implementation: Handover, tcl, c++ RSM_smile Programming 1 06-25-2012 04:27 PM
want a ns2 program code in tcl MONICA Linux - Wireless Networking 1 04-23-2012 05:49 PM
tcl code for ns2 simulation shanky Programming 2 08-09-2011 11:57 PM
script tcl NS2 MounaRM Linux - Networking 0 01-10-2011 08:49 AM
where to place my tcl scripts for ns2 to see them ? alinnic1 Linux - Software 2 10-14-2010 10:58 AM


All times are GMT -5. The time now is 02:18 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration