Mesh configuration

Hello everyone.

Good evening.

I'm looking to configure my home network.

I have an edge firewall that receives internet from my ISP's modem via bridge.

It has an active DHCP server, distributing IPs on the network, firewall rules, and forwarding the internet to an SFP+ switch.

From this switch, cables go to desktops, servers, as well as two cables, one each to one OpenWRT dumb AP.

One Redmi AX6, configured as an OpenWRT dumb AP, near the pfSense, with IP 192.168.10.110;

Another Redmi AX6, configured as an OpenWRT dumb AP, further away, with IP 192.168.10.111;

I want to add another OpenWRT dumb AP. I have a Ubiquiti Aircube with OpenWRT already installed, currently connected via network cable to a desktop with IP 192.168.1.1, but I can't run another cable to use it.

I want this access point to connect to the nearest access point at 192.168.10.111 and share the internet wirelessly.

I asked an artificial intelligence to help me, but it's giving me a constant error and I can't fully configure it.

I will forward the configuration files for analysis.

Please help me.

#network ip 192.168.10.111

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 'fd2d:43d5:1199::/48'
option dhcp_default_duid '00043f5620768eb245efb0c7e54066215ae3'

config device 'device_lan'
option name 'br-lan'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
option type 'bridge'

config interface 'lan'
option device 'br-lan'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.10.111'
option gateway '192.168.10.1'
option delegate '0'
list dns '192.168.10.253'

config interface 'wan'
option device 'wan'
option proto 'dhcp'
option auto '0'

config interface 'wan6'
option device 'wan'
option proto 'dhcpv6'
option auto '0'
option reqaddress 'try'
option reqprefix 'auto'

#wireless 192.168.10.111

config wifi-device 'radio0'
option type 'mac80211'
option path 'platform/soc@0/c000000.wifi'
option band '5g'
option htmode 'HE80'
option cell_density '0'
option channel '36'
option country 'BR'

config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid '<REDE _PRINCIPAL>'
option encryption 'sae-mixed'
option key '<SENHA>'
option ieee80211r '1'
option mobility_domain '8D62'
option ft_over_ds '1'
option ft_psk_generate_local '1'
option ieee80211w '1'

config wifi-device 'radio1'
option type 'mac80211'
option path 'platform/soc@0/c000000.wifi+1'
option channel '11'
option band '2g'
option htmode 'HE20'
option cell_density '0'
option country 'BR'
option txpower '30'

config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option encryption 'psk2'
option key '<SENHA>'
option ssid '<REDE_ALTERNATIVA_IOT>'

config wifi-iface 'roam_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid '<REDE_PRINCIPAL>'
option encryption 'sae-mixed'
option key '<SENHA>'
option ieee80211r '1'
option mobility_domain '8D62'
option ft_over_ds '1'
option ft_psk_generate_local '1'
option ieee80211w '1'

config wifi-iface 'mesh_backhaul'
        option device 'radio0'         
        option network 'lan'
        option mode 'mesh'
        option mesh_id 'MeshBackhaul'
        option encryption 'sae'      
        option key '<SENHA>'
        option mesh_fwding '1'

#netwtork ubiquiti

config interface 'loopback'
option device 'lo'
option proto 'static'
list ipaddr '127.0.0.1/8'

config globals 'globals'
option dhcp_default_duid '0004ac05b1c05a334a8ab64224b600644bd7'
option ula_prefix 'fd3f:10c9:599c::/48'

config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0.1'

config interface 'lan'
option device 'br-lan'
option proto 'static'
list ipaddr '192.168.1.1/24'
option ip6assign '60'

config interface 'wan'
option device 'eth0.2'
option proto 'dhcp'

config interface 'wan6'
option device 'eth0.2'
option proto 'dhcpv6'

config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'

config switch_vlan
option device 'switch0'
option vlan '1'
option ports '2 3 5 0t'

config switch_vlan
option device 'switch0'
option vlan '2'
option ports '4 0t'

#wireless ubiquiti

config wifi-device 'radio0'
option type 'mac80211'
option path 'pci0000:00/0000:00:00.0'
option band '5g'
option channel '36'
option htmode 'VHT80'

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

config wifi-device 'radio1'
option type 'mac80211'
option path 'platform/ahb/18100000.wmac'
option band '2g'
option channel '1'
option htmode 'HT20'

config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'
option disabled '1'

Please help me.

[admin edit - removed ai content per community guidelines]

Anyone? Please.

Your title is a bit misleading as what you describe is not a mesh.
Yes, you could create a wireless link using 802.11s mesh for that one remote access point.
But there are numerous other ways to do it too.
So I am not surprised your "AI" had some hallucinations in an attempt to give you an answer to what is actually the wrong question.

You are really looking for a way to extend your wireless network without using an ethernet cable.

I would recommend reading the user guide sections on wifi extenders first, then come back if you need to with any questions you may have.

2 Likes