WDS Repeater Connected but no DHCP

Hello,

Trying to replicate (I think) this setup but have hit a wall and hoping for help please:

OpenWRT
192.168.1.1 x86 Router with Wlan0 AP(WDS) attached to br-lan (along with eth0-3). Eth4=WAN connected to internet.

OpenWRTBridge
192.168.1.200 (Totolink X5000R)ramips-mt7621. Wlan0 Client(WDS) connected to OpenWRT, attached to br-lan (along with lan1-4). Eth0=WAN deleted.

Would like OpenWRT attached to internet. To connect OpenWRTBridge via 5ghz WiFi to OpenWRT and have various 4 wired devices able to reach the internet via OpenWRT.
To set static IP's on OpenWRT for the 4 wired devices on OpenWRTBridge
To use wlan0 on OpenWRTBridge as a 2ghz AP (which I've done, but its not getting IP from OpenWRT).

I followed this guide: https://openwrt.org/docs/guide-user/network/wifi/atheroswds
And Wlan0 from OpenWRTBridge is connected to OpenWRT (can see MAC address in openWRT Overview) but when SSH into OpenWRTBridge I cannot then ping OpenWRT
and devices connecting to OpenWRTBridge asking for IP's via DHCP get no connection (wired or wireless via 2ghz ap).

Lots of info from the Bridge/Repeater side:

[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is TOTOLINK X5000R
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4

[    0.777675] 0x000000690000-0x000000fb0000 : "rootfs_data"
[    0.825793] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    0.835686] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    0.845325] i2c /dev entries driver
[    0.851464] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    0.858219] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    0.867021] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0000000000
[    0.875195] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    0.883442] mt7621-pci 1e140000.pcie: Parsing DT failed
[    0.890990] NET: Registered protocol family 10

[    0.918839] 8021q: 802.1Q VLAN Support v1.8
[    0.926488] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    0.957681] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7530 PHY] (irq=26)
[    0.970139] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=27)
[    0.982367] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=28)
[    0.994744] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=29)
[    1.007133] mt7530 mdio-bus:1f wan (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7530 PHY] (irq=30)
[    1.019579] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    1.030029] DSA: tree 0 setup
[    1.033456] rt2880-pinmux pinctrl: pcie is already enabled
[    1.039086] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    1.045798] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    1.054607] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0000000000
[    1.062758] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    1.071009] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    1.078751] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    1.086387] mt7621-pci 1e140000.pcie: failed to parse bus ranges property: -22

root@OpenWrtBridge:~# modinfo mt7915e
module:		/lib/modules/5.10.146/mt7915e.ko
license:	Dual BSD/GPL
depends:	mac80211,mt76-connac-lib,mt76,cfg80211,hwmon
name:		mt7915e
vermagic:	5.10.146 SMP mod_unload MIPS32_R2 32BIT 
root@OpenWrtBridge:~# 


oot@OpenWrtBridge:~# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
^C
--- 192.168.1.1 ping statistics ---
43 packets transmitted, 0 packets received, 100% packet loss
root@OpenWrtBridge:~# 
root@OpenWrtBridge:~# 
root@OpenWrtBridge:~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.1.1     0.0.0.0         UG    0      0        0 br-lan
192.168.1.0     *               255.255.255.0   U     0      0        0 br-lan


OpenWRTBridge
vi /etc/config/firewall
config defaults
        option output 'ACCEPT'
        option forward 'REJECT'
        option synflood_protect '1'
        option input 'DROP'

config zone
        option name 'lan'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'ACCEPT'
        list network 'lan'


OpenWRTBridge
ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1504 qdisc fq_codel state UP qlen 1000
    link/ether 5c:92:5e:c4:69:08 brd ff:ff:ff:ff:ff:ff
3: lan1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
    link/ether 5c:92:5e:c4:69:08 brd ff:ff:ff:ff:ff:ff
4: lan2@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN qlen 1000
    link/ether 5c:92:5e:c4:69:08 brd ff:ff:ff:ff:ff:ff
5: lan3@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN qlen 1000
    link/ether 5c:92:5e:c4:69:08 brd ff:ff:ff:ff:ff:ff
6: lan4@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN qlen 1000
    link/ether 5c:92:5e:c4:69:08 brd ff:ff:ff:ff:ff:ff
7: wan@eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN qlen 1000
    link/ether 5c:92:5e:c4:69:09 brd ff:ff:ff:ff:ff:ff
21: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
    link/ether 5c:92:5e:c4:69:08 brd ff:ff:ff:ff:ff:ff
22: wlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
    link/ether 00:0c:43:4a:21:4e brd ff:ff:ff:ff:ff:ff
23: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
    link/ether 5c:92:5e:c4:69:08 brd ff:ff:ff:ff:ff:ff


OpenWRTBridge
ifconfig
br-lan    Link encap:Ethernet  HWaddr 5C:92:5E:C4:69:08  
          inet addr:192.168.1.200  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::5e92:5eff:fec4:6908/64 Scope:Link
          inet6 addr: fd53:5df8:36ce::1/60 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4033 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3715 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:542068 (529.3 KiB)  TX bytes:1423133 (1.3 MiB)

eth0      Link encap:Ethernet  HWaddr 5C:92:5E:C4:69:08  
          inet6 addr: fe80::5e92:5eff:fec4:6908/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1504  Metric:1
          RX packets:28880 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31746 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:4083933 (3.8 MiB)  TX bytes:10882314 (10.3 MiB)
          Interrupt:21 

lan1      Link encap:Ethernet  HWaddr 5C:92:5E:C4:69:08  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:28880 errors:0 dropped:0 overruns:0 frame:0
          TX packets:29935 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3564093 (3.3 MiB)  TX bytes:10412422 (9.9 MiB)

lan2      Link encap:Ethernet  HWaddr 5C:92:5E:C4:69:08  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan3      Link encap:Ethernet  HWaddr 5C:92:5E:C4:69:08  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan4      Link encap:Ethernet  HWaddr 5C:92:5E:C4:69:08  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:4814 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4814 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:400841 (391.4 KiB)  TX bytes:400841 (391.4 KiB)

wlan0     Link encap:Ethernet  HWaddr 5C:92:5E:C4:69:08  
          inet6 addr: fe80::5e92:5eff:fec4:6908/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:405 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:38968 (38.0 KiB)

wlan1     Link encap:Ethernet  HWaddr 00:0C:43:4A:21:4E  
          inet6 addr: fe80::20c:43ff:fe4a:214e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:296 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1202 (1.1 KiB)  TX bytes:21509 (21.0 KiB



root@OpenWrtBridge:~# iw dev
phy#1
	Interface wlan1
		ifindex 22
		wdev 0x100000006
		addr 00:0c:43:4a:21:4e
		ssid MySID5
		type managed
		channel 44 (5220 MHz), width: 80 MHz, center1: 5210 MHz
		txpower 20.00 dBm
		multicast TXQ:
			qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
			0	0	0	0	0	0	0	0		0
		4addr: on
phy#0
	Interface wlan0
		ifindex 23
		wdev 0x4
		addr 5c:92:5e:c4:69:08
		ssid OpenWrt
		type AP
		channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
		txpower 20.00 dBm
		multicast TXQ:
			qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
			0	0	0	0	0	0	0	0		0



OpenWRTBridge
vi /etc/config/wireless
config wifi-device 'radio0'
        option type 'mac80211'
        option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
        option channel '1'
        option band '2g'
        option htmode 'HT20'
        option cell_density '0'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'

config wifi-device 'radio1'
        option type 'mac80211'
        option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0+1'
        option band '5g'
        option htmode 'VHT80'
        option disabled '0'
        option cell_density '0'
        option channel 'auto'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'sta'
        option wds '1'
        option ssid 'MySID5'
        option encryption 'psk2'
        option key 'redacted'


OpenWRTBridge
vi /etc/config/network
config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option packet_steering '1'
        option ula_prefix 'fd53:5df8:36ce::/48'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option ipaddr '192.168.1.200'
        option gateway '192.168.1.1'

config device
        option name 'eth0'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan1'
        list ports 'lan2'
        list ports 'lan3'
        list ports 'lan4'
        option stp '1'

Have tried manually adding wlan1 to "list ports" also.


OpenWRTBridge
vi /etc/config/dhcp
config dnsmasq
        option domainneeded '1'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
        option localservice '1'
        option ednspacket_max '1232'
        list server '192.168.1.1'

config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        option dhcpv4 'server'
        option dhcpv6 'server'
        option ra 'server'
        list ra_flags 'managed-config'
        list ra_flags 'other-config'
        option ignore '1'
        option dynamicdhcp '0'

config odhcpd 'odhcpd'
        option maindhcp '0'
        option leasefile '/tmp/hosts/odhcpd'
        option leasetrigger '/usr/sbin/odhcpd-update'
        option loglevel '4'

Here are the main (hopefully) router OpenWRT 192.168.1.1 configs

OpenWRT
root@OpenWrt:~# ping 192.168.1.200
PING 192.168.1.200 (192.168.1.200): 56 data bytes
^C
--- 192.168.1.200 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss


OpenWRT
vi /etc/config/firewall
config defaults
        option output 'ACCEPT'
        option forward 'REJECT'
        option synflood_protect '1'
        option input 'DROP'

config zone
        option name 'lan'
        list network 'lan'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'ACCEPT'

config zone
        option name 'wan'
        option output 'ACCEPT'
        option forward 'REJECT'
        option masq '1'
        option mtu_fix '1'
        option input 'DROP'
        list network 'wan'
        list network 'WAN_Tethered'
        option log '1'
        option log_limit '1/second'

config forwarding
        option src 'lan'
        option dest 'wan'

config rule
        option name 'Allow-DHCP-Renew'
        option src 'wan'
        option proto 'udp'
        option dest_port '68'
        option target 'ACCEPT'
        option family 'ipv4'

config rule
        option src 'wan'
        option proto 'icmp'
        option family 'ipv4'
        option name 'Drop-Ping'
        list icmp_type 'echo-request'
        option target 'DROP'


OpenWRT
ip link

ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master br-lan state DOWN qlen 1000
    link/ether 00:19:99:d5:cf:35 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:19:99:d5:cf:36 brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:19:99:d5:cf:37 brd ff:ff:ff:ff:ff:ff
5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:19:99:d5:cf:38 brd ff:ff:ff:ff:ff:ff
7: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc cake state UP qlen 1000
    link/ether d8:9e:f3:15:11:65 brd ff:ff:ff:ff:ff:ff
9: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
    link/ether 00:19:99:d5:cf:35 brd ff:ff:ff:ff:ff:ff
18: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
    link/ether 64:6c:80:b3:4c:5b brd ff:ff:ff:ff:ff:ff
22: ifb4eth4: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc cake state UNKNOWN qlen 32
    link/ether 8a:0d:0d:58:44:eb brd ff:ff:ff:ff:ff:ff
26: wlan0.sta2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UNKNOWN qlen 1000
    link/ether 64:6c:80:b3:4c:5b brd ff:ff:ff:ff:ff:ff


OpenWRT
root@OpenWrt:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:19:99:D5:CF:35  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::219:99ff:fed5:cf35/64 Scope:Link
          inet6 addr: fdde:8273:ca58::1/60 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:31502 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24644 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3110074 (2.9 MiB)  TX bytes:12120647 (11.5 MiB)

eth0      Link encap:Ethernet  HWaddr 00:19:99:D5:CF:35  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Memory:f7380000-f73fffff 

eth4      Link encap:Ethernet  HWaddr D8:9E:F3:15:11:65  
          inet addr:92.28.181.20  Bcast:92.28.191.255  Mask:255.255.224.0
          inet6 addr: fe80::da9e:f3ff:fe15:1165/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:14188 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8086 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:15034608 (14.3 MiB)  TX bytes:1229150 (1.1 MiB)
          Interrupt:20 Memory:f7600000-f7620000 

ifb4eth4  Link encap:Ethernet  HWaddr 8A:0D:0D:58:44:EB  
          inet6 addr: fe80::880d:dff:fe58:44eb/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:14141 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14141 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32 
          RX bytes:14951026 (14.2 MiB)  TX bytes:14951026 (14.2 MiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:4614 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4614 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:4687097 (4.4 MiB)  TX bytes:4687097 (4.4 MiB)

wlan0     Link encap:Ethernet  HWaddr 64:6C:80:B3:4C:5B  
          inet6 addr: fe80::666c:80ff:feb3:4c5b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:22674 errors:0 dropped:0 overruns:0 frame:0
          TX packets:29983 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3008384 (2.8 MiB)  TX bytes:13145112 (12.5 MiB)

wlan0.sta2 Link encap:Ethernet  HWaddr 64:6C:80:B3:4C:5B  
          inet6 addr: fe80::666c:80ff:feb3:4c5b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4678 errors:0 dropped:0 overruns:0 frame:0
          TX packets:490 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:259698 (253.6 KiB)  TX bytes:88713 (86.6 KiB)

root@OpenWrt:~# 



OpenWRT

root@OpenWrt:~# iw dev
phy#0
	Interface wlan0.sta2
		ifindex 26
		wdev 0x6
		addr 64:6c:80:b3:4c:5b
		type AP/VLAN
		channel 44 (5220 MHz), width: 80 MHz, center1: 5210 MHz
		txpower 0.00 dBm
		4addr: on
	Interface wlan0
		ifindex 18
		wdev 0x2
		addr 64:6c:80:b3:4c:5b
		ssid MySID5
		type AP
		channel 44 (5220 MHz), width: 80 MHz, center1: 5210 MHz
		txpower 23.00 dBm
		multicast TXQ:
			qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
			0	0	4236	0	0	0	0	437067		4236


OpenWRT
vi /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'pci0000:00/0000:00:1d.0/0000:03:00.0'
        option cell_density '2'
        option country 'GB'
        option htmode 'VHT80'
        option band '5g'
        option channel '44'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option encryption 'psk2'
        option key 'Redacted'
        option max_inactivity '91234'
        option disassoc_low_ack '0'
        option ssid 'MySID5'
        option wds '1'

config wifi-device 'radio1'
        option type 'mac80211'
        option path 'pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0'
        option disabled '0'
        option htmode 'HT40'
        option band '2g'
        option channel '11'
        option country 'GB'
        option cell_density '2'
        option noscan '1'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option encryption 'psk2'
        option key 'Redacted'
        option ssid 'MySID2ghz'
        option skip_inactivity_poll '1'
        option disassoc_low_ack '0'


OpenWRT
vi /etc/config/network

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fdde:8273:ca58::/48'
        option packet_steering '1'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option ipaddr '192.168.1.1'

config interface 'wan'
        option proto 'dhcp'
        option device 'eth4'
        option hostname '*'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'wlan0'
        list ports 'wlan1'
        list ports 'eth0'

config interface 'WAN_Tethered'
        option proto 'dhcp'
        option device 'usb0'
        option hostname '*'

config device
        option name 'eth1'

config device
        option name 'eth2'


OpenWRT
vi /etc/config/dhcp

config dnsmasq                                                 
        option domainneeded '1'             
        option localise_queries '1'                  
        option rebind_protection '1'                           
        option rebind_localhost '1'                  
        option local '/lan/'                                   
        option domain 'lan'                 
        option expandhosts '1'                       
        option readethers '1'                                  
        option leasefile '/tmp/dhcp.leases'          
        option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
        option ednspacket_max '1232'        
        option confdir '/tmp/dnsmasq.d'              
        option authoritative '1'            
        option localservice '1'                      
                                    
config dhcp 'lan'                           
        option interface 'lan'                       
        option dhcpv4 'server'              
        option dhcpv6 'server'                       
        option ra 'server'            
        list ra_flags 'managed-config'      
        list ra_flags 'other-config'                 
        option start '20'                   
        option limit '180'                           
        option leasetime '24h'        
                                            
config dhcp 'wan'                                    
        option interface 'wan'              
        option ignore '1'                            
                                      
config odhcpd 'odhcpd'                      
        option maindhcp '0'                          
        option leasefile '/tmp/hosts/odhcpd'
        option leasetrigger '/usr/sbin/odhcpd-update'
        option loglevel '4'           
                             


I am very interested because I have identical problems

My router is a Livebox 6 by Orange / FranceTelecom

OpenWrt is used as a WDS repeater sta / lan

repeater network


config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option ipaddr '192.168.1.65'
        option gateway '192.168.1.1'
        option dns '192.168.1.1'


repeater wireless


config wifi-iface 'wifinet1'
        option device 'radio0'
        option mode 'sta'
        option network 'lan'
        option ssid 'LiveBox 6'
        option encryption 'psk2'
        option key '1234567890ABCD'
        option wds '1'

no dhcp dhcp file removed

no other dhcp server than that of the Livebox 6

Disable the DHCP server on lan in the repeater router. DHCP requests from all clients will be served by the main router.

1 Like

Hi mk24, thanks for reply.

Is this not diabled though by option ignore '1'?

If not, whats the best way to disable it?

config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        option dhcpv4 'server'
        option dhcpv6 'server'
        option ra 'server'
        list ra_flags 'managed-config'
        list ra_flags 'other-config'
        option ignore '1'
        option dynamicdhcp '0'

Either remove all other settings except ignore, or change dhcpv4, dhcpv6, and ra to "disabled"

I'm not sure what option ignore does exactly to dnsmasq, but in odhcpd it is an internal flag that isn't parsed out of UCI at all. Enabling any of the other service options will activate the interface.

I tried commenting out the lines in /etc/config/dhcp below config dhcp 'lan' but leaving just the option ignore '1'
That didnt work (after /etc/init.d/network restart and /etc/init.d/dnsmarq restart)

So I deleted all the lines below config dhcp 'lan' in /etc/config/dhcp but leaving just the option ignore '1'
Then rebooted the bridge. No joy unfortunately.

Might be worth adding, I do have another wireless bridge currently in situ working ok.
Its a 10 year old Netgear WN2500RP running its native OEM software. Connected to the same OpenWRT router upstream.
Thats netgear bridge is connected by its 5g radio to the router, and I can set the static ips on the OpenWRT and they filter down to the devices on the ethernet lan ports on the netgear bridge. It also offers a 2g radio as an extender / AP.

So I know its possible but understand that I have no idea how the netgear software is written / what methods are being used etc as to whether or not protocols allowed for one are the same for the other.

Just to confirm I tried a couple more times by deleting interfaces / devices and setting it up again, but no joy.

So decided to try the relayd method

It seemed to be the less preferred option
" If supported by both devices, consider using WDS or mesh"

But none the less, it worked right away. Which is great, it means the router and bridge will be on the same software now and not quite so reliant on OEM's releasing security / feature updates etc......reliant on developers here and kernel drivers etc, but still happy its a very good change.

Perhaps will re-visit another time (or if anyone replies back with things to try).
For now, calling it a win :slight_smile:

Thanks for help!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.