All of lore.kernel.org
 help / color / mirror / Atom feed
* Resend:  SIOCGIFBRDADDR?
@ 2002-08-15 15:03 Alan Robertson
  2002-08-15 15:33 ` kuznet
  0 siblings, 1 reply; 8+ messages in thread
From: Alan Robertson @ 2002-08-15 15:03 UTC (permalink / raw)
  To: netdev; +Cc: Kevin Dwyer

I sent this earlier, but I got no reply, and can't seem to find it in the 
archives.  If you reply to this, could you please copy both Kevin Dwyer and 
myself on the reply?  Many thanks!

Hi,

Some folks using the linux-ha (heartbeat) software have been running into
some network-related problems, and Alan Cox suggested that you folks could
help us out.

One of the ways you can configure linux-ha protocols is to send broadcast
packets.  In this case, our software needs to get the broadcast address from
the OS, so we can proceed.  We currently use the SIOCGIFBRDADDR ioctl to do
this for us.  This has worked pretty well for us for quite some time, but
recently some users have run into some problems.

It appears that if one configures an interface using ifconfig, then the
SIOCGIFBRDADDR ioctl works quite nicely to determine the broadcast address
of an interface.

However, if one uses the iproute2 tools to configure the interface, then it
appears that the SIOCGIFBRDADDR ioctl returns bogus results on that interface.

Is this supposed to be the case?

Is there a different method we're supposed to use instead of SIOCGIFBRDADDR?


	Thanks!

	-- Alan Robertson
	   alanr@unix.sh
	   http://linux-ha.org/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-08-19  0:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-15 15:03 Resend: SIOCGIFBRDADDR? Alan Robertson
2002-08-15 15:33 ` kuznet
2002-08-15 16:10   ` Kevin Dwyer
2002-08-15 16:35     ` kuznet
2002-08-15 19:11       ` Kevin Dwyer
2002-08-18 14:21         ` Matthew G. Marsh
2002-08-18 18:15           ` Kevin Dwyer
2002-08-19  0:16             ` Matthew G. Marsh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.