FS#3598 - Trival Relay (trelay) should set up the relayed port into promiscuous mode #8627
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
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 //
The text was updated successfully, but these errors were encountered: