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

Specifying a particular route



Dear Tarik and Christiane,

I have seen a message from Eric Wong adressed to you about specification
of a particular route. I don't know if you have answered or if you have
any reply for Eric. If you do please copy me in your reply because i
also have that problem. If there is any script in the /tcl/ex examples
related to that topic , please inform me.

Bagula. 

###############################################################################
BIGOMOKERO ANTOINE BAGULA               Home : Gardenia 2
Dept of Computer Science                       Skyvuedrive
University of Stellenbosch                     Kluis Rivier
Private Bag XI                                    7580
7602 Matieland                                 Cape Town
South Africa                                   South Africa

Email :[email protected]
       [email protected]
http://www.cs.sun.ac.za/projects/COE/#members
http://www.cs-net.org
Fax : +2721 8084416 (W)
Tel : +2721 8084605 (W)                                
Cell :+2782 9760453
###############################################################################

---------- Forwarded message ----------
Date: Sat, 12 Feb 2000 01:35:26 +0800
From: Eric Wong <[email protected]>
To: Christiane <[email protected]>,
     Tarik Alj <[email protected]>,
     [email protected]
Subject: 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