Advertisement
grzesiek11

Untitled

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