<feed xmlns='http://www.w3.org/2005/Atom'>
<title>routing/batman-adv/files/etc/uci-defaults, branch master</title>
<subtitle>Mirror of routing feed</subtitle>
<id>https://git.openwrt.org/feed/routing/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/routing/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/routing/'/>
<updated>2026-08-11T11:30:34Z</updated>
<entry>
<title>batman-adv: remove package, moved to openwrt/packages</title>
<updated>2026-08-11T11:30:34Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-06T08:11:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/routing/commit/?id=9bc36eac82486cc8f06b18db55ca0384faf0266f'/>
<id>urn:sha1:9bc36eac82486cc8f06b18db55ca0384faf0266f</id>
<content type='text'>
The package has been moved to the openwrt/packages feed, as
discussed in https://github.com/openwrt/routing/issues/184.

See https://github.com/openwrt/packages/pull/30164.

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
Co-authored-by: Claude Fable 5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>batman-adv: update to version 2025.4</title>
<updated>2025-10-25T07:48:35Z</updated>
<author>
<name>Sven Eckelmann</name>
</author>
<published>2025-10-25T07:48:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/routing/commit/?id=bbc3aab7d885ae90fbf745e0a0d23a5e5493e8f8'/>
<id>urn:sha1:bbc3aab7d885ae90fbf745e0a0d23a5e5493e8f8</id>
<content type='text'>
* support latest kernels (5.4 - 6.18)
* removed network coding (C.A.T.W.O.M.A.N.) support
* coding style cleanups and refactoring
* bugs squashed:
  - release references to inactive interfaces on netlink queries

Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
</entry>
<entry>
<title>batman-adv: Fix uci commit target</title>
<updated>2019-03-19T18:49:27Z</updated>
<author>
<name>Adrian Schmutzler</name>
</author>
<published>2019-03-19T18:49:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/routing/commit/?id=1a22e00eeb934ffa0162765841c4493660661cce'/>
<id>urn:sha1:1a22e00eeb934ffa0162765841c4493660661cce</id>
<content type='text'>
Although batman-adv config is cycled in config_foreach, changes
are made in the network config. Thus, this one has to be committed.

Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
</content>
</entry>
<entry>
<title>batman-adv: Split batadv proto in meshif and hardif part</title>
<updated>2019-03-07T16:01:09Z</updated>
<author>
<name>Sven Eckelmann</name>
</author>
<published>2019-02-24T16:51:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/routing/commit/?id=54af5a209e0a0a75b5eb712c0ca8056e66de02c0'/>
<id>urn:sha1:54af5a209e0a0a75b5eb712c0ca8056e66de02c0</id>
<content type='text'>
batman-adv allows to configure three different objects:

* batadv hardif

  - network interface used by batadv meshif to transport the batman-adv
    packets
  - its master interface is set to the batadv meshif

* batadv (meshif/softif)

  - virtual interface that emulates a normal 802.3 interface on top
  - encapsulates traffic and forwards it via the batadv hardifs

* batadv vlan

  - potential VLAN ID on top of batadv meshif
  - allows filtering of traffic from specific VIDs

While batadv vlan objects were already represented as an own proto
"batadv_vlan", the batadv meshif could never be fully configured using
/etc/config/network. Instead, parts of its configuration were stored in
/etc/config/batman_adv and some in the interfaces with the "batadv" proto.

To increase the confusion, the "batadv" proto wasn't used to define the
batadv meshif but to identify batadv (slave) hardifs. The batman-adv
meshifs were also never created directly but only when a hardif was
configured. The actual modification of the configuration settings was then
applied using a hotplug script hack. The batadv meshif network interface
could therefore only be created when an hardif was available and not
manipulated with ifup/ifdown. Also `/etc/init.d/network reload` didn't
modify the batadv meshif interface configuration correctly.

The "batadv" is now renamed to "batadv_hardif" and a new "batadv" proto is
used to configure the main (meshif) network interface with all its
configuration.

A simple network configuration with WiFi &amp; ethernet interfaces and static
IP on top of bat0 would look like:

  # batadv meshif bat0
  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_bandwidth '10000/2000'
  	option gw_mode 'off'
  	#option gw_sel_class 20
  	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'

  # add *single* wifi-iface with network bat0_hardif_wlan as hardif to bat0
  config interface 'bat0_hardif_wlan'
  	option mtu '1536'
  	option proto 'batadv_hardif'
  	option master 'bat0'
  	# option ifname is filled out by the wifi-iface

  # add eth0 as hardif to bat0
  config interface 'bat0_hardif_eth0'
  	option proto 'batadv_hardif'
  	option master 'bat0'
  	option ifname 'eth0'
  	option mtu '1536'

  # configure IP on bat0
  config interface 'bat0_lan'
  	option ifname 'bat0'
  	option proto 'static'
  	option ipaddr '192.168.1.1'
  	option netmask '255.255.255.0'
  	option ip6assign '60'

Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
</entry>
</feed>
