QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Testing a duel-network configuration |
Ref. No. |
QNX.000009768 |
Category(ies) |
Network |
Issue |
We are trying to debug our dual network setup and would like to force traffic over one LAN or the other to test that each net is functioning properly. How would we go about doing this?
|
Solution |
Masking the entries in the netmap file would be the most simple way, as it wouldn't involve physically deleting the entries from the netmap file, eliminating the need to keep track of the MAC address.
To mask an entry in the netmap file : netmap -m"m 2 1" This will mask the entry for LAN 1, forcing the system to use LAN 2. To use LAN 1 again: netmap -m"u 2 1" |
|