Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple network interfaces unicast can not work with multiple PC #459

Open
Cmccm123 opened this issue Jun 2, 2023 · 2 comments
Open

multiple network interfaces unicast can not work with multiple PC #459

Cmccm123 opened this issue Jun 2, 2023 · 2 comments

Comments

@Cmccm123
Copy link

Cmccm123 commented Jun 2, 2023

Bug report

Required Info:

  • Operating System:
    Ubuntu 20.04
  • Installation type:
    binaries
  • Version or commit hash:
    Galactic
  • DDS implementation:
    CycloneDDS 0.8.0

Steps to reproduce issue

I have a network setup on robot:

  • wlan0 has IP address of 192.168.2.0 - netmask 255.255.255.0
  • eth0 has IP address of 172.30.1.0 - netmask 255.255.255.0

localPC:

  • enp8s0 has IP address of 192.168.2.0 - netmask 255.255.255.0 (same network of robot's wlan0)

Robot Ip address: 172.30.1.24&192.168.2.48
My local pc ip address:192.168.2.61

my CycloneDDS setup:

<CycloneDDS xmlns="https://cdds.io/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://cdds.io/config https://raw.githubusercontent.com/eclipse-cyclonedds/cyclonedds/master/etc/cyclonedds.xsd">
  <Domain id="any">
    <General>
        <NetworkInterfaceAddress>eth0,wlan0</NetworkInterfaceAddress>`
        <AllowMulticast>false</AllowMulticast>
    </General>
    <Discovery>
      <ParticipantIndex>auto</ParticipantIndex>
      <Peers>
            <Peer Address="127.0.0.1" />
            <Peer Address="192.168.2.61" />
      </Peers>
      <MaxAutoParticipantIndex>120</MaxAutoParticipantIndex>
    </Discovery>
  </Domain>
</CycloneDDS>

Everything was working fine, but today the same settings suddenly not work :(

The situation is the same as #455. I used wireshark in local PC, found that the SPDP packets being sent over wlan0 are coming from 172.30.1.24

here is the CycloneDDS log.

log.zip

Expected behavior

Only the local pc and the robot itself can view the ros topic of the robot on wlan0.
eth0 has no limit

Actual behavior

local pc can not access ros topic of the robot.

Other Info

Please feel free to contact me if you need any further information. Thank you for the special care you have given to the matter. :)

Best regards

@Cmccm123
Copy link
Author

Cmccm123 commented Jun 2, 2023

update: The CycloneDDS log is provided by robot

@Cmccm123 Cmccm123 changed the title multiple network interfaces can not work with multiple PC multiple network interfaces unicast can not work with multiple PC Jun 3, 2023
@clalancette
Copy link
Contributor

Galactic is now End of Life. Could you please try your setup with Humble or Iron and see if you have the same issue? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants