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

Specifying a particular route



Hi,

Can I ask if it is possible to define specific path between 2 pairs of
source and destinations nodes with the current ns2.1b5?

This is what I am trying to get.

                        bs1  bs2
                            \  /
            s1       r1--r2--r3      d1
                \    /    \      /   \    /
                  r0-----r4-----r5
                /           /  \           \
            s2        bd1 bd2       d2


That is for s1 and s2 I want them to follow a specific path to d1 and d2
respectively.
i.e.     s1 -> r0 -> r1 -> r2 -> r3 > r5 -> d1
         s2 -> r0 -> r4 -> r5 -> d2

While for sources bs1 and bs2 to destination bd1 and bd2, they follow the
normal shortest path route.

Is there any way of defining an expilcite path? I know that this can be done
by using
$n1 add-route-to-adj-node -default $r1

however to use this I have to turn off routing $ns rtproto Manaul however, I
still need routing for the source bs1 and bs2?

Is the anyway I can do to add my own routing entries? What changes can I
make to the curent classifier such that it can define it's own path yet
keeping it's original capability?

any info is greatly appreciated. thanks.

Thanks.
Eric