Developing lightweight computation at the DSG edge

Commit 8a67a63d authored by p4u's avatar p4u
Browse files

Clean obsolete options. Remove throw rules options. Add new Rule option for bmx6-tunnels

parent eb0e6ba0
## this config should work for Routerstation(PRO), Alix, Fonera, ...
#
# Contributors:
# Simó Albert i Beltran
#
config 'qmp' 'interfaces'
# option 'configure_switch' 'eth0' # (uncomment line if available, e.g. WGT634U)
option 'lan_devices' 'eth0 wlan1 dummy0' # will be used as is!
option 'wan_devices' 'eth1' # will be used as is!
option 'mesh_devices' 'wlan0 wlan2 eth0 eth1' # will be extended by vlan tag!
# option 'configure_switch' 'eth0' # (uncomment line if available, e.g. WGT634U)
option 'lan_devices' 'eth0 wlan1 dummy0' # will be used for LAN
option 'wan_devices' 'eth1' # will be used for WAN
option 'mesh_devices' 'wlan0 wlan2 eth0 eth1' # will be extended by vlan tag for by uses as Mesh
# option 'no_vlan_devices' '' # interfaces which won't be vlan tagged
config 'qmp' 'node'
option 'primary_device' 'eth0'
......@@ -25,43 +19,37 @@ config 'qmp' 'update'
option 'preserve' '/etc/config/qmp /etc/shadow /etc/passwd /etc/rc.local /etc/firewall.user /etc/dropbear/* /etc/config/b6m-spread'
config 'qmp' 'non_overlapping'
option 'ignore' '0' # Each node assings a non-overlapping DHCP IPv4 ranges over a /16 network on lan device
option 'dhcp_offset' '2'
option 'qmp_leasetime' '1h'
# Each node assings a non-overlapping DHCP IPv4 ranges over a /16 network on lan device
option 'ignore' '0'
option 'dhcp_offset' '2'
option 'qmp_leasetime' '1h'
config 'qmp' 'networks'
option 'dns' '141.1.1.1 85.126.4.170 202.83.95.227'
option 'lan_address' '172.30.22.1'
option 'lan_netmask' '255.255.255.0'
#option 'publish_lan' '0'
#option 'niit_prefix96' '0:0:0:0:0:ffff' # omit trailing 32 ipv4 bits !
option 'mesh_protocol_vids' 'olsr6:1 bmx6:2' # means olsr6 use vlantag 10+1, bmx6 use vlantag 10+2
option 'mesh_vid_offset' '10'
option 'dns' '141.1.1.1 85.126.4.170 202.83.95.227'
option 'lan_address' '172.30.22.1'
option 'lan_netmask' '255.255.255.0'
#option 'publish_lan' '0' # deprecated
option 'mesh_protocol_vids' 'olsr6:1 bmx6:2' # means olsr6 use vlantag 10+1, bmx6 use vlantag 10+2
option 'mesh_vid_offset' '10'
option 'rescue_prefix24' '169.254' # rescue network prefix, the 16 missing bits are taken from device MAC
option 'olsr6_mesh_prefix48' 'fd01:0:0'
option 'olsr6_ripe_prefix48' '2011:0:0'
option 'bmx6_mesh_prefix48' 'fd02:0:0'
option 'bmx6_ripe_prefix48' '2012:0:0' # suffix is autoconfigured based on community_node_id
option 'bmx6_ipv4_prefix24' '10.202.0' # last 8 bits are autoconfigured based on MAC
# option 'bmx6_ipv4_address' '' # specify it if you want to have a specific IPv4 address
# Deprecated
# option 'bmx6_tablePrefTuns' '7000'
# option 'bmx6_tableTuns' '70'
# option 'bmx6_throwRules' '1'
option 'olsr6_mesh_prefix48' 'fd01:0:0'
option 'olsr6_ripe_prefix48' '2011:0:0'
option 'olsr6_ipv4_prefix24' '10.201'
# option 'olsr6_ipv4_address' '10.201.9.01'
# option 'olsr6_ipv4_netmask' '255.255.255.0'
# option 'olsr6_6to4_netmask' '120'
option 'bmx6_mesh_prefix48' 'fd02:0:0'
option 'bmx6_ripe_prefix48' '2012:0:0' # suffix is autoconfigured based on community_node_id
option 'bmx6_ipv4_prefix24' '10.202.0'
# option 'bmx6_ipv4_address' '10.202.9.01/24' # if commented out then option is autoconfigured based on
# community_node_id and bmx6_ipv4_prefix
option 'bmx6_tablePrefTuns' '7000'
option 'bmx6_tableTuns' '70'
option 'bmx6_throwRules' '1'
option 'babel_mesh_prefix48' 'fd03:0:0'
option 'netserver' '1'
config 'gateway'
option 'type' 'search'
option 'network' '::/0'
option 'tableRule' '32767/253'
config 'gateway'
option 'ignore' '1'
......@@ -73,6 +61,7 @@ config 'gateway'
option 'type' 'search'
option 'network' '0.0.0.0/0'
option 'maxPrefixLen' '0'
option 'tableRule' '32767/253'
config 'gateway'
option 'ignore' '1'
......@@ -109,8 +98,8 @@ config 'gateway'
option 'exportDistance' '10'
config 'qmp' 'wireless'
option 'driver' 'mac80211'
option 'country' 'SP'
option 'bssid' '02:CA:FF:EE:BA:BE'
option 'driver' 'mac80211'
option 'country' 'SP'
option 'bssid' '02:CA:FF:EE:BA:BE'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment