OLSR / OONF

OLSR.org Network Framework - olsrd v2 / DLEP
55 stars 36 forks source link

DLEP Radio Neighbor MAC Problem (Feature Request?) #57

Open XDjackieXD opened 1 year ago

XDjackieXD commented 1 year ago

Currently when running the OLSRd2 on hardware that does not have the WIFI hardware built in but rather a separate WIFI device which is running DLEP-Radio, L2 stats for neighbours won't work.

This is caused by the fact, that the DLEP nl80211 reporting obviously reports the neighbour with the WIFI MAC addresses and not the MAC addresses of the routers, therefore the OLSRd2 won't map this correctly to it's routing link.

The only solution that comes to my mind for this that doesn't involve some weird hacks (traffic sniffing on the device with the radio to get the MAC of the two routers) would be to have a manually configured MAC address alias map for each interface in the OLSRd2 configuration and also send this alias mappings to all neighbours. That way OLSRd2 can take the two WIFI MAC addresses returned by DLEP-radio and map it to it's own router interface MAC and the neighbour's router interface MAC and correctly map the radio information to this link.

Does anyone have a simpler/better idea?

mathiashro commented 1 week ago

Closing here for the moment, since there is no active development on the software.

XDjackieXD commented 1 week ago

Hi! Thanks for actively cleaning up and merging PRs again! Could you leave this issue open? I think it is quite vital (as in: DLEP is completely useless right now because of this). If my idea with the MAC "alias" map sounds ok I'd like to implement this (I can not guarantee any timeframe but I do want this feature and certainly are able to implement it).

mathiashro commented 1 week ago

Oh, perfect. Thank you so much in advance. I've assigned this case to you.