Provides an interface for the IPv4 configuration on a ByteBlower port. More...
Methods | |
Description.Get | |
Returns a textual description of the object. | |
Destructor | |
Gateway.Get | |
Returns the default gateway of the ByteBlower port. More... | |
Gateway.Set Gateway | |
Sets the default gateway of the ByteBlower port. More... | |
Ip.Get | |
Retrieves the Ip address of the ByteBlower port. More... | |
Ip.Set IP | |
Sets the IP address of the ByteBlower port. More... | |
Netmask.Get | |
Gets the netmask of the ByteBlower port. More... | |
Netmask.Set Netmask | |
Sets the netmask of the ByteBlower port. More... | |
Parent.Get | |
Returns the parent object. | |
Protocol.Arp.Async ipAddress | |
Starts MAC address resolution for a given IP address. More... | |
Protocol.Arp ipAddress | |
Performs MAC address resolution for a given IP address. More... | |
Protocol.Dhcp.Get | |
Returns the DHCP protocol. More... | |
Protocol.GratuitousArp.Reply | |
Sends a Gratuitous ARP (GARP) request. More... | |
Protocol.GratuitousArp.Request | |
Sends a Gratuitous ARP (GARP) request. More... | |
Protocol.Icmp.Get | |
Returns the ICMP protocol. More... | |
Protocol.Igmp.Get | |
Returns the IGMP protocol. More... | |
Resolve.Async ipAddress | |
Start MAC address resolution for a given destination IP address. More... | |
Resolve ipAddress | |
Resolve the MAC address for a given IP address. More... | |
Provides an interface for the IPv4 configuration on a ByteBlower port.
Layer3.IPv4::Destructor |
Layer3.IPv4::Gateway.Get |
Layer3.IPv4::Gateway.Set | Gateway | ||
Layer3.IPv4::Ip.Get |
Layer3.IPv4::Ip.Set | IP | ||
Sets the IP address of the ByteBlower port.
IP | IP address string. You can use "slash notation" (e.g. 10.1.1.2/24) to simulateously specify the address and netmask. |
This example sets the IP address on a ByteBlower port.
Layer3.IPv4::Netmask.Get |
Layer3.IPv4::Netmask.Set | Netmask | ||
Layer3.IPv4::Protocol.Arp | ipAddress | ||
Performs MAC address resolution for a given IP address.
Sends an ARP request for the specified IP address, and returns the answer if an answer is received.
ipAddress | IPv4 address to resolve |
InvalidDestination | When an unusable IP address was given. |
ARPTimeout | When the address could not be resolved. |
This example gets the MAC address for an IP address.
Returns:
00-00-00-00-00-02
Layer3.IPv4::Protocol.Arp.Async | ipAddress | ||
Starts MAC address resolution for a given IP address.
Sends an ARP request for the specified IP address, and returns immediately. To obtain the results of the ARP resolution, you can use Protocol.Arp.
ipAddress | IPv4 address to resolve |
InvalidDestination | When an unusable IP address was given. |
This example triggers ARP resolution gets the MAC address for an IP address.
Returns:
00-00-00-00-00-02
Layer3.IPv4::Protocol.Dhcp.Get |
Returns the DHCP protocol.
This example gets the DHCP protocol object.
Returns:
<Layer5.Dhcp object>
Layer3.IPv4::Protocol.GratuitousArp.Reply |
Sends a Gratuitous ARP (GARP) request.
The GARP Request can be used for host presence announcement. This way, other devices on the network can learn the Layer2 and Layer3 information of the host
This example sends a Gratuitous ARP request
Layer3.IPv4::Protocol.GratuitousArp.Request |
Sends a Gratuitous ARP (GARP) request.
The GARP Request can be used for host presence announcement. This way, other devices on the network can learn the Layer2 and Layer3 information of the host. This GARP Request is preferred over the GARP Reply
This example sends a Gratuitous ARP request
Layer3.IPv4::Protocol.Icmp.Get |
Returns the ICMP protocol.
This example gets the ICMP protocol object.
Returns:
<Layer3.IcmpProtocol object>
Layer3.IPv4::Protocol.Igmp.Get |
Returns the IGMP protocol.
This example gets the IGMP protocol object.
Returns:
<Layer4.Igmp object>
Layer3.IPv4::Resolve | ipAddress | ||
Resolve the MAC address for a given IP address.
The ByteBlower server stores an ARP cache per ByteBlower port. Resolving the IP for a port will search the ARP cache first. If no entry was found then an actual ARP request is performed. An entry in the ARP cache remains valid for 120 seconds.
ipAddress | IPv4 address to resolve |
InvalidDestination | When an unusable IP address was given. |
ARPTimeout | When the address could not be resolved. |
This example gets the MAC address for an IP address.
Returns:
00-00-00-00-00-02
Layer3.IPv4::Resolve.Async | ipAddress | ||
Start MAC address resolution for a given destination IP address.
The ByteBlower server stores an ARP cache per ByteBlower port. Resolving the IP for a port will search the ARP cache first. If no entry was found then an actual ARP request is performed. An entry in the ARP cache remains valid for 120 seconds.
This methods initiates the MAC address resolution. To obtain the actual results of the address resolution, please use Resolve.
ipAddress | IPv4 address to resolve |
InvalidDestination | When an unusable IP address was given. |
This example triggers address resolution gets the MAC address for the given IP address.
Returns:
00-00-00-00-00-02