From 8b1f5f783d2379b38d68be6a92fdefc566911921 Mon Sep 17 00:00:00 2001 From: "Er.Adam Eehan" Date: Wed, 11 Nov 2026 14:07:52 +0530 Subject: [PATCH] Create network --- mesh/openwrt/config/network | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 mesh/openwrt/config/network diff --git a/mesh/openwrt/config/network b/mesh/openwrt/config/network new file mode 100644 index 0000000..f285071 --- /dev/null +++ b/mesh/openwrt/config/network @@ -0,0 +1,22 @@ +config interface 'bat0_hardif' + option proto 'batadv_hardif' + option master 'bat0' + option mtu '1532' + +config interface 'bat0' + option proto 'batadv' + option routing_algo 'BATMAN_IV' + option bridge_loop_avoidance '1' + option gw_mode 'client' + +config interface 'lan' + option device 'br-lan' + option proto 'static' + option ipaddr '10.10.0.2' + option netmask '255.255.0.0' + option ip6assign '60' + +config device + option name 'br-lan' + option type 'bridge' + list ports 'bat0'