zephyr.js icon indicating copy to clipboard operation
zephyr.js copied to clipboard

[ocf] Fix OCF resources not discoverable on FRDM-K64F

Open jimmy-huang opened this issue 6 years ago • 4 comments

This patch fixes the issue that multicast discovery messages cannot be routed to the server after Zephyr update 1.11 with IPV6, but turning on promiscuous mode resolves this issue.

Fixes #1885

Signed-off-by: Jimmy Huang [email protected]

jimmy-huang avatar May 30 '18 22:05 jimmy-huang

See if the solution from #1881 would work for this too... (see discussion in #1842 where @pfalcon showed the right way to solve it).

grgustaf avatar Jun 01 '18 19:06 grgustaf

@grgustaf Yeah, that solution didn't work, in fact, ocf already sets CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT=4, and I tried increasing it with no success either, until I turned on promiscuous mode, then it worked, that's why I am hoping @pfalcon might know the real answer here.

jimmy-huang avatar Jun 01 '18 21:06 jimmy-huang

@pfalcon might know the real answer here.

I don't know the exact answer.

CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT=4, and I tried increasing it with no success either

To what value did you increase it? How many multicast addresses does OCF require?

pfalcon avatar Jun 04 '18 14:06 pfalcon

@pfalcon I've tried ranges from 4 up to 8, I believe ocf only requires 1 multicast addr for the discovery.

jimmy-huang avatar Jun 04 '18 17:06 jimmy-huang