[Ns-bugs] [Bug 114] global routing doesn't handle multi-hop layer-2 subnets

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Thu Sep 11 14:05:43 PDT 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=114


tomh at tomh.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ns-bugs at isi.edu
         AssignedTo|ns-bugs at isi.edu             |craigdo at ee.washington.edu




------- Comment #3 from tomh at tomh.org  2008-09-11 17:05 -------
we discussed this last Friday.  There likely is new API necessary for a
NetDevice to make this work:  NetDevice::IsBridge().

Basically, the global routing code crawls the network, link-by-link.  If it
encounters a bridge node, it will first encounter a NetDevice type that is a
real interface (such as CSMA).  It needs to determine whether the CSMA
interface is part of a bridge group and, if so, find all of the
bridged-together NetDevices and recursively crawl each of those channels
looking for more NetDevices in the same broadcast domain.

If there is a NetDevice::IsBridge() method, the code can iterate the devices on
a target node and look for bridge devices.  For each bridge device found, it
can iterate and look whether the device in question is part of that bridge
group.  

A more direct way would be to ask the target device (i.e., the CSMA interface)
whether it is itself part of a bridge group (e.g., NetDevice::IsBridged() 
-note the trailing "d") but that would require devices to know whether they are
in a bridge or not and is not strictly required to make this global routing
work.  So, we agreed to try for a solution that would add NetDevice::IsBridge()
and set it to true for any device that considers itself a bridge.


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
You are the assignee for the bug, or are watching the assignee.
You are the assignee for the bug, or are watching the assignee.


More information about the Ns-bugs mailing list