ns3--Global Routing
2016-10-12 05:08
302 查看
原文:
https://www.nsnam.org/doxygen/group__globalrouting.html
The model assumes that all nodes on an ns-3 channel are reachable to one another, regardless of whether the nodes can use the channel successfully (in the case of wireless). Therefore, this model should typically be used only on wired topologies. Layer-2 bridge devices are supported. API does not yet exist to control the subset of a topology to which this global static routing is applied.
If the topology changes during the simulation, by default, routing will not adjust. There are two ways to make it adjust.
https://www.nsnam.org/doxygen/group__globalrouting.html
Detailed Description
Performs pre-simulation static route computation on a layer-3 IPv4 topology.Model
ns-3 global routing performs pre-simulation static route computation on a layer-3 IPv4 topology. The user API from the script level is fairly minimal; once a topology has been constructed and addresses assigned, the user may call ns3::GlobalRouteManager::PopulateRoutingTables() and the simulator will initialize the routing database and set up static unicast forwarding tables for each node.The model assumes that all nodes on an ns-3 channel are reachable to one another, regardless of whether the nodes can use the channel successfully (in the case of wireless). Therefore, this model should typically be used only on wired topologies. Layer-2 bridge devices are supported. API does not yet exist to control the subset of a topology to which this global static routing is applied.
If the topology changes during the simulation, by default, routing will not adjust. There are two ways to make it adjust.
Set the attribute Ipv4GlobalRouting::RespondToInterfaceEvents to true Manually call the sequence of GlobalRouteManager methods to delte global routes, build global routing database, and initialize routes. There is a helper method that encapsulates this (Ipv4GlobalRoutingHelper::RecomputeRoutingTables())
相关文章推荐
- NS3中文:4 概念描述
- NS3 -- 产生随机数
- NS3学习日志
- 图文:如何在eclipse中运行ns3程序
- NS3入门
- ns3 常用waf命令
- 使用eclipse编译ns3脚本
- NS3的代码风格(二)
- ns3的基础学习
- NS3网络仿真(1):开发环境搭建
- NS3网络仿真(14): TCP连接与端口扫描
- ns3中antenna module
- (OK)(OK)(All in CLI) Fedora23 + Docker(busybox) + NS3 + MANETs - testing
- NS3 fifth.cc 拥塞窗口实例
- NS3系列—7———NS3日志
- ns3通过TapBridge连接外部控制器floodlight
- NS3学习资料
- NS3 seventh.cc为例说明Probe< 一>
- 全双工无线通信在ns3上的实现
- NS3 Command Line Arguments 使用命令行参数改变脚本