Problem with receiving of the UDP multicasting on multiple interfaces in the W2K12 cluster

Hi,
I have my .NET application which receives the UDP multicasting communication. It works fine until it is deployed on a W2K12 cluster. Some multicast groups are still available and some are not in the cluster. The
problem is caused by the cluster which creates a virtual interface for a inter-node communication. When the cluster is on and my app is trying to subscibe to the affected group then IGMP packets are routed to the cluster's
virtual interface where the multicast communication is not available. When the cluster (cluster service) is off all groups are available and IGMP is routed to a right interface.
I also have a different application which is not based on .NET and it receives all multicast groups in any deployment (same W2K12 clustered server). So, I guess that in my app I have to tell to the socket somehow, which local interface should
be used for a particular multicast group. In my app I use code below for a group subscribtion, but I still can't manage routing of IGMP to a right local interface. Can you help me?
As you can see in the code example I try to mapp a group to a local interface using its IP and index using MulticastOption class, but it has no effect. Different interface (cluster's virtual interface) is used for a IGMP
subscribtion. I also tried to bind\set local interface to Any, but without success.
It seems that there is some OS logic which overrides my setup. But, it must be possible to do the socket setup correctlly because non .NET application works fine.
Thanks.
Regards,
Marek
public void Start(string[] args)
//args[0] - multicast group
//args[1] - multicast port
//args[2] - local interface IP
//args[3] - local interface index
UdpClient udp = new UdpClient();
udp.Client.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReuseAddress, true);
udp.Client.Bind(new IPEndPoint(IPAddress.Parse(args[2]), Convert.ToInt32(args[1])));
MulticastOption mcastOption = new MulticastOption(IPAddress.Parse(args[0]));
mcastOption.LocalAddress = IPAddress.Parse(args[2]);
mcastOption.InterfaceIndex = int.Parse(args[3]);
udp.Client.SetSocketOption(SocketOptionLevel.IP, SocketOptionName.AddMembership, mcastOption);
udp.BeginReceive(new AsyncCallback(Receive), udp);

I don’t know if it will help you but I can illustrate my problem on the following prints from netsh and route tools. First print from netsh shows that the affected group 224.0.46.232 is assigned to interface 20. Second print shows
that interface 20 is Microsoft Failover Cluster Virtual Adapter where multicast communication is not available.
When the test app, which works fine, is used than these prints show that group 224.0.46.232 is assigned to interface 19 - Microsoft Network Adapter Multiplexor Driver, where multicast communication is available.
So, the question is how to manage these „prints“ to requested setup in .NET.
Regards,
Marek
C:\Windows\system32>netsh interface ip show joins
Interface 1: Loopback Pseudo-Interface 1
Scope       References  Last  Address
0                    0  Yes   239.255.255.250
Interface 20: Local Area Connection* 12
Scope       References  Last  Address
0                    0  Yes   224.0.0.1
0                    1  Yes   224.0.0.252
0                    1  Yes   224.0.46.232
Interface 19: Public
Scope       References  Last  Address
0                    0  No    224.0.0.1
0                    1  No    224.0.0.252
0                    0  Yes   239.255.255.250
C:\Windows\system32>route print
===========================================================================
Interface List
19...3c d9 2b ef 8a ec ......Microsoft Network Adapter Multiplexor Driver
20...02 91 08 09 1a ae ......Microsoft Failover Cluster Virtual Adapter
  1...........................Software Loopback Interface 1
16...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
21...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
===========================================================================

Similar Messages

  • TS3276 I receive a pop up from ICal saying the server does not recognize me user name and password.  This started yesterday.  I have no problems with receiving or sending emails through Mail

    I receive a pop-up from ICal saying the server does not recognize my user name and password for my me.com email address.  This started yesterday and occurs about every 5 minutes or so.  There are no problems with receiving or sending email through Mail.  I did change me email password several days ago but have no problems sending/receiving since then.

    I fixed the problem.  I opened Preferences in ICal and entered my new password.  No more pop-ups

  • TS3212 I'm runing IE9 & I'm unable to download iTunes.  I receive this error each time: There is a problem with this windows installer package.  A program required for the program to complete could not be found.  Contact your support personnel or package

    I'm running IE 9 & windows 7.  I'm unable to download iTunes.  I receive this error each time: There is a problem with this windows installer package.  A program required for the program to complete could not be found.  Contact your support personnel or package vendor.

    There is a problem with this windows installer package.  A program required for the program to complete could not be found.  Contact your support personnel or package vendor.
    Let's try the following user tip with that one:
    "There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows

  • Problem with Receiver File adapter

    Hi
    I have a problem with receiver file FTP adapter, while writting file in target folder, connection is failing, after retries, it writting file again. How to avoid this situation, is there any way to write the leftout part in the file.
    VS

    Hi
    Thank u all,  Problem is solved, i changed write mode to Over write existing file. It is working fine.
    VS

  • Problems with receiving

    hello again! : ( I have problems with receiving mails, my
    installation is local, therefore I am using telnet but it marks errors
    to me you have some idea?
    bash-2.03# telnet pegaso.qoslabs.com 25
    Trying 192.168.20.20...
    Connected to hostname.com.
    Escape character is '^]'.
    220 pegaso.qoslabs.com -- Server ESMTP (Sun ONE Messaging Server 6.0 Patch 1 (built Jan 28 2004))
    MAIL FROM: [email protected]
    250-2.5.0 No HELO/EHLO seen; continuing anyway, [192.168.20.20].
    250 2.5.0 Address Ok.
    RCPT TO: [email protected]
    550 5.1.1 unknown or illegal alias: [email protected]
    RCPT TO: katiuskac
    550 5.1.1 unknown or illegal alias: user
    DATA
    554 5.5.0 No recipients have been specified.
    QUIT
    221 2.3.0 Bye received. Goodbye.
    Connection closed by foreign host.
    what is the solution?
    do you have any idea?

    If the MTA believes that you have an error, it will give you the 5.5.1 error.
    The error may be any of several provisioning problems. Since you haven't sent me the ldap entry for the user, I really can't tell which error you may have made.
    A common error is the value you placed in "mailhost".
    This needs to be the Fully qualified name of your mail server, not an alias. If you desire to use an alias for the system, you need to make additional configurations.
    Please believe me, I'm trying to help you, but when there are dozens of possible errors, and I have no data to examine, I can't tell which error you may have made.
    I do know that if you correctly provision a user, that user will work.

  • See Below. I have a problem with receiving email. Sending is ok. This is for my Thunderbird email account.

    "An error occurred while sending mail. The mail server responded: 5.1.1 <[email protected]>: Recipient address rejected: User unknown in local recipient table. Please check the message recipient [email protected] and try again."

    ''I have a problem with receiving email.''
    ''An error occurred while sending mail.''
    Who is right here?
    ''This is for my Thunderbird email account.''
    There is no such thing as a 'Thunderbird email account'. Thunderbird is an email client, and you use it to retrieve mail from an account you created with your email provider.

  • TS1646 hello  I have problem with regist my visa and I cannot buy from store the message came in the end of form is says the phone number must be a 7-digit number and I have writed but not accepted iam from saudi arabia my mobile is 966504850992 pls answe

    hello 
    I have problem with regist my visa and I cannot buy from store
    the message came in the end of form is says
    the phone number must be a 7-digit number
    and I have writed but not accepted
    iam from saudi arabia
    my mobile is 966504850992
    pls answer
    thanks
    dfr aldossary

    Wow, Karan Taneja, you've just embarrassed yourself on a worldwide support forum.  Not only is your post ridiculous and completely inappropriate for a technical support forum, but it also shows your ignorance as to whom you think the audience is.  Apple is not here.  It's users, like you. 
    If you would have spent half the time actually reading the Terms of Use of this forum that YOU agreed to by signing up to post, as you did composing that usesless, inappropriate post, you (and the rest of us on this forum) would have been much better off.

  • I have a problem with Safari in IOS 8 on my iPad 3. The bookmarks take up a third of the screen and I can't seem to make the bookmarks disappear until I need them. The useful part of the screen is therefore very small. Any suggestions gratefully appr

    I have a problem with Safari in IOS 8 on my iPad 3. The bookmarks take up a third of the screen and I can't seem to make the bookmarks disappear until I need them. The useful part of the screen is therefore very small. Any suggestions gratefully appreciated.

    OK, it now sort of works. A couple of problems here:
    After updating IOS, Safari iCloud was "automatically" switched off
    Switching it on had no effect
    resetting my iPad automatically switched off safari iCloud again
    after switching it back on, it said "turning off safari data"
    switched it off and on again, now it said : "turning on safari data" and the sync worked
    On IOS 7 no problems
    The bookmarks not being displayed was because after pressing the book icon, it defaulted to showing the history and I had to press "Back" to get to the other options

  • I am going to buy unlocked iphone 5.. i will be going to india nxt months and will stay there for a while... so my question is will i get warrenty in india.. and will there be any problem with using indian sims..?? thnx for the help..

    i am going to buy unlocked iphone 5.. i will be going to india nxt months and will stay there for a while... so my question is will i get warrenty in india.. and will there be any problem with using indian sims..?? thnx for the help..

    The warranty for the iPhone is not and has never been International.
    Warranty and support are ONLY valid in the country of origin.  The only exception is the EU where the entire EU is treated as one country.
    If the device will be used in India, buy it in India.
    An unlocked iPhone will work on any supported GSM carrier world wide.  The LTE portion of a US purchased, unlocked iPhone is unlikely to work outside North America as it does not support the appropriate bands used in other countries.

  • I have a problem with my iPhone 4s.  An Apple rep looked at the phone today and determined the phone will have to be replaced.  I am trying to back up my data on the phone to iTunes but I cannot get the phone to power up.

    I have a problem with my iPhone 4s.  An Apple rep looked at the phone tonight and determined I will need a new phone.  I am now trying to back up my data to iTunes but I cannot get the phone to turn on.  I have it plugged into my computer monitor but it just slowly flashes the Apple symbol. Any ideas on how I can get it to power up for the backup?

    Apple isnt here. this is a user based forum for technical questions. The solution is to restart, reset, and restore as new which is in the manual after that get it replaced for hard ware failure. if your within your one year warranty its replaced if it is out of the warranty then it is 199$

  • Error while posting GR from EWM in ECC. "Problem with receiver finding"

    Hi
    I have completed putaway of inbound delivery in EWM. This has triggered PPF to ECC for GR posting. This is stuck in ECC SMQ2 with error "Problem with receiver finding".
    I have checked ECC>EWM interface configuration. Handling unit management setup in ECC and EWM. Do not see any issues there. Also tested GR account postings with IM storage location for Po in ECC. This is also working fine...so no issue with account determination.
    Unable to figure out what is causing issue. Please help. Thank you.
    Best Regards
    phani sai MN

    Hi All
    Thanks for your responses. Issue was with distrubution model fiter parameters. for message type InboundDelivery.Deliverychange there was additional filter parameter for logical system. Removed values for logical system and only retained warehouse number.
    With this issue is resolved. GR is posted succesfully in ECC.
    Best Regards
    Phani sai MN

  • Have a problem with my MacBook Pro.5,3 and monitor.  Intermittently, the desk top screen becomes broken up into vertical sections, which appear in the wrong order, creating a haphazard picture.    The Apple icon, usually at top left corner, appears in to

    have a problem with my MacBook Pro.5,3 and monitor.  Intermittently, the desk top screen becomes broken up into vertical sections, which appear in the wrong order, creating a haphazard picture.
    The Apple icon, usually at top left corner, appears in top right corner  in a strip including all that left hand.  When the computer is restarted, the screen goes back to normal.  But I have to move the mouse to the far left of the screen and then up until it reappears on the far right hand side of the screen so that I can hit shut down button.
    It seems to happen randomly though always on desk top and sometimes when I move mouse and computer switches on from rest mode.   My large flat screen is relatively new.
    The video card on this computer, which is approximately two years old, is Nvidia FeForce 9400M.
    Any help would be welcome as my usual source of assistance is not available and I am not well versed in workings of the Mac although I have used one for many years.

    That sounds like a Hardware problem.
    You may be able to confirm that with Apple Hardware Test, or make an appointmenst for a free Genius Bar evaluation.

  • I am still having problems with my music videos freezing (all purchased from iTunes) since the update.  Have restarted, rebooted etc. and it is worse than before.  Help!  Spent a lot of money on these and they won't play properly.

    I am still having problems with my music videos freezing (all purchased on iTunes) since the update.  The first day of the update, no problems...played 6 hours of music videos and no freezing.  Today...every single video froze!!! So frustrating!  I rebooted, restarted, powered down and no help.   I would appreciate any suggestions.  Thanks.

    I don't know how to do this without using a mouse point.
    This may help, http://www.computerhope.com/issues/ch000542.htm
    As for question #2, you call tell how iTunes is sorting songs by the up or down arrow next to a header name.
    Even the original order that the songs were entered or date added or last played can be sorted.
    Much easier with a mouse or touch pad.

  • I have a problem with buying apps in itunes Store. When you purchase the application fails payment. Asked to update the map. I have 2 credit cards with a positive balance. In what could be the reason?

    I have a problem with buying apps in itunes Store.
    When you purchase the application fails payment.
    Asked to update the map.
    I have 2 credit cards with a positive balance.
    In what could be the reason?

    contact itunes support

  • Problem with Powerbook G4 - 15 inch, machine ins currently connected to the

    Problem with Powerbook G4 - 15 inch, machine ins currently connected to the DVI/AVI adapter so I can use the powerbook with a monitor attached, and have been doing so for about 3 months so far, with no problems, now, it wont boot up without giving me the grey screen with the "please restart, hold done restart button for several seconds etc". I did the power management reset, take out battery - even though battery dead, and remove adapter, hold down button for 5 seconds etc... it worked, finally booted up, but the DVI/AVI monitor adapter stuff was not connected when it booted up. When i put them back on, and tried to restart, i get the same "please restart, hold done restart button for several seconds etc" what do you think could be happening, could it be the DVI/AVI adapter or something a lot more serious

    Thanks and noted.
    I'd suggest you post in the PowerBook G4 area. This forum is for
    older, pre-G3 PowerBooks and so is probably not the
    most likely place for you to get help with your G4.
    Good luck.

Maybe you are looking for

  • WebLogic Admin Server (9.1)is not running.

    When I was trying to start Admin, it gives "There are nested errors" error message.

  • Multiple layers in one file

    Hello: I'm seeking advice on the best way to proceed on a shot I'm working on. I've got a background (mountains), and I've got two green-screened images (flying kids) I want to add in front of it. I've successfully keyed and masked and resized one of

  • ORA-12853 and ORA-04031 simultaneously

    Hello, I am getting the following errors when I try to start Oracle ORA-12853: insufficient memory for PX buffers: current 0K, max needed 2640K ORA-04031: unable to allocate 21544 bytes of shared memory ("large pool","unknown object","large pool","PX

  • Can't "Apply" Fast/Slow/Reverse on some clips

    I have some clips in my timeline that I cannot change the speed on. This typically happens with a clip that I already edited in some way. Particularly when I have already altered the playback speed on it before. When I try to do this now, the Apply b

  • STATUS YELLOW ( URGENT  )

    Hai all I am getting status yellow for request in bi after scheduling info package ( after migeration of data source) and in short dump of dataware house work bench I am getting following error : CONNE_IMPORT_WRONG_COMP_TYPE EXCEPTION :CX_SY_IMPORT_M