Concepts Guide
|
The lbmrd configuration file must start with this line:
After that, the '<lbmrd>' element contains the rest of the configuration.
The lbmrd configuration does not support the XInclude feature.
Container element which holds the lbmrd configuration. Also defines the version of the configuration format used by the file.
XML Attributes:
Attribute | Description | Valid Values | Default Value |
---|---|---|---|
version | Version number of user's configuration file. | "1.0" - Initial version | "1.0" |
Example:
Container element for definitions of NAT translations applied to TIRs. Translations are used to help lbmrd know how to modify source advertisements when Network Address Translation (NAT) is being used.
See Network Address Translation (NAT) for more information on NAT.
Example:
For a full example of an lbmrd NAT configuration, see Example NAT Configuration.
Defines a set of transformation tuples. Each tuple applies to a TIR sent from a specific network domain (specified using the source
attribute), and destined for a specific network domain (specified using the destination
attribute). The source
and destination
attributes must specify network domain names as defined by the <domain> elements.
See Network Address Translation (NAT) for more information on NAT.
XML Attributes:
Attribute | Description | Valid Values | Default Value |
---|---|---|---|
source | Name of source network domain, defined in <domain>. | IDREF | (no default; must be specified) |
destination | Name of receiver network domain, defined in <domain>. | IDREF | (no default; must be specified) |
Example:
For a full example of an lbmrd NAT configuration, see Example NAT Configuration.
Container for a transformation rule which maps one address and port to another.
See Network Address Translation (NAT) for more information on NAT.
Example:
For a full example of an lbmrd NAT configuration, see Example NAT Configuration.
Defines the address and port which are to replace those matched in the TIR originating from a UM context within the source
network (as specified by <transform>), and being delivered to contexts within the destination
network.
XML Attributes:
Attribute | Description | Valid Values | Default Value |
---|---|---|---|
address | IP address within a TIR. Address must be specified only in dotted-decimal and refer to a specific host. For LBMRD Element "<match>", the IP address should be within the network specified by <transform> source attribute. For LBMRD Element "<replace>", the IP address should be within the network specified by <transform> destination attribute. | string | (no default; must be specified) |
port | Port number to match or replace. To match any port, use value "*" . To replace with same port as matched, use value "*" . | string | "*" |
Example:
For a full example of an lbmrd NAT configuration, see Example NAT Configuration.
Defines the address and port to match within a TIR originating from a UM context within the source
network (as specified by <transform>), and being delivered to contexts within the destination
network.
XML Attributes:
Attribute | Description | Valid Values | Default Value |
---|---|---|---|
address | IP address within a TIR. Address must be specified only in dotted-decimal and refer to a specific host. For LBMRD Element "<match>", the IP address should be within the network specified by <transform> source attribute. For LBMRD Element "<replace>", the IP address should be within the network specified by <transform> destination attribute. | string | (no default; must be specified) |
port | Port number to match or replace. To match any port, use value "*" . To replace with same port as matched, use value "*" . | string | "*" |
Example:
For a full example of an lbmrd NAT configuration, see Example NAT Configuration.
Container element for definitions of network domains. Network domains are used to help lbmrd recognize networks and/or subnetworks which connect via Network Address Translation (NAT).
See Network Address Translation (NAT) for more information on NAT.
Example:
For a full example of an lbmrd NAT configuration, see Example NAT Configuration.
Defines a network domain. The domain must be given a unique name via the name
attribute. This name is referenced in <transform> elements. The <domain>
element contains one or more <network> elements.
See Network Address Translation (NAT) for more information on NAT.
XML Attributes:
Attribute | Description | Valid Values | Default Value |
---|---|---|---|
name | Unique name assigned to the defined network. | ID | (no default; must be specified) |
Example:
For a full example of an lbmrd NAT configuration, see Example NAT Configuration.
Defines a single network specification which is to be considered part of the enclosing <domain> element. The network specification must contain either an IP address, or a network specification in CIDR notation. DNS host names are not supported in the lbmrd configuration file.
See Network Address Translation (NAT) for more information on NAT.
Example:
For a full example of an lbmrd NAT configuration, see Example NAT Configuration.
Container element for configuration related to the overall lbmrd process.
Example:
Sets the send-side socket buffer size (in bytes).
Example:
Sets the receive-side socket buffer size (in bytes).
Example:
Specifies the file name used for lbmrd logging.
Example:
Interval (in milliseconds) between keep alive checks between the lbmrd and the UM contexts.
Example:
Supplies network port to bind the socket for receiving TR traffic from UM contexts. This is the port that a UM context should use when TCP-based TR is configured with the option resolver_unicast_daemon (context). The value contained within the <port>...</port>
is an integer between 1 and 65535.
Example:
Specifies the network interface to bind the socket for receiving TR traffic from UM contexts. This is the IP address that a UM context should use when Unicast UDP-based TR is configured with the option resolver_unicast_daemon (context). See Specifying Interfaces for methods of specifying the interface within <interface>...</interface>
.
If not specified, UM chooses the first interface it finds.
WARNING: It is strongly recommended to specify an interface when running lbmrd, either via the "-i" command-line option, or the <interface>
XML tag. Otherwise, UM will select the first interface it finds, potentially 127.0.0.1 (loopback), which is rarely a good choice. Note that CIDR notation can make it easier. For example, "10.0.0.0/8" will match any interface on the 10 network.
Example:
Interval between client activity checks (in milliseconds)
Example:
If no NAT is present, and it is desired to use the XML configuration file for it's '<daemon>' contents, a "dummy" NAT configuration should be used.
The DTD file is used to validate the user's configuration file.