Sebastian Lundh
Jul 1, 2011
  7775
(4 votes)

Multicast configuration with multiple NIC’s.

nicToUseName gives the possibility to name the Network you want to send EPiServer remote events over.

UDP multicast is so esey, no need to add a section for each site in an enterprise configuration.  No need to setup special ports for listening and sending events. Just uncomment from standard configuration and it works.

Very often servers have double NIC's in use and when sending out udp multicast packets it will by standard choose the NIC with lowest index. So you startup Wireshark and don’t see any packets at all when listening on one of the NIC’s and filtering out UDP packets. So you listen on the other NIC and see that it’s actually trying sending out events over the wrong network.

Solution:
Control Panel\Network and Internet\Network Connections
Check the name of the connection.

Set this value as nicToUseName="nameofthenetwork"

Add this to web.config like:
<customBinding>
        <binding name="RemoteEventsBinding">
          <binaryMessageEncoding />
          <udpTransport multicast="True" nicToUseName="Local Area Connection"  />
        </binding>
</customBinding>

Now it will send and listen on this network.

Jul 01, 2011

Comments

Please login to comment.
Latest blogs
How I Fixed DLL Conflicts During EPiServer CMS Upgrade to .NET Framework 4.8.1

We had a CMS solution of EPiServer 11.26.0, which was built on .NET Framework 4.7.1. We needed to update the target framework from .NET Framework...

calimat | Dec 12, 2024

Custom form element view in Optimizely CMS 12

Do you want full control over the form element markup? Create your own views!

Tomas Hensrud Gulla | Dec 11, 2024 | Syndicated blog

How to Elevate Your Experimentation - Opticon workshop experience

As a non-expert in the field of experimentation, I’d like to share my feedback on the recent Opticon San Antonio workshop session titled "How to...

David Ortiz | Dec 11, 2024

Persisting a Strawberry Shake GraphQL Client for Optimizely's Content Graph

A recent CMS project used Strawberry Shake to generate an up-to-date C# GraphQL client at each build. But what happens to the build if the GraphQL...

Nicholas Sideras | Dec 11, 2024 | Syndicated blog