Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-04-2009, 08:43 AM   #1
LQ Newbie
Registered: Feb 2009
Posts: 2

Rep: Reputation: 0
x86_64 Multicast on

We had a multicast solution until we upgraded to and 64 bit dual core CPU. We also added a second NIC. The kernel was built with IP_MULTICAST,IP_ADVANCED ROUTER,IPIP,IPGRE,IP_MROUTE == *. The terminal receives all unicast messages, does join the multicast group, even occassionally send the multicast report to the group address. I can see messages come into the eth0 but the kernel never forwards them to the waiting socket/process. I've added smcroute but nothing changed. Does anyone have this type of issue? IPtables firewall was not built into this release.
Thanks in advance.
Old 02-05-2009, 12:06 PM   #2
LQ Newbie
Registered: Feb 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Traced the problem to bind. In the original working code, sa.sin_addr=htonl(INADDR_ANY) the bind was was done to With the additional of another NICs multiple binds are done with each using the IP address of it's own interface or eth1_ip_addr. And then the bind(); called.

The next step is to call setsockopt(). We did leave the new setsockopt with the individual IP address for each different interface. Seem to work fine now.

Question remains .. why can't I bind to an individual address?


multicast, x8664

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
opensuse 11 - compiz x86_64, libcompizconfig 586... wait, what? where is x86_64 ver? almcneill SUSE / openSUSE 9 09-28-2008 10:36 AM
LXer: Xen 3.2 on CentOS 5.2 x86_64 / RHEL 5.2 x86_64 LXer Syndicated Linux News 0 07-12-2008 05:51 PM
Multicast vprakash Linux - Networking 0 09-19-2007 07:07 AM
Can I Multicast? donbellioni Linux - Networking 1 09-16-2005 01:36 PM
multicast det_funkar Linux - Networking 0 12-18-2002 03:04 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration