Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updated SetForwardingPolicy as per Phil's request
Panel
borderColor#3D3D3D
bgColor#F4F4F4
titleColor#3D3D3D
borderWidth0
titleBGColor#3D3D3D
borderStylesolid

ON THIS PAGE

Table of Contents
indent20px

...

If the network_interface is specified as an integer, the interface must currently exist on the player; otherwise, the object-creation function will return Invalid. Conversely, specifying the network_interface as a string allows you to create a roNetworkConfiguration instance for an interface that is not currently present on the player.

The network interface can be configured as a VLAN using the following string format: "[parent_interface].[vlan_id]" (e.g "eth0.42"). Once the VLAN interface(s) are configured, they must be enabled on the parent network interface (e.g. "eth0") using the SetVlanIds() method. VLAN interfaces use DHCP by default. They are supported on Series 4 (XTx44, XDx34, HDx24, LS424) and Series 3 (XTx43, XDx33, HDx23, LS423, HO523) players only.

...

SetWiFiFrequencies(frequencies As String) As Boolean

Sets valid WiFi frequencies to specified range. Supports 2GHz, 5GHz, or list of frequencies written in MHz("2412 2417"). It returns true if the frequency is successfully set.

SetWiFiAccessPointMode(enable as Boolean) As Boolean

...

Configures the host-wide forwarding policy (this method applies to all network interfaces, no matter which roNetworkConfiguration instance it is called on). The return value is true on success or false on failure. This method accepts an associative array with the following parameters: 

  • [Boolean] forwarding_enabled: (Required) A flag that enables or disables IP forwarding. Forwarding_enabled must be specified as either true or false. If forwarding_enabled is false, no IP forwarding takes place. This value is false by default.is the default and matches previous behavior.  
  • [Boolean] nat_enabled: (Required) A flag that enables or disables address translation with IP forwarding. If this parameter is false (the default value), and  If forwarding_enabled is truenat_enabled must be specified as true or false
    • If forwarding_enabled is true
    , IP
    • and nat_enabled is false, IP datagrams are forwarded between all interfaces and no address translation is done.
    If this parameter is true, and forwarding_enabled is 
    •  
    • If forwarding_enabled is true and nat_enabled is true, IP datagrams are forwarded between all interfaces
    ,
    • but SNAT is applied to any datagrams
    that
    • which are sent out of
    the
    • an "upstream" interface.
    In
    • For this
    case
    • purpose, an "upstream" interface is
    defined as
    • any
    interface
    • one on which
    the
    • a default route is set. Note that there can be
    multiple interfaces that meet this criteria
    • more than one such interface. Datagrams
    that
    • which are destined for an interface that has no default route are forwarded without NAT. 

    Note that the forwarding policy is a host-wide setting and it makes no difference which interface was selected when the roNetworkConfiguration object was created. 

SetDomain(domain As String) As Boolean (host)

...