hi everyone
I am trying to set up my Netgear WNDR3800 as a wireless (pseudo-) bridge. the device doesn't support WDS so I followed numerous guides to set up relayd. I don't need this device to repeat or act as an access point. I literally want to extend my LAN using WiFi.
bridging works (mostly) and performance is great. however I cannot get brodcast traffic to bridge between my wifi client and the wired lan.
I turned off firewall just in case. I used luci for configuration and then re-checked config files manually.
relayd is running with the following options:
/usr/sbin/relayd -I br-lan -I wlan1 -L 192.168.100.83 -B -D
wlan1 is my wifi client and br-lan is obvious. I can ping from a PC connected to br-lan, but DHCP doesn't get any responses.
I installed tcpdump on WNDR3800 and captured BOOTP/DHCP first on wlan1 (it passes both directions) and on br-lan (I only see requests but no responses). so broadcast passed in both directions via the WiFi client. I think this shows that relayd is not forwarding broadcast responses back to the originator.
root@lrbridge:~# tcpdump -i wlan1 "port bootps"
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on wlan1, link-type EN10MB (Ethernet), capture size 262144 bytes
17:36:29.182861 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:ae:65:a9:d5 (oui Unknown), length 300
17:36:29.193569 IP gw.home.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length 300
however
root@lrbridge:~# tcpdump -i br-lan "port bootps"
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br-lan, link-type EN10MB (Ethernet), capture size 262144 bytes
17:36:38.598745 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:23:ae:65:a9:d5 (oui Unknown), length 300
^C
1 packet captured
am I right in my analysis?
below is my /etc/config/network:
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fddb:40a0:9d52::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.99.128'
option gateway '192.168.100.128'
list dns '192.168.100.128'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
option blinkrate '2'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 2 3 5t'
config switch_port
option device 'switch0'
option port '1'
option led '6'
config switch_port
option device 'switch0'
option port '2'
option led '9'
config switch_port
option device 'switch0'
option port '5'
option led '2'
config interface 'wlan'
option proto 'static'
option netmask '255.255.255.0'
list dns '192.168.100.128'
option ipaddr '192.168.100.83'
option gateway '192.168.100.128'
config interface 'stabridge'
option proto 'relay'
option ipaddr '192.168.100.83'
list network 'lan'
list network 'wlan'
I am running OpenWrt 19.07.0 r10860-a3ffeb413b.
I would be grateful for any suggestions.
thanks in advance.