.. include:: ../../exports/alias.include .. _user_manual_participants_discovery_server_wan: ################################ Discovery Server WAN Participant ################################ This type of :term:`Participant` refers to a :term:`Discovery Server` :term:`DomainParticipant` that communicates with other **Discovery Server WAN** Participants in different networks. This Participant will work as bridge for every Participant working locally in the LAN and any other LAN that has a |ddsrouter| with an active Discovery Server WAN Participant. .. warning:: Do not try to communicate a Discovery Server WAN Participant with any other kind of Participant that is not of type Discovery Server WAN Participant. Use case ======== Use this Participant to communicate an internal DDS network with other LANs through a WAN communication. Each of the networks to be connected require a running |ddsrouter|, and the messages will be relay from one to another depending on the topics filtered by each of them. Kind aliases ============ * ``wan-discovery-server`` * ``wan-ds`` Configuration ============= The WAN Discovery Server Participant allows users to configure the standard attributes of a Discovery Server. * To configure the Discovery Server :term:`GuidPrefix`, check the :ref:`Domain Id ` configuration section. * To configure the Discovery Server listening addresses, check the :ref:`Listening Addresses ` configuration section. * To configure the Discovery Server connection addresses to connect to other Discovery Servers, check the :ref:`Connection Addresses ` configuration section. .. note:: The network addresses set in *listening-addresses* and *connection-addresses* use ``UDP`` transport by default if the transport is not specified in the address configuration. WAN Configuration ----------------- Refer to section :ref:`user_manual_wan_configuration` for a detailed explanation on how to correctly configure the |ddsrouter| for WAN communication. .. _user_manual_participants_discovery_server_wan_example: Configuration Example ===================== Configure a WAN Discovery Server with GuidPrefix id ``2`` (``01.0f.02.00.00.00.00.00.00.00.ca.fe``). It listens for clients in public IP ``82.0.0.1`` in port ``11600`` in ``TCP``. It connects with a remote WAN Participant in IPv6 address ``2001:4860:4860::8888`` and port ``11666`` using ``UDP`` transport. .. code-block:: yaml - name: wan_participant # Participant Name = wan_participant kind: wan-discovery-server discovery-server-guid: id: 2 # GuidPrefix = 01.0f.02.00.00.00.00.00.00.00.ca.fe [optional] listening-addresses: # WAN Discovery Server Listening Addresses - ip: 82.0.0.1 # Use UDP by default port: 11600 connection-addresses: # Another WAN Participant Listening Addresses - ip: 2001:4860:4860::8888 port: 11666 transport: udp # Use UDP transport