IEthernetNetworkNode¶
Package: inet.node.contract
module interface IEthernetNetworkNode
Interface for all network nodes that have Ethernet connectivity. Extends the base INetworkNode interface by adding Ethernet-specific gates and parameters.
This interface is implemented by various node types that participate in Ethernet networks, such as hosts, switches, and routers with Ethernet interfaces. It ensures that all Ethernet-capable nodes have the necessary gates to connect to Ethernet networks.
See also: EthernetHost, EthernetSwitch, StandardHost, Router
Inheritance diagram¶
Implemented by¶
Name |
Type |
Description |
|---|---|---|
compound module |
Implements a gPTP bridge network node. |
|
compound module |
Implements a gPTP end station that contains a clock module and a gPTP protocol. |
|
compound module |
Provides a gPTP master network node. |
|
compound module |
Provides a gPTP slave network node. |
|
compound module |
A mobile node with the Ad hoc On-Demand Distance Vector (AODV) routing protocol. Extends AdhocHost by adding the AODV routing protocol module. |
|
compound module |
An extension of the transport layer node base that adds support for applications. Provides the highest level of abstraction for network nodes, completing the full network stack from physical to application layer. |
|
compound module |
An extension of the basic node infrastructure with link layer functionality. Provides support for various network interfaces and link layer protocols, forming the foundation for network connectivity. |
|
compound module |
An extension of the link layer node base with network layer functionality. Provides support for multiple network protocols, including IPv4 and IPv6. |
|
compound module |
An extension of the network layer node base with transport layer protocols. Provides support for UDP, TCP, and SCTP, enabling end-to-end communication services for applications. |
|
compound module |
A router that supports Border Gateway Protocol version 4 (BGPv4) along with Open Shortest Path First version 4 (OSPFv4). It extends the standard Router module with BGP and OSPF functionality enabled. |
|
compound module |
A mobile node with the Destination-Sequenced Distance Vector (DSDV) routing protocol. Extends AdhocHost by adding the DSDV routing protocol module. |
|
compound module |
A mobile node with the Dynamic MANET On-demand (DYMO) routing protocol. Extends AdhocHost by adding the DYMO routing protocol module. |
|
compound module |
A router that uses the Enhanced Interior Gateway Routing Protocol (EIGRP). It extends the standard Router module with EIGRP functionality and dual-stack (IPv4/IPv6) support. |
|
compound module |
A network node designed specifically for Ethernet 10BASE-T1S multidrop networks. It extends StandardHost with specialized Ethernet interfaces that support the Physical Layer Collision Avoidance (PLCA) protocol. |
|
compound module |
EthernetSwitch models a Layer 2 Ethernet switch with support for various IEEE 802.1 protocols and features. It provides frame forwarding based on MAC addresses and implements multiple switching technologies. |
|
compound module |
A mobile node with the Greedy Perimeter Stateless Routing (GPSR) protocol. It extends AdhocHost by adding the GPSR routing protocol module. |
|
compound module |
A mobile wireless node that participates in ad hoc networks without centralized infrastructure. Extends WirelessHost by configuring the wireless interface for ad hoc mode operation and enabling packet forwarding. |
|
compound module |
A mobile node with ad hoc routing capabilities intended for Mobile Ad hoc Networks (MANETs). Extends AdhocHost by adding support for MANET routing protocols. |
|
compound module |
A router with multicast routing capabilities that can forward multicast traffic between different network segments. |
|
compound module |
A network router device with support for multiple routing protocols and network interfaces. Provides the foundation for simulating various types of routers in both wired and wireless networks. |
|
compound module |
A wireless sensor network (WSN) node with low-power communication capabilities. Provides a specialized node type for simulating resource-constrained devices commonly used in environmental monitoring, industrial automation, and IoT applications. |
|
compound module |
A comprehensive model of an IPv4/IPv6 host that provides a complete network stack with configurable application, transport, network, and link layers. It supports multiple network interfaces, protocols, and applications that can be customized through parameters. |
|
compound module |
A mobile device with wireless connectivity operating in infrastructure mode. Extends StandardHost by adding a preconfigured IEEE 802.11 wireless interface, making it suitable for simulating devices in WiFi networks. |
|
compound module |
InternetCloud models a large network such as part of the Internet or a corporate backbone network with realistic delay, packet loss, and datarate characteristics. It abstracts away the internal structure of the network while preserving the end-to-end behavior that applications would experience. |
|
compound module |
An IPv6 router with multicast routing capabilities. It is the IPv6 counterpart of ~MulticastRouter: it extends the IPv6 Router6 node (no IPv4 stack; routingTableModule already points at the IPv6 routing table), enables Protocol Independent Multicast (PIM) and multicast forwarding, and binds the whole PIM compound (both PIM-DM and PIM-SM) to the IPv6 stack via pim.addressFamily = “ipv6”. |
|
compound module |
An IPv6 router for next-generation Internet Protocol networks. It extends the standard Router module by configuring it to use IPv6 as the network layer protocol while disabling IPv4 by default. |
|
compound module |
An IPv6 host with TCP, UDP, and SCTP transport layer protocols. It extends the standard host model by configuring it to use IPv6 as the network layer protocol while disabling IPv4 by default. |
|
compound module |
An IPv6 host that can communicate directly with mobile nodes in a Mobile IPv6 network. Extends the standard IPv6 host with Mobile IPv6 support for route optimization. |
|
compound module |
An IPv6 router that functions as a Home Agent in Mobile IPv6 networks. Extends the standard IPv6 router (Router6) with Mobile IPv6 support. |
|
compound module |
A host with Mobile IPv6 support. Extends the standard IPv6 host (StandardHost6) with mobility management capabilities. |
|
compound module |
A wireless mobile node with IPv6 and Mobile IPv6 support. Combines wireless connectivity with mobility management capabilities, allowing it to maintain network connections while moving between different wireless networks. |
|
compound module |
An LDP-capable MPLS router. |
|
compound module |
Base module for MPLS-capable routers. Extends the standard Router with the MPLS data plane (Mpls, LibTable) and the Traffic Engineering Database (Ted, LinkStateRouting) common to all MPLS signaling protocols. |
|
compound module |
An RSVP-TE capable MPLS router. |
|
compound module |
An Ethernet switch with Media Redundancy Protocol (MRP) support. It extends the standard EthernetSwitch by enabling the MRP functionality. |
|
compound module |
A router that uses the Open Shortest Path First version 2 (OSPFv2) routing protocol. It extends the standard Router module with OSPF functionality enabled. |
|
compound module |
A router that uses the Open Shortest Path First version 3 (OSPFv3) routing protocol. It extends the standard Router module with OSPFv3 functionality and IPv6 support. |
|
compound module |
An IPv6 router that acts as the Local Mobility Anchor (LMA) in a Proxy Mobile IPv6 (RFC 5213) domain. It is the topological anchor for the mobile nodes’ home network prefixes: it holds the binding cache, terminates the bidirectional tunnels to the Mobile Access Gateways, and routes each mobile node’s home network prefix into the tunnel toward its currently serving gateway. |
|
compound module |
An IPv6 access router that acts as a Mobile Access Gateway (MAG) in a Proxy Mobile IPv6 (RFC 5213) domain. It detects mobile nodes attaching to and detaching from its access links, sends Proxy Binding Updates to the Local Mobility Anchor on their behalf, sets up the tunnel to the anchor, and advertises each mobile node’s home network prefix on the access link so the (unmodified) mobile node keeps its address as it roams between gateways. |
|
compound module |
A router that uses the Routing Information Protocol (RIP) version 2. Extends the standard Router module with RIP functionality enabled. |
|
compound module |
A network node with Real-time Transport Protocol (RTP) support. Extends StandardHost by adding RTP-specific components for real-time multimedia streaming applications. |
|
compound module |
A specialized network device that serves as the master clock for Time-Sensitive Networking (TSN) simulations. |
|
compound module |
An end device with Time-Sensitive Networking (TSN) capabilities. It extends the StandardHost with various TSN features defined in the IEEE 802.1 standards suite for deterministic, low-latency communication over Ethernet networks. |
|
compound module |
An Ethernet switch with Time-Sensitive Networking (TSN) capabilities. It extends the standard EthernetSwitch with various TSN features defined in the IEEE 802.1 standards suite for deterministic, low-latency communication over Ethernet networks. |
|
compound module |
SCTP NAT router |
Extends¶
Name |
Type |
Description |
|---|---|---|
module interface |
INetworkNode defines the common interface for all network node types in INET. It serves as the base interface that all node modules must implement to be recognized and treated as network nodes within the simulation. |
Parameters¶
Name |
Type |
Default value |
Description |
|---|---|---|---|
numEthInterfaces |
int |
Properties¶
Name |
Value |
Description |
|---|---|---|
display |
i=device/pc |
|
labels |
node,ethernet-node,wireless-node |
|
networkNode |
Source code¶
//
// Interface for all network nodes that have Ethernet connectivity. Extends the base
// INetworkNode interface by adding Ethernet-specific gates and parameters.
//
// This interface is implemented by various node types that participate in
// Ethernet networks, such as hosts, switches, and routers with Ethernet interfaces.
// It ensures that all Ethernet-capable nodes have the necessary gates to connect
// to Ethernet networks.
//
// @see ~EthernetHost, ~EthernetSwitch, ~StandardHost, ~Router
//
moduleinterface IEthernetNetworkNode extends INetworkNode
{
parameters:
int numEthInterfaces;
@display("i=device/pc");
gates:
inout ethg[numEthInterfaces];
}