[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ns] Lan



hey !

thx for your answer ... sorry, my questions were prolly a bit stupid but i'm
a new to ns and tcl ...
I didnt think about setting up a switched lan this way ... I quickly tried
that now and it seemed to be working ...

The nam layout is pretty messy tho (as it was with just one shared lan)

Whats the package you're talking about ??

Thomas


-----Message d'origine-----
De : Tarik Alj [mailto:[email protected]]
Envoye : lundi 12 fevrier 2001 16:13
A : Alefiya Hussain
Cc : Thomas Kuborn; [email protected]
Objet : Re: [ns] Lan






> There is no support for switched LAN in ns directly.

well, what's a switch, what's a router...

>
> -alefiya
>
> On Sun, 11 Feb 2001, Thomas Kuborn wrote:
>
> > Ok thx all for your help, I eventually solved my problem...It appears
nam
> > wont run if you dont give it some information I thought was unnecessary
...
> > Like you cant just make-lan, you need to create some agents (udp for
me).

no joke...

> >
> > Well now the lan is working I was wondering if there was a way to tell
ns to
> > use switched lan and not shared lan ??

picture this :

set switch [$ns node]
set n1 [$ns node]
...
set nk [$ns node]

$ns make-lan "$switch $n1" ...
...
$ns make-lan "$switch $nk" ...

Now you have a switched LAN (with a L2-3 switch...)


You can also use my package if you want to, but you might (make that
"will") need to rewrite some of the code (it's all Tcl).


> >
> > Anyone can point me to some useful resource ?
> >
> > Thanx for your time
> >
> > Thomas
> >
>