Network SimpleRREQ

Package: inet.examples.aodv
File: examples/aodv/AODVSmallNetworks.ned

(no description)

IdealRadioMedium IPv4NetworkConfigurator RoutingTableRecorder LifecycleController ScenarioManager AODVRouter AODVRouter AODVRouter

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Properties:

Name Value Description
isNetwork
display bgb=525,437

Unassigned submodule parameters:

Name Type Default value Description
radioMedium.neighborCache.refillPeriod double
configurator.minLinkWeight double 1E-3
configurator.assignAddresses bool true

assign IP addresses to all interfaces in the network

configurator.assignDisjunctSubnetAddresses bool true

avoid using the same address prefix and netmask on different links when assigning IP addresses to interfaces

configurator.optimizeRoutes bool true

optimize routing tables by merging routes, the resulting routing table might route more packets than the original (used only if addStaticRoutes is true)

configurator.dumpTopology bool false

print extracted network topology to the module output

configurator.dumpLinks bool false

print recognized network links to the module output

configurator.dumpAddresses bool false

print assigned IP addresses for all interfaces to the module output

configurator.dumpRoutes bool false

print configured and optimized routing tables for all nodes to the module output

configurator.dumpConfig string ""

write configuration into the given config file that can be fed back to speed up subsequent runs (network configurations)

routingTableRecorder.enabled bool true
scenarioManager.script xml xml("")
sender.status.initialStatus string "UP"

TODO @signal, @statistic

sender.routingTable.forwarding bool
sender.routingTable.multicastForwarding bool
sender.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

sender.pcapRecorder.verbose bool false

whether to log packets on the module output

sender.pcapRecorder.pcapFile string ""

the PCAP file to be written

sender.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

sender.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

sender.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

sender.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

sender.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

sender.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

sender.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

sender.lo0.lo.mtu int 4470B
sender.aodv.routingTableModule string "^.routingTable"
sender.aodv.interfaceTableModule string "^.interfaceTable"
sender.aodv.networkProtocolModule string "^.networkLayer.ip"
sender.aodv.askGratuitousRREP bool false

see RFC 3561: 6.6.3

sender.aodv.useHelloMessages bool false

see RFC 3561: 6.9

sender.aodv.useLocalRepair bool false

see RFC 3561: 6.12 *not implemented yet*

sender.aodv.udpPort int 654
sender.aodv.maxPeriodicJitter double helloInterval / 4

it MUST NOT be negative; it MUST NOT be greater than MESSAGE_INTERVAL/2; it SHOULD NOT be greater than MESSAGE_INTERVAL/4.

sender.aodv.periodicJitter double uniform(0s, maxPeriodicJitter)

jitter for externally triggered message generation and message forwarding

sender.aodv.maxJitter double 5ms

RFC 5148: need more revise: As well as the decision as to whether to use jitter being dependent on the medium access control and lower layers, the selection of the MAXJITTER parameter SHOULD be appropriate to those mechanisms.

sender.aodv.jitter double uniform(0ms, maxJitter)

jitter for broadcasts

sender.aodv.helloInterval double 1s

every helloInterval seconds a node broadcasts Hello messages (if it is necessary)

sender.aodv.allowedHelloLoss int 2

allowedHelloLoss * helloInterval is the lifetime value for Hello messages

sender.aodv.activeRouteTimeout double 3s

the timeout value for cached routes If Hello messages are used, then the ACTIVE_ROUTE_TIMEOUT parameter value MUST be more than the value (ALLOWED_HELLO_LOSS * HELLO_INTERVAL).

sender.aodv.netDiameter int 35

the maximum possible number of hops between two nodes in the network

sender.aodv.nodeTraversalTime double 0.04s

an estimation of the average one-hop traversal time

sender.aodv.rerrRatelimit int 10

maximum number of RERR messages that the AODV may originate in 1s.

sender.aodv.rreqRetries int 2

specifies the number of times AODV will repeat an expanded ring search for a destination

sender.aodv.rreqRatelimit int 10

maximum number of RREQ messages that the AODV may originate in 1s.

sender.aodv.timeoutBuffer int 2

plus time to wait for a delayed RREP (due to congestion) (to omit this buffer set it to 0)

sender.aodv.ttlStart int 2

specifies the TTL value when initiating a route request

sender.aodv.ttlIncrement int 2

specifies the value by which the TTL will be incremented each time a RREQ is retransmitted

sender.aodv.ttlThreshold int 7

the maximum value of TTL over which NET_DIAMETER value will be used to broadcast any RREQ

sender.aodv.localAddTTL int 2

it is used by the formula which calculates the initial TTL of the RREQ for a local repair

sender.aodv.myRouteTimeout double 2 * activeRouteTimeout

the value of the lifetime field that a destination node places in RREPs

sender.aodv.deletePeriod double 5 * max(activeRouteTimeout, helloInterval)

the time after which an expired route is deleted

sender.aodv.blacklistTimeout double rreqRetries * netTraversalTime

the time after which a blacklisted node is removed from the blacklist

sender.aodv.netTraversalTime double 2 * nodeTraversalTime * netDiameter

an estimation of the traversal time for the complete network

sender.aodv.nextHopWait double nodeTraversalTime + 0.01s

timeout for a RREP-ACK

sender.aodv.pathDiscoveryTime double 2 * netTraversalTime

buffer timeout for each broadcasted RREQ message

intermediateNode.status.initialStatus string "UP"

TODO @signal, @statistic

intermediateNode.routingTable.forwarding bool
intermediateNode.routingTable.multicastForwarding bool
intermediateNode.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

intermediateNode.pcapRecorder.verbose bool false

whether to log packets on the module output

intermediateNode.pcapRecorder.pcapFile string ""

the PCAP file to be written

intermediateNode.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

intermediateNode.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

intermediateNode.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

intermediateNode.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

intermediateNode.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

intermediateNode.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

intermediateNode.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

intermediateNode.lo0.lo.mtu int 4470B
intermediateNode.aodv.routingTableModule string "^.routingTable"
intermediateNode.aodv.interfaceTableModule string "^.interfaceTable"
intermediateNode.aodv.networkProtocolModule string "^.networkLayer.ip"
intermediateNode.aodv.askGratuitousRREP bool false

see RFC 3561: 6.6.3

intermediateNode.aodv.useHelloMessages bool false

see RFC 3561: 6.9

intermediateNode.aodv.useLocalRepair bool false

see RFC 3561: 6.12 *not implemented yet*

intermediateNode.aodv.udpPort int 654
intermediateNode.aodv.maxPeriodicJitter double helloInterval / 4

it MUST NOT be negative; it MUST NOT be greater than MESSAGE_INTERVAL/2; it SHOULD NOT be greater than MESSAGE_INTERVAL/4.

intermediateNode.aodv.periodicJitter double uniform(0s, maxPeriodicJitter)

jitter for externally triggered message generation and message forwarding

intermediateNode.aodv.maxJitter double 5ms

RFC 5148: need more revise: As well as the decision as to whether to use jitter being dependent on the medium access control and lower layers, the selection of the MAXJITTER parameter SHOULD be appropriate to those mechanisms.

intermediateNode.aodv.jitter double uniform(0ms, maxJitter)

jitter for broadcasts

intermediateNode.aodv.helloInterval double 1s

every helloInterval seconds a node broadcasts Hello messages (if it is necessary)

intermediateNode.aodv.allowedHelloLoss int 2

allowedHelloLoss * helloInterval is the lifetime value for Hello messages

intermediateNode.aodv.activeRouteTimeout double 3s

the timeout value for cached routes If Hello messages are used, then the ACTIVE_ROUTE_TIMEOUT parameter value MUST be more than the value (ALLOWED_HELLO_LOSS * HELLO_INTERVAL).

intermediateNode.aodv.netDiameter int 35

the maximum possible number of hops between two nodes in the network

intermediateNode.aodv.nodeTraversalTime double 0.04s

an estimation of the average one-hop traversal time

intermediateNode.aodv.rerrRatelimit int 10

maximum number of RERR messages that the AODV may originate in 1s.

intermediateNode.aodv.rreqRetries int 2

specifies the number of times AODV will repeat an expanded ring search for a destination

intermediateNode.aodv.rreqRatelimit int 10

maximum number of RREQ messages that the AODV may originate in 1s.

intermediateNode.aodv.timeoutBuffer int 2

plus time to wait for a delayed RREP (due to congestion) (to omit this buffer set it to 0)

intermediateNode.aodv.ttlStart int 2

specifies the TTL value when initiating a route request

intermediateNode.aodv.ttlIncrement int 2

specifies the value by which the TTL will be incremented each time a RREQ is retransmitted

intermediateNode.aodv.ttlThreshold int 7

the maximum value of TTL over which NET_DIAMETER value will be used to broadcast any RREQ

intermediateNode.aodv.localAddTTL int 2

it is used by the formula which calculates the initial TTL of the RREQ for a local repair

intermediateNode.aodv.myRouteTimeout double 2 * activeRouteTimeout

the value of the lifetime field that a destination node places in RREPs

intermediateNode.aodv.deletePeriod double 5 * max(activeRouteTimeout, helloInterval)

the time after which an expired route is deleted

intermediateNode.aodv.blacklistTimeout double rreqRetries * netTraversalTime

the time after which a blacklisted node is removed from the blacklist

intermediateNode.aodv.netTraversalTime double 2 * nodeTraversalTime * netDiameter

an estimation of the traversal time for the complete network

intermediateNode.aodv.nextHopWait double nodeTraversalTime + 0.01s

timeout for a RREP-ACK

intermediateNode.aodv.pathDiscoveryTime double 2 * netTraversalTime

buffer timeout for each broadcasted RREQ message

receiver.status.initialStatus string "UP"

TODO @signal, @statistic

receiver.routingTable.forwarding bool
receiver.routingTable.multicastForwarding bool
receiver.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

receiver.pcapRecorder.verbose bool false

whether to log packets on the module output

receiver.pcapRecorder.pcapFile string ""

the PCAP file to be written

receiver.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

receiver.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

receiver.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

receiver.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

receiver.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

receiver.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

receiver.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

receiver.lo0.lo.mtu int 4470B
receiver.aodv.routingTableModule string "^.routingTable"
receiver.aodv.interfaceTableModule string "^.interfaceTable"
receiver.aodv.networkProtocolModule string "^.networkLayer.ip"
receiver.aodv.askGratuitousRREP bool false

see RFC 3561: 6.6.3

receiver.aodv.useHelloMessages bool false

see RFC 3561: 6.9

receiver.aodv.useLocalRepair bool false

see RFC 3561: 6.12 *not implemented yet*

receiver.aodv.udpPort int 654
receiver.aodv.maxPeriodicJitter double helloInterval / 4

it MUST NOT be negative; it MUST NOT be greater than MESSAGE_INTERVAL/2; it SHOULD NOT be greater than MESSAGE_INTERVAL/4.

receiver.aodv.periodicJitter double uniform(0s, maxPeriodicJitter)

jitter for externally triggered message generation and message forwarding

receiver.aodv.maxJitter double 5ms

RFC 5148: need more revise: As well as the decision as to whether to use jitter being dependent on the medium access control and lower layers, the selection of the MAXJITTER parameter SHOULD be appropriate to those mechanisms.

receiver.aodv.jitter double uniform(0ms, maxJitter)

jitter for broadcasts

receiver.aodv.helloInterval double 1s

every helloInterval seconds a node broadcasts Hello messages (if it is necessary)

receiver.aodv.allowedHelloLoss int 2

allowedHelloLoss * helloInterval is the lifetime value for Hello messages

receiver.aodv.activeRouteTimeout double 3s

the timeout value for cached routes If Hello messages are used, then the ACTIVE_ROUTE_TIMEOUT parameter value MUST be more than the value (ALLOWED_HELLO_LOSS * HELLO_INTERVAL).

receiver.aodv.netDiameter int 35

the maximum possible number of hops between two nodes in the network

receiver.aodv.nodeTraversalTime double 0.04s

an estimation of the average one-hop traversal time

receiver.aodv.rerrRatelimit int 10

maximum number of RERR messages that the AODV may originate in 1s.

receiver.aodv.rreqRetries int 2

specifies the number of times AODV will repeat an expanded ring search for a destination

receiver.aodv.rreqRatelimit int 10

maximum number of RREQ messages that the AODV may originate in 1s.

receiver.aodv.timeoutBuffer int 2

plus time to wait for a delayed RREP (due to congestion) (to omit this buffer set it to 0)

receiver.aodv.ttlStart int 2

specifies the TTL value when initiating a route request

receiver.aodv.ttlIncrement int 2

specifies the value by which the TTL will be incremented each time a RREQ is retransmitted

receiver.aodv.ttlThreshold int 7

the maximum value of TTL over which NET_DIAMETER value will be used to broadcast any RREQ

receiver.aodv.localAddTTL int 2

it is used by the formula which calculates the initial TTL of the RREQ for a local repair

receiver.aodv.myRouteTimeout double 2 * activeRouteTimeout

the value of the lifetime field that a destination node places in RREPs

receiver.aodv.deletePeriod double 5 * max(activeRouteTimeout, helloInterval)

the time after which an expired route is deleted

receiver.aodv.blacklistTimeout double rreqRetries * netTraversalTime

the time after which a blacklisted node is removed from the blacklist

receiver.aodv.netTraversalTime double 2 * nodeTraversalTime * netDiameter

an estimation of the traversal time for the complete network

receiver.aodv.nextHopWait double nodeTraversalTime + 0.01s

timeout for a RREP-ACK

receiver.aodv.pathDiscoveryTime double 2 * netTraversalTime

buffer timeout for each broadcasted RREQ message

Source code:

network SimpleRREQ
{
    parameters:
        @display("bgb=525,437");
    submodules:
        radioMedium: IdealRadioMedium {
            parameters:
                @display("p=50,50");
        }
        configurator: IPv4NetworkConfigurator {
            parameters:
                addDefaultRoutes = false;
                addStaticRoutes = false;
                addSubnetRoutes = false;
                config = xml("<config><interface hosts='*' address='145.236.x.x' netmask='255.255.0.0'/></config>");
                @display("p=50,100");
        }
        routingTableRecorder: RoutingTableRecorder {
            parameters:
                @display("p=50,150");
        }
        lifecycleController: LifecycleController {
            parameters:
                @display("p=50,200");
        }
        scenarioManager: ScenarioManager {
            parameters:
                script = default(xml("<scenario/>"));
                @display("p=50,250");
        }
        sender: AODVRouter {
            parameters:
                @display("i=device/pocketpc_s;r=,,#707070;p=270,51");
        }
        intermediateNode: AODVRouter {
            parameters:
                @display("i=device/pocketpc_s;r=,,#707070;p=270,214");
        }
        receiver: AODVRouter {
            parameters:
                @display("i=device/pocketpc_s;r=,,#707070;p=270,377");
        }
    connections allowunconnected:
}