LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

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

Rep: Reputation: 0
x86_64 Multicast on 2.6.24.5


We had a multicast solution until we upgraded to 2.6.24.5 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
dgoffe
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 0.0.0.0. With the additional of another NICs multiple binds are done with each using the IP address of it's own interface ...sa.sin_addr=inet_addr(eth0_ip_addr) 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?
 
  


Reply

Tags
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/Novell 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


All times are GMT -5. The time now is 09:01 PM.

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