I have pub/sub being used on a switch that the switch has multicast enabled (not sure of switch model but can use command "show ip multicast"). My DDS application is also using the switch on a VLAN and when the application is started is able to send messages fine. After about 5 mintues my pub/sub stops working and I have to restart the application to have communication work again. When I disable multicast on the switch pub/sub works as expected without this issue, what about enabling multicast on a switch can be causing this issue comapred to when multicast on the switch is disabled?
Please refer to the following Knowledge Base article:
https://community.rti.com/kb/why-does-dds-communication-stop-after-some-time-while-using-switches
On your second question, it must be that switch by default has multi-cast enabled.
Irwin