Fast-DDS icon indicating copy to clipboard operation
Fast-DDS copied to clipboard

Subscriber cannot match when there are only interfaces with vlan-tag available

Open contr4l opened this issue 2 years ago • 1 comments

Is there an already existing issue for this?

  • [X] I have searched the existing issues

Expected behavior

Subscriber and publisher can match while there are only interfaces with vlan-tag is available.

Current behavior

Subscriber and publisher cannot match while there are only interface with vlan-tag is available. It is verified that Ping command and SSH command can build connection successfully.

Steps to reproduce

# master
sudo ifconfig eth4 192.168.55.100
./DDSHelloWorld publisher

# slave
sudo ifconfig eth4 192.168.55.101
./DDSHelloWorld subscriber

# in this case, writer and reader can match

===========================
# master
sudo vconfig add eth4 10
sudo ifconfig eth4.10 192.168.10.100
sudo ifconfig eth4.10 up
sudo ifconfig eth4 0.0.0.0
./DDSHelloWorld publisher

# slave
sudo vconfig add eth4 10
sudo ifconfig eth4.10 192.168.10.101
sudo ifconfig eth4.10 up
sudo ifconfig eth4 0.0.0.0
./DDSHelloWorld subscriber

# in this case, writer and reader cannot match

Fast DDS version/commit

2.7.0

Platform/Architecture

Ubuntu Focal 20.04 arm64

Transport layer

UDPv4

Additional context

No response

XML configuration file

QOS is default, bin file is generated from `examples/HelloWorld`

Relevant log output

No response

Network traffic capture

No response

contr4l avatar Aug 28 '22 04:08 contr4l

The only reason I can think is that multicast is not been correctly delivered. You could try increasing the TTL, or setting initial peers.

MiguelCompany avatar Oct 13 '22 11:10 MiguelCompany

The only reason I can think is that multicast is not been correctly delivered. You could try increasing the TTL, or setting initial peers.

I'll try to increase the TTL and reproduce the issue, thx.

contr4l avatar Nov 02 '22 01:11 contr4l

According to out CONTRIBUTING.md guidelines, I am closing this issue due to inactivity.

Mario-DL avatar Nov 30 '22 15:11 Mario-DL