question

Upvotes
Accepted
322 6 11 16

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?

treprfarfa-apiapiconnectionnetworkingnic
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted
7.6k 15 6 9

@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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

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