Hello, I have 4 AP Mesh Nodes and 2 WAP Mesh Nodes my /etc/config/network is:
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 'MAC'
option packet_steering '1'
config device
option name 'br-default'
option type 'bridge'
list ports 'Switch.1'
list ports 'bat0.1'
config interface 'default'
option device 'br-default'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.1.98'
option gateway '192.168.1.1'
option dns '192.168.1.1'
config device
option type 'bridge'
option name 'Switch'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
list ports 'lan5'
list ports 'wan'
option ipv6 '0'
config bridge-vlan
option device 'Switch'
option vlan '1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
list ports 'wan'
config bridge-vlan
option device 'Switch'
option vlan '3'
list ports 'lan2:t'
list ports 'lan3:t'
list ports 'lan4:t'
list ports 'lan5'
list ports 'wan:t'
config bridge-vlan
option device 'Switch'
option vlan '6'
list ports 'lan2:t'
list ports 'lan3:t'
list ports 'lan4:t'
list ports 'wan:t'
config bridge-vlan
option device 'Switch'
option vlan '20'
list ports 'lan2:t'
list ports 'lan3:t'
list ports 'lan4:t'
list ports 'wan:t'
config bridge-vlan
option device 'Switch'
option vlan '30'
list ports 'lan2:t'
list ports 'lan3:t'
list ports 'lan4:t'
list ports 'wan:t'
config bridge-vlan
option device 'Switch'
option vlan '40'
list ports 'lan2:t'
list ports 'lan3:t'
list ports 'lan4:t'
list ports 'wan:t'
config bridge-vlan
option device 'Switch'
option vlan '31'
list ports 'lan2:t'
list ports 'lan3:t'
list ports 'lan4:t'
list ports 'wan:t'
config bridge-vlan
option device 'Switch'
option vlan '41'
config device
option name 'Switch.1'
option type '8021q'
option ifname 'Switch'
option vid '1'
option ipv6 '0'
config device
option name 'Switch.3'
option type '8021q'
option ifname 'Switch'
option vid '3'
option ipv6 '0'
config device
option name 'Switch.6'
option type '8021q'
option ifname 'Switch'
option vid '6'
option ipv6 '0'
config device
option name 'Switch.20'
option type '8021q'
option ifname 'Switch'
option vid '20'
option ipv6 '0'
config device
option name 'Switch.30'
option type '8021q'
option ifname 'Switch'
option vid '30'
option ipv6 '0'
config device
option name 'Switch.31'
option type '8021q'
option ifname 'Switch'
option vid '31'
option ipv6 '0'
config device
option name 'Switch.40'
option type '8021q'
option ifname 'Switch'
option vid '40'
option ipv6 '0'
config device
option type 'bridge'
option name 'br-oAP'
option ipv6 '0'
list ports 'bat0.3'
list ports 'Switch.3'
config device
option type 'bridge'
option name 'br-mgmt'
list ports 'Switch.6'
option ipv6 '0'
config device
option type 'bridge'
option name 'br-emplo'
option ipv6 '0'
list ports 'bat0.20'
list ports 'Switch.20'
config device
option type 'bridge'
option name 'br-iot'
option ipv6 '0'
list ports 'bat0.30'
list ports 'Switch.30'
config device
option name 'br-Cam'
option type 'bridge'
option ipv6 '0'
list ports 'bat0.31'
list ports 'Switch.31'
config device
option type 'bridge'
option name 'br-guest'
option ipv6 '0'
list ports 'bat0.40'
list ports 'Switch.40'
config interface 'bat0'
option proto 'batadv'
option routing_algo 'BATMAN_IV'
option aggregated_ogms '1'
option ap_isolation '0'
option bonding '0'
option bridge_loop_avoidance '1'
option distributed_arp_table '1'
option fragmentation '1'
option gw_mode 'off'
option hop_penalty '30'
option isolation_mark '0x00000000/0x00000000'
option log_level '0'
option multicast_mode '1'
option multicast_fanout '16'
option network_coding '0'
option orig_interval '1000'
config interface 'batWire'
option proto 'batadv_hardif'
option master 'bat0'
option device 'br-mgmt'
option mtu '1536'
config interface 'bMesh5g'
option proto 'batadv_hardif'
option master 'bat0'
option mtu '1536'
config interface 'bMesh2g'
option proto 'batadv_hardif'
option master 'bat0'
option mtu '1536'
config interface 'oAP_net'
option proto 'none'
option device 'br-oAP'
option defaultroute '0'
config interface 'Employee'
option proto 'none'
option device 'br-emplo'
option defaultroute '0'
config interface 'IoT'
option proto 'none'
option device 'br-iot'
option defaultroute '0'
config interface 'Cam'
option proto 'none'
option device 'br-Cam'
option defaultroute '0'
config interface 'GUEST'
option proto 'none'
option device 'br-guest'
option defaultroute '0'
How do I enable access to Internet for the clients on the WAPs ?
batctl p - I can ping my nodes
batctl o - I can see the other nodes
batctl tr - traceroute also
ping from node is possible
traceroute from node too,
but the connected clients could not access the internet
I used In the beginning I used for the config https://youtu.be/t4A0kfg2olo form OneMarcFifthy but then I removed the luci-proto-batman-adv
and followed this guide https://cgomesu.com/blog/Mesh-networking-openwrt-batman/