Can I configuring RFA to use particular ethernet card?

We have an application implemented using RFA C++ OMM. But it seems the connection fails when the pc is connected to both the Reuters provided VPN box and the internet (we have two ethenet cards). The application works fine, if the pc is exclusively connected to the vpn box at the time of initial connection.

After checking the rfa log, it seems like default NIC card is not the IP for VPN. I am looking for the way to configuring RFA to use a particular ethernet card.

Do you know how to configuring RFA to use particular ethernet card?

Best Answer

  • @LarryT


    For RFA API, Consumer clients with multiple NIC cards can specify which interface to use for outbound requests. The configuration variable ‘interfaceName’ can be found in the RSSL Connection configuration. You may try the following config to bind network interface to the one which connecting VPN network.

    \Connections\Connection_RSSL\interfaceName = "<InterfaceName or IP Address of NIC card>" 

    For example,

    The IP of NIC card for VPN network is 192.168.10.2, the configuration should be 
    \Connections\Connection_RSSL\interfaceName = "192.168.10.2"

    Note that please checks your IP address again, it might change. And you can check rfa.log to find connection error or message from RFA logger.

Answers

  • Setting \Connections\Connection_RSSL\interfaceName does the trick! Thank you.