On Wed, Apr 14, 1999 at 02:20:39PM -0700, [EMAIL PROTECTED] wrote:
> SIOCSARP: Operation not supported by device
> [root@host255 /root]# 
> 
> But as you can see, I still get the same problem.

Yes, try eth0 instead.


> Sure.  Here is the gist of what I want to do:
> 
>       host A has IP number "A"
>               host A starts an alias device with IP address "C"
>               host A runs a certain service on port 119
> 
>       host B has IP number "B"
>               host B can be standby with the same service on port 119
>               when host B notices that host A is unresponsive:
>                       host B configures up an alias device "C"
>                       host B sends ARP packets to grab the router's attention
> 
> if the service on host A dies but host A's network stack is still running, host
> B MUST have a way to convince the router to send packets destined for IP
> address C to host B's ethernet address.

This is done automatically. The host is sending arp replies to networks for
all local addresses automatically. You can in addition to that send a
"gratious arp", which flushes the arp-cache of the router, but this has
nothing to do with setting a proxy arp. You can use a user-mode program to
do that. arping for example.

> Yes, but what if the original host still responds to arp requests?

You cant stop that. The original host needs to take the alias interface down
in that case. This is usually done by a quorum ressource/second network
connection. Setting up a proxy arp wont help you.

What you CAN do is to stop responding to arp-requests at all (ifconfig -arp)
and use a user mode programm to announce the arp-responses. In that case the
response will not be delivered if the stack is down, which is exactly what
you want. Your failback host then simply answers all non-answered
arp-requests and tcp syn packets with 1sec delay.

Greetings
Bernd
-- 
  (OO)      -- [EMAIL PROTECTED] --
 ( .. )  ecki@{inka.de,linux.de,debian.org} http://home.pages.de/~eckes/
  o--o     *plush*  2048/93600EFD  eckes@irc  +497257930613  BE5-RIPE
(O____O)  When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to