Sebastian Lundh
Jul 1, 2011
  7786
(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
Copy Optimizely SaaS CMS Settings to ENV Format Via Bookmarklet

Do you work with multiple Optimizely SaaS CMS instances? Use a bookmarklet to automatically copy them to your clipboard, ready to paste into your e...

Daniel Isaacs | Dec 22, 2024 | Syndicated blog

Increase timeout for long running SQL queries using SQL addon

Learn how to increase the timeout for long running SQL queries using the SQL addon.

Tomas Hensrud Gulla | Dec 20, 2024 | Syndicated blog

Overriding the help text for the Name property in Optimizely CMS

I recently received a question about how to override the Help text for the built-in Name property in Optimizely CMS, so I decided to document my...

Tomas Hensrud Gulla | Dec 20, 2024 | Syndicated blog

Resize Images on the Fly with Optimizely DXP's New CDN Feature

With the latest release, you can now resize images on demand using the Content Delivery Network (CDN). This means no more storing multiple versions...

Satata Satez | Dec 19, 2024