====== IP Layer (ip) ====== The IP layer supports IPv4 and IPv6 support. It can be placed on top of Ethernet, IEEE 802.11, 6LoWPAN, 6LoBTLE, NB-IoT or LTE-M layers. ===== IP Layer Configuration Parameters ===== ^ Parameter^ Type^ Description^ | Address| Number| Ethernet/IPv4/IPv6 Address| | Alias| String| | | Allow Random Addresses| Boolean| | | Avoid L3 Overlapping| Boolean| Solved L3 Address Conflicts| | DHCP| Boolean| DHCP Suport| | DNS Server| Number| DNS Server Address| | Debug Log Level| Number| Debug Level| | Default Gateway| Number| Default Gateway| | Dependencies| String| Other dependencies to this element| | Dest Address| Number| | | Destination Peer| Number| | | Event Filter| String| Filter of Event| | Exact Match| Boolean| | | IPv6| Boolean| | | Link-Local| Boolean| Link Local Address| | Loopback| Boolean| Force Loopback| | Mask| Number| IP Mask| | Max Event Queue Size| Number| Maximum Queue Size| | Name| String| Component Name| | No Events| Boolean| | | OS ICMP| Boolean| Force OS based ICMP| | Passthrough| Boolean| High-to-Low Layer Passthrough| | Ping Address| Number| | | Prefix Length| Number| | | Range| Number| Address Range| | Raw Data To Inject| String| Data Packet to Inject| | Raw Dst L2 To Inject| String| Destination L2 Address| | Raw Dst L3 To Inject| String| Destination L3 Address| | Raw Dst L4 To Inject| String| Destination L4 Address| | Request Timeout| Number| | | Save Dynamic Config| Boolean| | | Show Commands| Boolean| Show Commands| | Show Events| Boolean| Show Events| | Skip| Number| Skip Address Range| | Watch| Boolean| Watch Layer| ===== IP Layer Real-Time Parameters ===== ^ Parameter^ Type^ Description^ | Address| String| Ethernet/IPv4/IPv6 Address| | Allow Blocking Event| Boolean| Blocking Events| | Avoid L3 Overlapping| Boolean| Solved L3 Address Conflicts| | Blocked| Boolean| Disable Component| | DHCP| Boolean| DHCP Suport| | Debug Log Level| Number| Debug Level| | Loopback| Boolean| Force Loopback| | OS ICMP| Boolean| Force OS based ICMP| | Passthrough| Boolean| High-to-Low Layer Passthrough| | Range| Number| Address Range| | Skip| Number| Skip Address Range| | State| Number| IP Interface State| | Watch| Boolean| Watch Layer| ===== IP Layer Functions ===== ^ Function^ Type^ Description^ | getIpAddress(layer)| getter| Get "Address" Parameter| | getIpAllowBlockingEvent(layer)| getter| Get "Allow Blocking Event" Parameter| | getIpAllowRandomAddresses(layer)| getter| Get "Allow Random Addresses" Parameter| | getIpAvoidL3Overlapping(layer)| getter| Get "Avoid L3 Overlapping" Parameter| | getIpBlocked(layer)| getter| Get "Blocked" Parameter| | getIpDHCP(layer)| getter| Get "DHCP" Parameter| | getIpDebugLogLevel(layer)| getter| Get "Debug Log Level" Parameter| | getIpDestAddress(layer)| getter| Get "Dest Address" Parameter| | getIpDestinationPeer(layer)| getter| Get "Destination Peer" Parameter| | getIpLoopback(layer)| getter| Get "Loopback" Parameter| | getIpNoEvents(layer)| getter| Get "No Events" Parameter| | getIpOSICMP(layer)| getter| Get "OS ICMP" Parameter| | getIpPassthrough(layer)| getter| Get "Passthrough" Parameter| | getIpProtocol(layer)| getter| Get "Protocol" Parameter| | getIpRange(layer)| getter| Get "Range" Parameter| | getIpSkip(layer)| getter| Get "Skip" Parameter| | getIpState(layer)| getter| Get "State" Parameter| | getIpWatch(layer)| getter| Get "Watch" Parameter| | getStatsIpAvailableInstances(layer)| getter| Get "Available Instances" Parameter| | getStatsIpDownstreamLastPacket(layer)| getter| Get "Downstream Last Packet" Parameter| | getStatsIpDownstreamPacketCount(layer)| getter| Get "Downstream Packet Count" Parameter| | getStatsIpInARPPackets(layer)| getter| Get "In ARP Packets" Parameter| | getStatsIpMaxDownstreamDelay(layer)| getter| Get "Max Downstream Delay" Parameter| | getStatsIpMaxUpstreamDelay(layer)| getter| Get "Max Upstream Delay" Parameter| | getStatsIpMeanDownstreamDelay(layer)| getter| Get "Mean Downstream Delay" Parameter| | getStatsIpMeanUpstreamDelay(layer)| getter| Get "Mean Upstream Delay" Parameter| | getStatsIpMinDownstreamDelay(layer)| getter| Get "Min Downstream Delay" Parameter| | getStatsIpMinUpstreamDelay(layer)| getter| Get "Min Upstream Delay" Parameter| | getStatsIpName(layer)| getter| Get "Name" Parameter| | getStatsIpOutARPPackets(layer)| getter| Get "Out ARP Packets" Parameter| | getStatsIpRateBpsDownstream(layer)| getter| Get "Rate Bps Downstream" Parameter| | getStatsIpRateBpsUpstream(layer)| getter| Get "Rate Bps Upstream" Parameter| | getStatsIpTimestampIn(layer)| getter| Get "Timestamp In" Parameter| | getStatsIpTimestampOut(layer)| getter| Get "Timestamp Out" Parameter| | getStatsIpType(layer)| getter| Get "Type" Parameter| | getStatsIpUpstreamLastPacket(layer)| getter| Get "Upstream Last Packet" Parameter| | getStatsIpUpstreamPacketCount(layer)| getter| Get "Upstream Packet Count" Parameter| | getStatsIpVarianceDownstreamDelay(layer)| getter| Get "Variance Downstream Delay" Parameter| | getStatsIpVarianceUpstreamDelay(layer)| getter| Get "Variance Upstream Delay" Parameter| | ipGet(layer)| function| Get DHCP Address| | ipPing(layer,address)| function| Ping Address| | ipRelease(layer)| function| Release Address| | isEventIpIfDown(event)| event| Interface Down Event| | isEventIpIfUp(event)| event| Interface Up Event| | isIpUp(layer)| getter| Is IP Layer Up?| | isIpv4Address(address)| function| Is IP Adress IPv4?| | isIpv6Address(address)| function| Is IP Adress IPv6?| | setIpAllowBlockingEvent(layer,value)| setter| Set "Allow Blocking Event" Parameter| | setIpAllowRandomAddresses(layer,value)| setter| Set "Allow Random Addresses" Parameter| | setIpAvoidL3Overlapping(layer,value)| setter| Set "Avoid L3 Overlapping" Parameter| | setIpBlocked(layer,value)| setter| Set "Blocked" Parameter| | setIpDebugLogLevel(layer,value)| setter| Set "Debug Log Level" Parameter| | setIpDestAddress(layer,value)| setter| Set "Dest Address" Parameter| | setIpLoopback(layer,value)| setter| Set "Loopback" Parameter| | setIpNoEvents(layer,value)| setter| Set "No Events" Parameter| | setIpOSICMP(layer,value)| setter| Set "OS ICMP" Parameter| | setIpPassthrough(layer,value)| setter| Set "Passthrough" Parameter| | setIpProtocol(layer,value)| setter| Set "Protocol" Parameter| | setIpWatch(layer,value)| setter| Set "Watch" Parameter| | waitForIpUp(layer)| function| Block until IP layer is up|