[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] attaching snoop to a node
Hi all,
I am new on ns.
I am constructing a network topology as following:
n1----- n2 - - - n3
where n2 is a basestation. n3 is a static node(will not move). The link
between n1 and n2 is wired while n2 and n3 is wireless.
According to the snoop.tcl, I have to construct a lan object by
providing a parameter nodelist and other necessary parameters. After
that I can "attach" the
snoop agent by using method "addNode".
Is using object "lan" the only way to attach a snoop agent to a node?
any other approach? For such a network topology mentioned above, what
tcl script I need?
Thank you very much in advance.
Rgds,
Gary Leung