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

Network utilities for troubleshooting (Some/IP, Multicasting) #76

Open
mikehaller opened this issue Apr 14, 2023 · 1 comment
Open

Network utilities for troubleshooting (Some/IP, Multicasting) #76

mikehaller opened this issue Apr 14, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@mikehaller
Copy link
Contributor

mikehaller commented Apr 14, 2023

Is your feature request related to a problem? Please describe.
During a hackathon preparation, we wanted to set up Some/IP multicast routing.
Unfortunately, we at first didn't realize that we did not set up a specific routing, hence, the multicast messages went to the wrong network interface. We were looking at eth0, but the default route was wlan0.

We were also unsure whether the container with the Some/IP adapter was able to send/receive multicast packets to/from 239.0.0.1, since it uses veth (which is set up by kanto-cm).

For troubleshooting purposes, it would have been great to have network utilities available on the full quickstart image:

  • tcpdump
  • iperf or another tool to verify multicast works (ping 239.0.0.1 and check if there is a reply from someone)

Describe the solution you'd like

  • Pre-install tcpdump on the quickstart image (sdv-image-full)
  • More detailed documentation on the network setup, esp different setups and multicast routing for Some/IP

Additional context
It would also be great if sdv-health could verify that multicast networking is supported and the necessary Linux-level system settings are properly set (ip_forward, ip link set eth0 multicast on, ip route add ...)
It should include a test as well, e.g. sending multicast pings (Note that ICMP is different and needs to be enabled AS WELL) and checking for responses.

@mikehaller mikehaller added the enhancement New feature or request label Apr 14, 2023
@d-s-e
Copy link

d-s-e commented Dec 18, 2023

I added some network tools.

Multicast is enabled by default. This can easily be checked with ip link show.
If there is a problem with a specific application, it can be debugged with the available tools; I don't think that adding a generic check to sdv-health will make much sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants