Advertisement
grzesiek11

Untitled

Jul 15th, 2021
187
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
  7. config globals 'globals'
  8. option ula_prefix 'fda6:a272:1e86::/48'
  9.  
  10. config interface 'lan'
  11. option type 'bridge'
  12. option proto 'static'
  13. option ipaddr '192.168.1.1'
  14. option netmask '255.255.255.0'
  15. option ip6assign '60'
  16. option ifname 'eth0.10 eth1'
  17.  
  18. config interface 'wan'
  19. option proto 'static'
  20. option netmask '255.255.255.0'
  21. option gateway '192.168.100.1'
  22. list dns '9.9.9.9'
  23. list dns '1.1.1.1'
  24. list dns '8.8.8.8'
  25. option ifname 'eth0.11'
  26. option ipaddr '192.168.100.2'
  27.  
  28. config interface 'wan6'
  29. option ifname 'eth0.11'
  30. option proto 'dhcpv6'
  31. option reqaddress 'try'
  32. option reqprefix 'auto'
  33.  
  34. config switch
  35. option name 'switch0'
  36. option reset '1'
  37. option enable_vlan '1'
  38.  
  39. config interface 'guest'
  40. option proto 'static'
  41. option netmask '255.255.255.0'
  42. option ipaddr '192.168.2.1'
  43.  
  44. config switch_vlan
  45. option device 'switch0'
  46. option vlan '1'
  47. option vid '10'
  48. option ports '0t 1 2 3'
  49.  
  50. config switch_vlan
  51. option device 'switch0'
  52. option vlan '2'
  53. option vid '11'
  54. option ports '0t 4'
Advertisement
RAW Paste Data Copied
Advertisement