Forum
Hi all
I'm trying to understand how it is possible to map/balance incoming requests to two physical servers, that handle Xtended Reality.
In detail: two clients call a public address via two different domains,
eg cxr1.domain.com, cxr2.domain.com and all calls are directed in the internal network (nat) only to the chosen machine.
The software uses a TCP port in RTSP and five UPD ports to communicate, the protocols are not http.
A balancing with a single domain can also work,
but where a check is performed on the availability of the ports and then the client is kept hooked via the source IP.
with skudonet would it be possible?
thanks in advance
Alessandro
Hi @mentalrey, If you don't use the HTTP protocol, you need to use the L4XNAT farm. This profile doesn't inspect information in the application layer, such as domain names; the only way to do this is to assign a different virtual IP per domain. Another option is to use a different TCP-UDP port range per domain to continue using the same virtual IP.
I hope this helps you.
Regards!
@emiliocm tnks for the reply
L4XNAT farm can be an option, no http is involved only RTSP on Tcp and Udp for video and audio stream.
The port range is untouchable, because "for now i hope" is hardwired into the code by Nvidia in client and server too,
i have to understandt if this part "assign a different virtual IP per domain" can be done inside skudonet.
Ok, thanks for the update.
Regarding to
i have to understandt if this part "assign a different virtual IP per domain" can be done inside skudonet.
What I propose is the following:
eth0: 192.168.0.1 / 255.255.255.0
eth0:1 192.168.0.10
eth0:2 192.168.0.11
DNS resolution for cxr1.domain.com should be 192.168.0.10
DNS resolution forcxr2.domain.com should be 192.168.0.11
L4XNAT farm name cxr1 with Virtual IP 192.168.0.10 and required virtual Ports
L4XNAT farm name cxr2 with Virtual IP 192.168.0.11 and required virtual Ports.
Regards!
Hi @mentalrey, That is correct. You reserve a Virual IP per cxr service.
I hope this configuration fits your requirements