|
From: Erik A. <ea...@dr...> - 2016-09-01 08:15:08
|
Hi, playing a bit with OpenDDS on a Linux-PC with two network interfaces, I tried to configure OpenDDS for rtps discovery on the second interface (eth1). The default gateway is on eth0. The rtps config is attached. So far it failed, sniffing with tcpdump I could still see the spdp traffic on eth0, so the question is: How do I move the spdp traffic to eth1? Looking at Spdp::SpdpTransport::open_unicast_socket() (dds/DCPS/RTPS/Spdp.cpp) it does seem to set only a port, not an address: local_addr.set(uni_port) Further when moving the default gateway to eth1, or just adding a route for the multicast traffic with route add 239.255.0.1 eth1 its working as intended and the subscribers receives the test message. Is that the intended behavior? Anything I have missed? greetings, Erik |