routing

所属分类:网络
开发工具:Others
文件大小:1908KB
下载次数:459
上传日期:2008-07-15 15:44:16
上 传 者米尼
说明:  omnet++下仿真100个节点的路由协议!
(omnet++ simulation under 100 nodes routing protocol!)

文件列表:
routing\.tkenvrc (1233, 2008-07-09)
routing\app.cpp (2792, 2006-10-21)
routing\Makefile.vc (3599, 2006-10-21)
routing\net60.ned (7325, 2006-10-21)
routing\networks\fullgraph.ned (803, 2006-10-21)
routing\networks\mesh.ned (1153, 2006-10-21)
routing\networks\net60a.ned (7908, 2006-10-21)
routing\networks\omnetpp.ini (858, 2006-10-21)
routing\node.ned (1345, 2006-10-21)
routing\omnetpp.ini (96, 2006-10-21)
routing\packet.msg (386, 2006-10-21)
routing\packet_m.cpp (8785, 2008-07-06)
routing\packet_m.h (1607, 2008-07-06)
routing\routing.cpp (2880, 2006-10-21)
routing\routing.dsp (9713, 2008-07-06)
routing\routing.dsp.in (9607, 2006-10-21)
routing\routing.dsw (539, 2006-10-21)
routing\routing.exe (1855488, 2008-07-06)
routing\routing.exp (331604, 2008-07-06)
routing\routing.lib (547314, 2008-07-06)
routing\routing.ncb (58368, 2008-07-15)
routing\routing.opt (49664, 2008-07-15)
routing\routing.plg (256, 2008-07-09)
routing\routing.suo (6656, 2008-07-08)
routing\networks (0, 2008-07-06)
routing\release (0, 2008-07-06)
routing (0, 2008-07-15)

Routing ======= Demonstrates static shortest-path routing. Routing tables are set up at the beginning of the simulation using the cTopology class. The model is intentionally kept simple to facilitate understanding. The network topology is the one widely known as the "NTT backbone", and it was contributed by Mudassar Farooq. Every node queries the topology of the network independently, using a cTopology object. Then it computes shortest paths to every other node, and stores the first nodes of the paths in a next-hop table. (Actually the table contains the port number to the next-hop node not the node address itself -- the table thus provides dest-address -> next-hop-address mapping). All the above takes place once, at the beginning of this simulation. The topology is static during the simulation, and so there's no need for the nodes to do anything to keep the tables up-to-date. There's no routing protocol in the model. Once the routing tables are set up, nodes start sending packets at random intervals. Every node gets a list of destination addresses in a parameter, and for every packet it randomly chooses a destination from the list. To keep the model simple, packet forwarding takes zero time in the model, and so it is not necessary to queue the packets. In a realistic simulation this also has to be changed. The networks/ subdirectory contains further networks that can be tested with the "routing" executable -- provided OMNeT++ was compiled with support for dynamic loading of NED files (WITH_NETBUILDER option).

近期下载者

相关文件


收藏者