I have a dual NIC (2 network cards) server and I would like to use 1 RVRD for each network card subnet to transfer message data between the subnets. How can I configure this?

I have a dual NIC (2 network cards) server and I would like to use 1 RVRD for each network card subnet to transfer message data between the subnets. How can I configure this?

book

Article ID: KB0089599

calendar_today

Updated On:

Products Versions
TIBCO Rendezvous -
Not Applicable -

Description

Resolution:
First of all, it is possible to use a single RVRD to handle both network card subnets.  If you need to use 2 RVRDs, please follow these configuration steps:

Let's consider the server with 2 NIC: lan1 and lan2.

1) Run the 2 RVRDs, each one using a different store file and listening TCP port.

For example,

rvrd -store rvrd1.store -listen 13001
rvrd -store rvrd2.store -listen 13002


2) Connect to the HTTP administration interfaces of the RVRDs in order to configure the routers.

3) Create a new router (using the "Routers" link) for each RVRD; routing daemons use these names to identify one another, so please make sure that the names are unique throughout the entire WAN.

For example,

RVRD1 router name = rvrd1rtr
RVRD2 router name = rvrd2rtr

4) Configure the local network interface for each router (link “Routers-&gtLocal Network”).

For example,

rvrd1rtr: Local Network Name = lan1, Service = 14001, Network Specification = &ltlan1 ipaddress>
rvrd2rtr: Local Network Name = lan2, Service = 14002, Network Specification = &ltlan2 ipaddress>


5) Add the subjects you intend to import and export (link “Routers-&gtLocal Network-&gtLocal Network Name”)

For example,

rvrd1rtr: export lan1_to_lan2.>, import lan2_to_lan1.>
rvrd2rtr: export lan2_to_lan1.>, import lan1_to_lan2.>

6) Add a neighbour for the router defined in each RVRD; this neighbour should point to the other router (link “Routers-&gtNeighbor”)

For example,

In the "rvrd1rtr" set:

- Local Endpoint Host: &ltlocal_host>
- Local Endpoint Port = 15001
- Remote Endpoint Host = &ltlan2 ipaddress>
- Remote Endpoint Port = 15002
- Remote Router Name = rvrd2rtr

In the "rvrd2rtr" set:

- Local Endpoint Host: &ltlocal_host>
- Local Endpoint Port = 15002
- Remote Endpoint Host = &ltlan1 ipaddress>
- Remote Endpoint Port = 15001
- Remote Router Name = rvrd1rtr

7) Test the configuration:

Start tibrvlisten on lan2 and a tibrvsend on lan1:

For example,

tibrvlisten -daemon 13002 -service 14002 -network "10.100.3.95" "lan1_to_lan2.>"
tibrvsend -daemon 13001 -service 14001 -network "10.100.2.138" "lan1_to_lan2.test" hello

and vice versa:

tibrvlisten -daemon 13001 -service 14001 -network "10.100.2.138" "lan2_to_lan1.>"
tibrvsend -daemon 13002 -service 14002 -network "10.100.3.95" "lan2_to_lan1.test" hello

Test that the messages are correctly received.

Issue/Introduction

I have a dual NIC (2 network cards) server and I would like to use 1 RVRD for each network card subnet to transfer message data between the subnets. How can I configure this?