SaaS CMS has officially launched! Learn more now.

Sebastian Lundh
Jul 1, 2011
  7636
(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
Optimizely SaaS CMS Concepts and Terminologies

Whether you're a new user of Optimizely CMS or a veteran who have been through the evolution of it, the SaaS CMS is bringing some new concepts and...

Patrick Lam | Jul 15, 2024

How to have a link plugin with extra link id attribute in TinyMce

Introduce Optimizely CMS Editing is using TinyMce for editing rich-text content. We need to use this control a lot in CMS site for kind of WYSWYG...

Binh Nguyen Thi | Jul 13, 2024

Create your first demo site with Optimizely SaaS/Visual Builder

Hello everyone, We are very excited about the launch of our SaaS CMS and the new Visual Builder that comes with it. Since it is the first time you'...

Patrick Lam | Jul 11, 2024

Integrate a CMP workflow step with CMS

As you might know Optimizely has an integration where you can create and edit pages in the CMS directly from the CMP. One of the benefits of this i...

Marcus Hoffmann | Jul 10, 2024