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

The wg0 interface can send and receive multicast packets, but the eth0 interface cannot send or receive multicast packets. #213

Open
goldsoft8888 opened this issue Nov 16, 2024 · 0 comments

Comments

@goldsoft8888
Copy link

goldsoft8888 commented Nov 16, 2024

I am using two ARM64 devices running Armbian. The site-to-site connection is already established, but SMCroute is not sending data to ETH0.
Is there a complete tutorial for using SMCroute with site-to-site? I referred to this guide, but it didn’t work, and I’m not sure where the issue is.

The wg0 interface can send and receive multicast packets, but the eth0 interface cannot send or receive multicast packets. Both wg0 and eth0 have multicast functionality enabled.

Configuration:
bash

iptables -t mangle -A PREROUTING -i eth0 -d 239.255.255.250 -j TTL --ttl-inc 2
ip link set dev wg0 multicast on
ip link set dev wg0 multicast on
/etc/smcroute.conf:
bash

phyint eth0 enable
phyint wg0 enable

mgroup from eth0 group 239.255.255.250
mroute from eth0 group 239.255.255.250 to wg0

mgroup from wg0 group 239.255.255.250
mroute from wg0 group 239.255.255.250 to eth0
Output from smcrouted -n:
less

smcroute[6339]: SMCRoute v2.5.6
smcroute[6339]: IPv4 multicast routing API already in use: Address already in use
smcroute[6339]: /etc/smcroute.conf line 5: mroute: inbound eth0 is not a known phyint
smcroute[6339]: /etc/smcroute.conf line 8: mroute: inbound wg0 is not a known phyint
smcroute[6339]: Parse error in /etc/smcroute.conf
smcroute[6339]: Ready, waiting for client request or kernel event.

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

No branches or pull requests

1 participant