VodkaTam

Untitled

Sep 25th, 2023
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 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 'fd::/48'
  9.  
  10. config device 'brlan_dev'
  11. option name 'br-lan'
  12. option type 'bridge'
  13. list ports 'eth0.1'
  14. list ports 'eth0.2'
  15.  
  16. config interface 'lan'
  17. option device 'br-lan'
  18. option proto 'static'
  19. option netmask '255.255.255.0'
  20. option ipaddr '192.168.4.247'
  21. option ip6assign '128'
  22. option ip6ifaceid '::0'
  23. option dns '192.168.4.253 '
  24. option gateway '192.168.4.253'
  25.  
  26. config device 'wan_eth0_2_dev'
  27. option name 'eth0.2'
  28. option macaddr 'f4:'
  29.  
  30. config interface 'wan6'
  31. option device 'eth0.2'
  32. option proto 'none'
  33.  
  34. config switch
  35. option name 'switch0'
  36. option reset '1'
  37. option enable_vlan '0'
  38.  
  39. config switch
  40. option name 'switch1'
  41. option reset '1'
  42. option enable_vlan '1'
  43.  
  44. config switch_vlan
  45. option device 'switch1'
  46. option vlan '1'
  47. option ports '1 2 3 4 6t'
  48.  
  49. config switch_vlan
  50. option device 'switch1'
  51. option vlan '2'
  52. option ports '0 6t'
Advertisement
Add Comment
Please, Sign In to add comment