Networking Forums

Networking Forums > Computer Networking > Linux Networking > IFF_MULTICAST under linux

Reply
Thread Tools Display Modes

IFF_MULTICAST under linux

 
 
Flash Fyre
Guest
Posts: n/a

 
      06-16-2004, 04:28 AM
my code traverses the interfaces on a (possibly) multihomed linux box. i
read the IFF_MULTICAST flag of each interface to see if the interface
is multicast capable. the code works fine on five boxes that i tested,
but wouldn't you know the 6th one failed--the flag is not set for this
card, an intel gigabit ether card. i saw a message on the web that
implies the IFF_MULTICAST flag is good under BSD but broken under
linux--or'ing three flags is the proper way to do things on linux (which
three, though?). then i saw another msg that said linux sets this flag
by default and the driver should clear it if the interface is not
multicast capable, this is done when the iface is opened. interestingly,
ignoring the flag for this interface yields proper multicast operation
even though the flag implies that the iface is not multicast capable.
all testing done on fully up2date fedora core 1 machines. any
tips/opinions on this behavior are appreciated.

TIA,
Flash

 
Reply With Quote
 
 
 
 
Cameron Kerr
Guest
Posts: n/a

 
      06-16-2004, 08:41 AM
Flash Fyre <(E-Mail Removed)> wrote:

> My code traverses the interfaces on a (possibly) multihomed linux box.


> The flag is not set for this card, an intel gigabit ether card.


If ifconfig doesn't show MULTICAST for the interface, you might try
using `ifconfig eth0 +multicast', though, as the manual page describes,
this should not normally be neccesary.

--
Cameron Kerr
(E-Mail Removed) : http://nzgeeks.org/cameron/
Empowered by Perl!
 
Reply With Quote
 
Flash Fyre
Guest
Posts: n/a

 
      06-17-2004, 03:16 AM
Cameron Kerr wrote:
> Flash Fyre <(E-Mail Removed)> wrote:
>
>
>>My code traverses the interfaces on a (possibly) multihomed linux box.

>
>
>>The flag is not set for this card, an intel gigabit ether card.

>
>
> If ifconfig doesn't show MULTICAST for the interface, you might try
> using `ifconfig eth0 +multicast', though, as the manual page describes,
> this should not normally be neccesary.
>


You're right, it doesn't. I tried several more linux boxes today, and so
far just the one dell with the intel gigabit card exhibits this
behavior. Annoying.

---
Flash

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
If I replace my existing Linksys box with Linux Router, how can I know what kind of Routing to be enabled on my Linux Box? santa19992000@yahoo.com Linux Networking 3 01-06-2005 01:18 PM
Another great example of the Linux community in action: NOT! (Was: Linux networking is a ball of confusion) Kevin Pederson Linux Networking 15 10-01-2004 07:13 PM
Trouble Installing Linux/Cisco VPN Client Has anyone had trouble compiling the linux cisco vpn client? Here is the output of the install script: # uname -rviosm Linux 2.4.22-1.2188.nptl #1 Wed Apr 21 20:19:18 EDT 2004 x86_64 x86_64 GNU/Linux JSH Linux Networking 4 07-02-2004 12:48 PM
Red Hot Linux v9.0 [2 DVDs]. Red Hot Linux v9.0 [3 CDs]. Redhat Enterprise Linux ES v3.0 REPACK [4 CDs]. Mandrake Linux 9.2 [3 CDs] -new ! TEL Linux Networking 0 12-01-2003 12:06 PM
Red Hot Linux v9.0 [2 DVDs]. Red Hot Linux v9.0 [3 CDs]. Redhat Enterprise Linux ES v3.0 REPACK [4 CDs]. Mandrake Linux 9.2 [3 CDs] - new ! TEL Linux Networking 0 11-29-2003 11:27 AM



1 2 3 4 5 6 7 8 9 10 11