#include <ipv4-static-routing-helper.h>
Public Member Functions | |
virtual Ptr< Ipv4RoutingProtocol > | Create (Ptr< Node > node) const |
void | SetDefaultMulticastRoute (Ptr< Node > n, Ptr< NetDevice > nd) |
Add a default route to the static routing protocol to forward packets out a particular interface. |
This class is expected to be used in conjunction with ns3::InternetStackHelper::SetRoutingHelper
virtual Ptr<Ipv4RoutingProtocol> ns3::Ipv4StaticRoutingHelper::Create | ( | Ptr< Node > | node | ) | const [virtual] |
node | the node on which the routing protocol will run |
Implements ns3::Ipv4RoutingHelper.
Add a default route to the static routing protocol to forward packets out a particular interface.
Functionally equivalent to: route add 224.0.0.0 netmask 240.0.0.0 dev nd