[Linux-HA] send_arp - Solaris question

Soffen, Matthew msoffen at iso-ne.com
Fri Mar 26 08:33:36 MST 2004


My send_arp is in /usr/local/lib/heartbeat/.  The way that send_arp is
invoked on my SPARC Solaris box is as follows:

	send_arp -i 500 -r 10 le0 192.168.195.8 auto 192.168.195.8
ffffffffffff

I think it is 2 things.  The first I think, is your broadcast address. From
my experience, I believe that you want to use the address for the broadcast
address.  The second is that send_arp is expecting a hex netmask ( not a
dotted quad ). 

Try it with this command:
	send_arp dmfe0 192.168.0.33 auto 192.168.0.33 ffffffffffff

OK ?

Matt

-----Original Message-----
From: Horms [mailto:horms at verge.net.au]
Sent: Thursday, March 25, 2004 10:37 PM
To: General Linux-HA mailing list
Subject: Re: [Linux-HA] send_arp - Solaris question


On Wed, Mar 24, 2004 at 06:18:28PM +0200, Dima Gutzeit wrote:
> 
>  Dear list members ,
> 
>  Recently I've installed Linux-ha on Solaris machine , SunOS 5.8.
>  The compilation went just fine.
>  Actually the part of LinuxHA that I need is the send_arp utility ( I want
> to
>  work with fake on the Solaris and the utility that comes with it does not
>  seems to work on sol)

> 
>  The problem is that send_arp does not work for me. It executes with no
> probs
>  but do not see a thing on "snoop" or any other sniffer.
> 
>  I use it with following syntax :
> 
>  send_arp dmfe0 192.168.0.33 auto 192.168.0.255 255.255.255.0
> 
>  Maybe someone has the answer to this puzzle ? Anyone uses send_arp
directly
> ? Maybe my syntax is wrong ?

That looks pretty good to me. My first guess would be
that libnet is doing something weird.

Matt Soffen might have some tips on what version to use on Solaris.

>  Thanks a lot for your help.
> 
>  P.S. - Does Linux-HA has a simple util for IP takeover (Like 'fake') ?

Not as such. Though it it would be treivial to make one.

-- 
Horms
_______________________________________________
Linux-HA mailing list
Linux-HA at lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha


More information about the Linux-HA mailing list