Ring Topology

645 views
Skip to first unread message

lovel...@hotmail.com

unread,
Aug 9, 2011, 9:48:42 AM8/9/11
to ns-3-users
how to simulate a ring topology in ns3?

Nina

Jorge Sousa

unread,
Aug 9, 2011, 11:03:21 AM8/9/11
to ns-3-...@googlegroups.com
Hi,

Just to keep this thread alive, i think the only possible way (yet) its to set nodes with relative position, giving them fixed coordinates. I think in terms of topologies, only grid, bus and star are available at the moment but i may be wrong so lets wait for another responses.

Regards,

how to simulate a ring topology in ns3?

Nina

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.


John Abraham

unread,
Aug 9, 2011, 3:19:04 PM8/9/11
to ns-3-users
Hi,
if you were referring to point-to-point ring, yes, there is no ring
topology yet.
However, you can look at a draft version of ring/tree topologies I
worked on few months back via
"hg clone http://code.nsnam.org/jabraham3/topo"

Model: point-to-point-layout/model/point-to-point-ring.cc/h
Example: netanim/examples/ring-animation.cc
To Run: ./waf --run "ring-animation --num_nodes=15"

It is has neither been tested nor reviewed. ( I could expect bugs in
areas such as running out of Ip networks during Ip address assignment
etc).

-john

On Aug 9, 11:03 am, Jorge Sousa <jose.jorge.so...@gmail.com> wrote:
> Hi,
>
> Just to keep this thread alive, i think the only possible way (yet) its to
> set nodes with relative position, giving them fixed coordinates. I think in
> terms of topologies, only grid, bus and star are available at the moment but
> i may be wrong so lets wait for another responses.
>
> Regards,
>
> JS
>
> 2011/8/9 lovelyfi...@hotmail.com <lovelyfi...@hotmail.com>

lovel...@hotmail.com

unread,
Aug 10, 2011, 6:52:19 AM8/10/11
to ns-3-users
thank you for your responses.

but i want to simulate a csma ring and i used the matrix topology to
define the position of nodes and the flux exchange.
my probleme is how to connect the first and the last node without
having a bidirrectionnel flux?

On Aug 9, 9:19 pm, John Abraham <johnj...@gmail.com> wrote:
> Hi,
> if you were referring to point-to-point ring, yes, there is no ring
> topology yet.
> However, you can look at a draft version of ring/tree topologies I
> worked on few months back via
> "hg clonehttp://code.nsnam.org/jabraham3/topo"

John Abraham

unread,
Aug 10, 2011, 7:01:16 AM8/10/11
to ns-3-users
No idea about that.. I would wait for other responses.

On Aug 10, 6:52 am, "lovelyfi...@hotmail.com"
Reply all
Reply to author
Forward
0 new messages