Panel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
ON THIS PAGE
|
...
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 eithertrue
orfalse
. Ifforwarding_enabled
isfalse
, no IP forwarding takes place. This value isfalse
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 isfalse
(the default value), and Iffo
rwarding_enabled
istrue
,nat_enabled
must be specified astrue
orfalse
.- If
forwarding_enabled
istrue
- and nat_enabled is
false
, IP datagrams are forwarded between all interfaces and no address translation is done.
true
, andforwarding_enabled
is- If
forwarding_enabled
istrue
and nat_enabled istrue
, IP datagrams are forwarded between all interfaces
- but SNAT is applied to any datagrams
- which are sent out of
- an "upstream" interface.
- For this
- purpose, an "upstream" interface is
- any
- one on which
- a default route is set. Note that there can be
- more than one such interface. Datagrams
- 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.
- If
SetDomain(domain As String) As Boolean (host)
...