Prevent indirect communication

53 Views Asked by At

I have such network topology:

A--B--C
\____/

(A connected to B and C, B connected to C)

I'm using PointToPointChannel to connect these nodes. And I want that A node will not be able to communicate with C node via node B (only using direct link) How can I prevent such communication?

1

There are 1 best solutions below

0
On

You need routing to do this, perhaps static routing. Here some manual to do this : http://www.nsnam.org/docs/release/3.18/models/html/routing-overview.html and example of routing : ns-3-folder/examples/routing