Advertisement
Cookiekiller

/etc/config/network

Nov 22nd, 2021 (edited)
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.39 KB | None | 0 0
  1. config interface 'loopback'
  2. option device 'lo'
  3. option proto 'static'
  4. option ipaddr '127.0.0.1'
  5. option netmask '255.0.0.0'
  6.  
  7. config globals 'globals'
  8. option ula_prefix 'fdf5:d2ca:6c59::/48'
  9.  
  10. config interface 'lan'
  11. option proto 'static'
  12. option ipaddr '192.168.1.1'
  13. option netmask '255.255.255.0'
  14. option ip6assign '60'
  15. option device 'br-lan.5'
  16.  
  17. config device
  18. option name 'wan'
  19. option macaddr '16:91:82:32:88:c8'
  20.  
  21. config interface 'wan'
  22. option device 'wan'
  23. option proto 'dhcp'
  24. option force_link '1'
  25.  
  26. config interface 'wan6'
  27. option device 'wan'
  28. option proto 'dhcpv6'
  29. option reqaddress 'try'
  30. option reqprefix 'auto'
  31. option auto '0'
  32.  
  33. config interface 'WIFI_INTERN'
  34. option proto 'static'
  35. option ipaddr '10.10.200.1'
  36. option netmask '255.255.255.0'
  37. option delegate '0'
  38. option type 'bridge'
  39. list dns '10.10.10.15'
  40. list dns '10.10.10.16'
  41. list dns_search 'intern.xxx.network'
  42.  
  43. config interface 'WIFI_NOINET'
  44. option proto 'static'
  45. option ipaddr '10.10.210.1'
  46. option netmask '255.255.255.0'
  47. list dns '127.0.0.1'
  48. option delegate '0'
  49.  
  50. config interface 'FRITZ'
  51. option proto 'static'
  52. option ipaddr '192.168.178.2'
  53. option netmask '255.255.255.0'
  54. option delegate '0'
  55. option device 'br-lan.50'
  56.  
  57. config route
  58. option interface 'FRITZ'
  59. option target '192.168.178.0'
  60. option netmask '255.255.255.0'
  61. option gateway '192.168.178.1'
  62.  
  63. config interface 'AMAZON'
  64. option proto 'static'
  65. option ipaddr '192.168.40.1'
  66. option netmask '255.255.255.0'
  67. list dns '10.10.10.15'
  68. list dns '10.10.10.16'
  69. option delegate '0'
  70.  
  71. config route
  72. option interface 'lan'
  73. option target '10.10.10.0'
  74. option netmask '255.255.255.0'
  75. option gateway '192.168.1.2'
  76.  
  77. config route
  78. option interface 'lan'
  79. option netmask '255.255.255.0'
  80. option gateway '192.168.1.2'
  81. option target '10.10.20.0'
  82.  
  83. config route
  84. option target '10.10.30.0'
  85. option netmask '255.255.255.0'
  86. option gateway '192.168.1.2'
  87. option interface 'lan'
  88.  
  89. config route
  90. option interface 'lan'
  91. option target '10.10.40.0'
  92. option netmask '255.255.255.0'
  93. option gateway '192.168.1.2'
  94.  
  95. config route
  96. option interface 'lan'
  97. option target '10.10.100.0'
  98. option netmask '255.255.255.0'
  99. option gateway '192.168.1.2'
  100.  
  101. config device
  102. option name 'br-lan'
  103. option type 'bridge'
  104. list ports 'lan1'
  105. list ports 'lan2'
  106. list ports 'lan3'
  107. list ports 'lan4'
  108.  
  109. config bridge-vlan
  110. option device 'br-lan'
  111. option vlan '5'
  112. list ports 'lan1:u*'
  113.  
  114. config bridge-vlan
  115. option device 'br-lan'
  116. option vlan '50'
  117. list ports 'lan4'
  118.  
  119. config bridge-vlan
  120. option device 'br-lan'
  121. option vlan '60'
  122. list ports 'lan3:u*'
  123.  
  124. config bridge-vlan
  125. option device 'br-lan'
  126. option vlan '70'
  127. list ports 'lan3:t'
  128.  
  129. config bridge-vlan
  130. option device 'br-lan'
  131. option vlan '80'
  132. list ports 'lan3:t'
  133.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement