QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Connecting two ethernet networks |
Ref. No. |
QNX.000009651 |
Category(ies) |
Network, Installation, Configuration |
Issue |
We have to setup TCP/IP communications between two Ethernet networks. How can we do this?
|
Solution |
One computer will have to act as a gateway between the two networks. The gateway will need to have 2 network card in it (one for each network).
On the server, start Socket with the '-d' forward option. Also, add a route command for each network.
ex: x09add route ip.of.network.a ip.of.card.a x09add route ip.of.network.b ip.of.card.b
NETWORK 1 --------------------------- | | Gateway Computer | | --------------------------- NETWORK 2 |
|