Hello guys,
I am trying to create a Mesh network based on Batman-adv with TP-Link Archer C7 devices. I have created the batman device and I am able to ping my Mesh nodes via batctl. Unfortunately I can not ping my nodes on the Lan Interface.
environment:
2 archer c7 router running OpenWRT 21.01 from this build here
I have already found the guide by @cgomesu and went trough it. Somewhere I did a mistake but I am unable to figure out where. I have already tried to bridge all devices into the br-lan device to get the config up an running, but I am still failing.
For now I want to archive the following:
fritzbox is 192.168.1.1
corerouter is 192.168.1.2
AP01 is 192.168.1.3
the corerouter should perform as DNS/DHCP server in a first step providing those services to my lan. It is cabled to my fritzbox which will perform as the WAN gateway. Later on I would like to enable guest access on fritzbox guest network, but for now I will go with the bare config of a single network.
I want to have a Bridge-Bridge scenario - but my Lan- Bridge will not work on corerouter and ap. Here my /etc/config/network file:
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth1.1'
config interface 'lan'
option device 'br-lan'
ifname 'eth 1.1 bat0'
option proto 'static'
list ipaddr '192.168.1.2/24'
option gateway '192.168.1.1'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 5 6t 0t'
config interface 'bat0'
option proto 'batadv'
option routing_algo 'BATMAN_IV'
option aggregated_ogms '1'
option ap_isolation '0'
option bonding '0'
option fragmentation '1'
option gw_mode 'off'
option log_level '0'
option orig_interval '1000'
option bridge_loop_avoidance '1'
option distributed_arp_table '1'
option multicast_mode '1'
option network_coding '0'
option hop_penalty '30'
option isolation_mark '0x00000000/0x00000000'
thanks in advance for your help!
regards
Carsten