Skip to content

Babeld

Babel

Reference

Default options

Default configuration stored in /etc/config/babeld.

config general 'general'
	option local_port '30003'
	option ubus_bindings 'true'

config filter 'ula6'
	option type 'redistribute'
	option ip 'fc00::/7'
	option action 'allow'

config filter 'public6'
	option type 'redistribute'
	option ip '2000::0/3'
	option action 'allow'

config filter 'default6'
	option type 'redistribute'
	option ip '0::0/0'
	option le '0'
	option action 'allow'
	option proto '7'

config filter 'mesh4'
	option type 'redistribute'
	option ip '10.0.0.0/8'
	option action 'allow'

config filter 'mptp4'
	option type 'redistribute'
	option ip '172.16.0.0/12'
	option action 'allow'

config filter 'default4'
	option type 'redistribute'
	option ip '0.0.0.0/0'
	option le '0'
	option action 'allow'
	option proto '7'

config filter 'localdeny'
	option type 'redistribute'
	option local 'true'
	option action 'deny'

config filter 'denyany'
	option type 'redistribute'
	option action 'deny'

Examples


ubus

list commands

ubus -v list babeld
'babeld' @98e57cc3
	"add_interface":{"ifname":"String"}
	"add_filter":{"ifname":"String","type":"Integer","metric":"Integer"}
	"get_info":{}
	"get_xroutes":{}
	"get_routes":{}
	"get_neighbours":{}

get_info

ubus call babeld get_info
{
	"babeld_version": "babeld-1.13.1-ubus-mod",
	"my_id": "22:05:b7:ff:fe:00:04:80",
	"host": "openwrt"
}