Network BulkTransfer6

Package: inet.examples.ipv6.ipv6bulk
File: examples/ipv6/ipv6bulk/BulkTransfer6.ned

(no description)

StandardHost6 StandardHost6 StandardHost6 StandardHost6 Router6 FlatNetworkConfigurator6

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Properties:

Name Value Description
isNetwork

Unassigned submodule parameters:

Name Type Default value Description
client1.routingTable6.routingTableFile xml
client1.pingApp.destAddr string ""

destination IP or IPv6 address

client1.pingApp.srcAddr string ""

source IP or IPv6 address (useful with multi-homing)

client1.pingApp.packetSize double 56B

of ping payload, in bytes

client1.pingApp.interval double 1s

time to wait between pings (can be random)

client1.pingApp.hopLimit double 32

TTL or hopLimit for IP packets

client1.pingApp.count double 0

stop after count ping requests, 0 means continuously

client1.pingApp.startTime double uniform(0s,this.interval)

send first ping at startTime

client1.pingApp.stopTime double 0s

send no pings after stopTime, 0 means forever

client1.pingApp.printPing bool true

dump on stdout

client1.networkLayer.ipv6.procDelay double 0s
client1.ppp.ppp.mtu int 4470
client1.eth.mac.promiscuous bool false

if true, all packets are received, otherwise only the ones with matching destination MAC address

client1.eth.mac.address string "auto"

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

client1.eth.mac.txrate double 100Mbps

maximum data rate supported by this station (bit/s); actually chosen speed may be lower due to auto- configuration. 0 means fully auto-configured.

client1.eth.mac.duplexEnabled bool true

whether duplex mode can be enabled or not; whether MAC will actually use duplex mode depends on the result of the auto-configuration process (duplex is only possible with DTE-to-DTE connection).

client1.eth.mac.mtu int 1500
client2.routingTable6.routingTableFile xml
client2.pingApp.destAddr string ""

destination IP or IPv6 address

client2.pingApp.srcAddr string ""

source IP or IPv6 address (useful with multi-homing)

client2.pingApp.packetSize double 56B

of ping payload, in bytes

client2.pingApp.interval double 1s

time to wait between pings (can be random)

client2.pingApp.hopLimit double 32

TTL or hopLimit for IP packets

client2.pingApp.count double 0

stop after count ping requests, 0 means continuously

client2.pingApp.startTime double uniform(0s,this.interval)

send first ping at startTime

client2.pingApp.stopTime double 0s

send no pings after stopTime, 0 means forever

client2.pingApp.printPing bool true

dump on stdout

client2.networkLayer.ipv6.procDelay double 0s
client2.ppp.ppp.mtu int 4470
client2.eth.mac.promiscuous bool false

if true, all packets are received, otherwise only the ones with matching destination MAC address

client2.eth.mac.address string "auto"

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

client2.eth.mac.txrate double 100Mbps

maximum data rate supported by this station (bit/s); actually chosen speed may be lower due to auto- configuration. 0 means fully auto-configured.

client2.eth.mac.duplexEnabled bool true

whether duplex mode can be enabled or not; whether MAC will actually use duplex mode depends on the result of the auto-configuration process (duplex is only possible with DTE-to-DTE connection).

client2.eth.mac.mtu int 1500
client3.routingTable6.routingTableFile xml
client3.pingApp.destAddr string ""

destination IP or IPv6 address

client3.pingApp.srcAddr string ""

source IP or IPv6 address (useful with multi-homing)

client3.pingApp.packetSize double 56B

of ping payload, in bytes

client3.pingApp.interval double 1s

time to wait between pings (can be random)

client3.pingApp.hopLimit double 32

TTL or hopLimit for IP packets

client3.pingApp.count double 0

stop after count ping requests, 0 means continuously

client3.pingApp.startTime double uniform(0s,this.interval)

send first ping at startTime

client3.pingApp.stopTime double 0s

send no pings after stopTime, 0 means forever

client3.pingApp.printPing bool true

dump on stdout

client3.networkLayer.ipv6.procDelay double 0s
client3.ppp.ppp.mtu int 4470
client3.eth.mac.promiscuous bool false

if true, all packets are received, otherwise only the ones with matching destination MAC address

client3.eth.mac.address string "auto"

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

client3.eth.mac.txrate double 100Mbps

maximum data rate supported by this station (bit/s); actually chosen speed may be lower due to auto- configuration. 0 means fully auto-configured.

client3.eth.mac.duplexEnabled bool true

whether duplex mode can be enabled or not; whether MAC will actually use duplex mode depends on the result of the auto-configuration process (duplex is only possible with DTE-to-DTE connection).

client3.eth.mac.mtu int 1500
server.routingTable6.routingTableFile xml
server.pingApp.destAddr string ""

destination IP or IPv6 address

server.pingApp.srcAddr string ""

source IP or IPv6 address (useful with multi-homing)

server.pingApp.packetSize double 56B

of ping payload, in bytes

server.pingApp.interval double 1s

time to wait between pings (can be random)

server.pingApp.hopLimit double 32

TTL or hopLimit for IP packets

server.pingApp.count double 0

stop after count ping requests, 0 means continuously

server.pingApp.startTime double uniform(0s,this.interval)

send first ping at startTime

server.pingApp.stopTime double 0s

send no pings after stopTime, 0 means forever

server.pingApp.printPing bool true

dump on stdout

server.networkLayer.ipv6.procDelay double 0s
server.ppp.ppp.mtu int 4470
server.eth.mac.promiscuous bool false

if true, all packets are received, otherwise only the ones with matching destination MAC address

server.eth.mac.address string "auto"

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

server.eth.mac.txrate double 100Mbps

maximum data rate supported by this station (bit/s); actually chosen speed may be lower due to auto- configuration. 0 means fully auto-configured.

server.eth.mac.duplexEnabled bool true

whether duplex mode can be enabled or not; whether MAC will actually use duplex mode depends on the result of the auto-configuration process (duplex is only possible with DTE-to-DTE connection).

server.eth.mac.mtu int 1500
router.routingTable6.routingTableFile xml
router.networkLayer.ipv6.procDelay double 0s
router.ppp.ppp.mtu int 4470
router.eth.mac.promiscuous bool false

if true, all packets are received, otherwise only the ones with matching destination MAC address

router.eth.mac.address string "auto"

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

router.eth.mac.txrate double 100Mbps

maximum data rate supported by this station (bit/s); actually chosen speed may be lower due to auto- configuration. 0 means fully auto-configured.

router.eth.mac.duplexEnabled bool true

whether duplex mode can be enabled or not; whether MAC will actually use duplex mode depends on the result of the auto-configuration process (duplex is only possible with DTE-to-DTE connection).

router.eth.mac.mtu int 1500

Source code:

network BulkTransfer6
{
    types:
        channel C extends DatarateChannel
        {
            //            datarate = 1Mbps;
            delay = 0.1us;
        }
    submodules:
        client1: StandardHost6 {
            parameters:
                @display("p=131,67;i=device/pc3");
        }
        client2: StandardHost6 {
            parameters:
                @display("p=337,67;i=device/pc3");
        }
        client3: StandardHost6 {
            parameters:
                @display("p=337,247;i=device/pc3");
        }
        server: StandardHost6 {
            parameters:
                @display("p=131,247;i=device/pc2");
        }
        router: Router6 {
            parameters:
                @display("p=239,156");
        }
        configurator: FlatNetworkConfigurator6 {
            parameters:
                @display("p=62,119");
        }
    connections:
        client1.ethg++ <--> C <--> router.ethg++;
        client2.ethg++ <--> C <--> router.ethg++;
        client3.ethg++ <--> C <--> router.ethg++;
        client1.ethg++ <--> C <--> server.ethg++;
        server.ethg++ <--> C <--> router.ethg++;
}