FF-DO-BB-LA-kern.etc_config_network 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. config interface 'loopback'
  2. option ifname 'lo'
  3. option proto 'static'
  4. option ipaddr '127.0.0.1'
  5. option netmask '255.0.0.0'
  6. config globals 'globals'
  7. option ula_prefix 'fdd9:6443:341a::/48'
  8. config interface 'wan6'
  9. option proto 'dhcpv6'
  10. option sourcefilter '0'
  11. option ifname 'br-wan'
  12. option ip6table '1'
  13. option peerdns '0'
  14. config switch
  15. option name 'switch0'
  16. option reset '1'
  17. option enable_vlan '1'
  18. config switch_vlan
  19. option device 'switch0'
  20. option vlan '1'
  21. option ports '0t 1 2'
  22. config switch_vlan
  23. option device 'switch0'
  24. option vlan '2'
  25. option ports '5 6'
  26. config switch_vlan
  27. option device 'switch0'
  28. option vlan '3'
  29. option ports '0t 3 4t'
  30. option vid '2005'
  31. config switch_vlan
  32. option device 'switch0'
  33. option vlan '4'
  34. option ports '0t 2 4t'
  35. option vid '2010'
  36. config switch_vlan
  37. option device 'switch0'
  38. option vlan '5'
  39. option ports '0t 4t'
  40. option vid '2020'
  41. config switch_vlan
  42. option device 'switch0'
  43. option vlan '6'
  44. option ports '0t 4t'
  45. option vid '2021'
  46. config switch_vlan
  47. option device 'switch0'
  48. option vlan '7'
  49. option ports '0t 4t'
  50. option vid '2023'
  51. config interface 'vlan2005'
  52. option proto 'static'
  53. option ifname 'eth1.2005'
  54. option ipaddr '172.24.1.9'
  55. option netmask '255.255.0.0'
  56. config interface 'vlan2010'
  57. option mtu '1500'
  58. option ifname 'eth1.2010'
  59. option macaddr 'de:ff:d0:bb:01:00'
  60. option proto 'gluon_mesh'
  61. option fixed_mtu '1'
  62. config interface 'vlan2020'
  63. option mtu '1500'
  64. option ifname 'eth1.2020'
  65. option macaddr 'de:ff:d0:bb:01:01'
  66. option proto 'gluon_mesh'
  67. option fixed_mtu '1'
  68. config interface 'vlan2021'
  69. option mtu '1500'
  70. option ifname 'eth1.2021'
  71. option macaddr 'de:ff:d0:bb:01:02'
  72. option proto 'gluon_mesh'
  73. option fixed_mtu '1'
  74. config interface 'vlan2023'
  75. option mtu '1500'
  76. option ifname 'eth1.2023'
  77. option macaddr 'de:ff:d0:bb:01:03'
  78. option proto 'gluon_mesh'
  79. option fixed_mtu '1'
  80. config interface 'wan'
  81. option ifname 'eth0'
  82. option multicast_querier '0'
  83. option peerdns '0'
  84. option auto '1'
  85. option type 'bridge'
  86. option proto 'dhcp'
  87. option macaddr '8e:d0:96:f9:6c:b8'
  88. option igmp_snooping '1'
  89. config rule6 'wan6_lookup'
  90. option mark '0x01/0x01'
  91. option lookup '1'
  92. config route6 'wan6_unreachable'
  93. option type 'unreachable'
  94. option table '1'
  95. option target '::/0'
  96. option metric '65535'
  97. option gateway '::'
  98. option interface 'loopback'
  99. config interface 'mesh_wan'
  100. option ifname 'br-wan'
  101. option auto '0'
  102. option transitive '1'
  103. option fixed_mtu '1'
  104. option proto 'gluon_mesh'
  105. config interface 'mesh_lan'
  106. option igmp_snooping '0'
  107. option ifname 'eth1'
  108. option transitive '1'
  109. option fixed_mtu '1'
  110. option proto 'gluon_mesh'
  111. option type 'bridge'
  112. option macaddr '8e:d0:96:f9:6c:bc'
  113. option auto '0'
  114. config interface 'mesh_vpn'
  115. option ifname 'mesh-vpn'
  116. option transitive '1'
  117. option macaddr '8e:d0:96:f9:6c:bf'
  118. option fixed_mtu '1'
  119. option proto 'gluon_mesh'
  120. option mtu '1280'
  121. config interface 'ibss_radio0'
  122. option proto 'gluon_mesh'
  123. config interface 'client'
  124. option igmp_snooping '1'
  125. option type 'bridge'
  126. option auto '1'
  127. option multicast_querier '1'
  128. option macaddr '18:a6:f7:b0:ae:ac'
  129. list ifname 'bat0'
  130. list ifname 'eth1'
  131. list ifname 'local-port'
  132. option ipv6 '1'
  133. option keep_ra_dnslifetime '1'
  134. option sourcefilter '0'
  135. option peerdns '0'
  136. option robustness '3'
  137. option reqprefix 'no'
  138. option query_interval '2000'
  139. option query_response_interval '500'
  140. option proto 'dhcpv6'
  141. config device 'local_node_dev'
  142. option type 'veth'
  143. option name 'local-node'
  144. option peer_name 'local-port'
  145. option macaddr '02:ff:d0:09:ff:02'
  146. option peer_macaddr '18:a6:f7:b0:ae:ac'
  147. config interface 'local_node'
  148. option ifname 'local-node'
  149. option ipaddr '10.233.254.254/16'
  150. option ip6addr '2a03:2260:300a:1000::ffd0/128'
  151. option ip6deprecated '1'
  152. option proto 'static'
  153. config interface 'gluon_bat0'
  154. option proto 'gluon_bat0'
  155. config interface 'bat0'
  156. option multicast_router '2'
  157. option ifname 'bat0'
  158. option auto '1'
  159. option macaddr '18:a6:f7:b0:ae:ac'
  160. option learning '1'
  161. option proto 'none'
  162. config route6 'local_node_route6'
  163. option target '2a03:2260:300a:1000::/64'
  164. option gateway '::'
  165. option interface 'client'