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

FS#3598 - Trival Relay (trelay) should set up the relayed port into promiscuous mode #8627

Closed
openwrt-bot opened this issue Jan 27, 2021 · 4 comments
Labels
core packages pull request/issue for core (in-tree) packages flyspray release/19.07 pull request/issue targeted (also) for OpenWrt 19.07 release

Comments

@openwrt-bot
Copy link

wrobelda:

Supply the following if possible:

  • Device problem occurs on
    //VirtIO NIC//

  • Software versions of OpenWrt/LEDE release, packages, etc.
    //OpenWrt 19.07.6 r11278
    kmod-trelay - 4.14.215+0.1-2//

  • Steps to reproduce
    Set up trival relay, /etc/config/trelay:

//config trelay
option enabled 1
option dev1 eth0
option dev2 wlan0 //

The relay works only if eth0 is put in promiscuous mode. This can be easily handled by updating /etc/init.d/trelay to set it up automatically:

// ip link set dev "$dev1" up
ip link set dev "$dev1" promisc on
ip link set dev "$dev2" up //

@openwrt-bot
Copy link
Author

wrobelda:

(meant "relayed interface" in the subject line)

@aparcar aparcar added release/19.07 pull request/issue targeted (also) for OpenWrt 19.07 release core packages pull request/issue for core (in-tree) packages labels Feb 22, 2022
@ynezz
Copy link
Member

ynezz commented May 24, 2022

OpenWrt 19.07 release is EOL, try to reproduce the issue with latest supported release and feel free to ask for issue reopening if the problem is still present, thanks.

@ynezz ynezz closed this as completed May 24, 2022
@Tungsteno74
Copy link

Tungsteno74 commented Jun 15, 2022

Hi,
with snapshot r19801-230c9da963 do not work with promiscuous mode ON. Works only with a client macaddr in the Station (AP) section.
Another problem is that do not work as repeater (bridge wifi-to-wifi).

@rhjdvsgsgks
Copy link

is promiscuous mode really needed? because i succeed using trelay to bridge a wlan interface to a wired interface without promiscuous mode (but with some other issue #11627). and network through it also works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core packages pull request/issue for core (in-tree) packages flyspray release/19.07 pull request/issue targeted (also) for OpenWrt 19.07 release
Projects
None yet
Development

No branches or pull requests

5 participants