[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ha-dev
Subject:    Re: [Linux-ha-dev] Current CVS version broken on FreeBSD.
From:       Alan Robertson <alanr () unix ! sh>
Date:       2001-10-24 20:14:49
[Download RAW message or body]

"Soffen, Matthew" wrote:
> 
> Compiles fine.  It just doesn't work.
> 
> Its attempting to do:
> /usr/local/lib/heartbeat/send_arp dc0 64.65.195.186 \
>         dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> 
> Its sending ALL the information from the findif dc0 line:
> dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 64.65.195.196 netmask 0xffffff00 broadcast 64.65.195.255
>         inet6 fe80::2a0:ccff:fe34:a878%dc0 prefixlen 64 scopeid 0x1
>         inet 64.65.195.186 netmask 0xffffffff broadcast 64.65.195.186
>         ether 00:a0:cc:34:a8:78
>         media: 100baseTX <full-duplex> status: active
>         supported media: autoselect 100baseTX <full-duplex> 100baseTX
> 10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback> none
> 
> I assume that is suposed to run something like this ?:
>          /usr/local/lib/heartbeat/send_arp dc0 \
>                 64.65.195.186 00:a0:cc:34:a8:78 64.65.195.186
> 00:a0:cc:34:a8:78
> 
> If I run that command I get:
>         socket: Protocol not supported


I'm by no means an expert on raw sockets.  I would expect that the
ETHERTYPE_REVARP argument that it's giving to the socket on line 228 is
wrong.

	-- Alan Robertson
	   alanr@unix.sh
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.community.tummy.com
http://lists.community.tummy.com/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic