netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alan Robertson <alanr@unix.sh>
To: netdev@oss.sgi.com
Cc: Kevin Dwyer <kevin@pheared.net>
Subject: SIOCGIFBRDADDR?
Date: Thu, 01 Aug 2002 08:04:21 -0600	[thread overview]
Message-ID: <3D493FE5.4090102@unix.sh> (raw)

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/

                 reply	other threads:[~2002-08-01 14:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D493FE5.4090102@unix.sh \
    --to=alanr@unix.sh \
    --cc=kevin@pheared.net \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).