fake: High Availability Cluster and ARP

Hello,
I try to solve the problem of IP address fail-over - two QNX boxes
should act as a cluster with one IP. The goal is a high availability,
not a load balancing.

I found some Linux resources and I tried to compile port fake on QNX 4,
TCP/IP toolkit 4.24/4.25 (sources ftp.vergenet.net), however I couldn’t
do it:

send_arp.c(71): Error! E1011: Symbol ‘SOCK_PACKET’ has not been declared
send_arp.c(71): Error! E1011: Symbol ‘ETH_P_RARP’ has not been declared
send_arp.c(103): Warning! W107: Missing return value for function ‘main’

line 71:
sock=socket(AF_INET,SOCK_PACKET,htons(ETH_P_RARP));

It looks as if the 4.25 toolkit does not support Linux
SOCK_PACKET type of sockets. Is it possible to send ARP packets using
the other socket types (SOCK_RAW, etc.) ?

Is there another solution for the IP fail-over ?

Thanks in advance,

Martin


Mgr. Martin Gazak, MicroStep-MIS
Ilkovicova 3, 841 04 Bratislava, Slovakia
Tel: +421 2 60291 816
e-mail:matog@microstep-mis.sk

<matog@microstep-mis.sk> wrote in message
news:9u20uo$a2r$1@charon.microstep-mis.sk

Hello,
I try to solve the problem of IP address fail-over - two QNX boxes
should act as a cluster with one IP. The goal is a high availability,
not a load balancing.

I found some Linux resources and I tried to compile port fake on QNX 4,
TCP/IP toolkit 4.24/4.25 (sources ftp.vergenet.net), however I couldn’t
do it:

Wild guess: Try upgrading to TCP/IP 5.0



send_arp.c(71): Error! E1011: Symbol ‘SOCK_PACKET’ has not been declared
send_arp.c(71): Error! E1011: Symbol ‘ETH_P_RARP’ has not been declared
send_arp.c(103): Warning! W107: Missing return value for function ‘main’

line 71:
sock=socket(AF_INET,SOCK_PACKET,htons(ETH_P_RARP));

It looks as if the 4.25 toolkit does not support Linux
SOCK_PACKET type of sockets. Is it possible to send ARP packets using
the other socket types (SOCK_RAW, etc.) ?

Is there another solution for the IP fail-over ?

Thanks in advance,

Martin


Mgr. Martin Gazak, MicroStep-MIS
Ilkovicova 3, 841 04 Bratislava, Slovakia
Tel: +421 2 60291 816
e-mail:> matog@microstep-mis.sk