I’m also looking into this.
FYI, I’ve tried the following and it seamed to work using QNX4.25D and
TCP/IP 4.25C:
- Configure NIC1 (ne1)
ifconfig en1 192.168.150.1 up netmask 255.255.255.0
route add -net 0 192.168.150.2
- Start 2 telnet sessions to another computer, one to each direction.
- Unplug the cable from NIC1 and plug it on NIC2
4 Unconfigure routing of NIC1:
ifconfig en1 down
ifconfig en1 delete 192.168.150.1
route delete 0 192.168.150.2
5 Configure NIC2 (en2) with the same IP address
ifconfig en2 192.168.150.1 up netmask 255.255.255.0
route add -net 0 192.168.150.2
6 Check the status of telnet sessions: OK (it also worked with 2 FTP
sessions transmitting data)
Does anyone have comments on this test? Potential problems?
One problem is that I have no easy way to detect that the main link is up
again.
I’m planning to write a PING alike application to detect NIC or network
failure and have it to automaticly reconfigure the interface to use the
alternate NIC on failure.
Cesar.
“Barry Hines” <Barry.Hines@tripointglobal.com> wrote in message
news:9bf3ej$p1c$1@inn.qnx.com…
The one NIC = one IP address is not the problem. The problem is the QNX
limitation that forces the two NIC’s to be on separate subnets.
ian zagorskih wrote in message <9au5j9$o6s$> 1@inn.qnx.com> >…
“Stan Driggs” <> stan@no.spam.please.ensco.com> > wrote in message
news:9asjfi$qaa$> 1@inn.qnx.com> …
Barry,
AFAIK, one NIC = one IP address. If you want to have the backup card
backup
the IP address, you would need to do the required ipconfig commands to
give
the second card the IP address of the first card after you have
detected
that it has failed.
usually one ip address → one nic but not vise versa >
> one nic can have
a
set of ip addresses so called aliases. for example for server external
address to access internet and internal address to access lan.
Stan Driggs
“Barry Hines” <> Barry.Hines@tripointglobal.com> > wrote in message
news:99fvkc$98v$> 1@inn.qnx.com> …
This is QNX → !QNX with two LAN cards, two connections, but not
dual
networks. The concern is card failure.
Thanks
Barry Hines
// wbr
\