Advertisement
Guest User

Untitled

a guest
Jul 20th, 2022
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 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 'fd64:b60d:a704::/48'
  9.  
  10. config device 'switch'
  11. option name 'switch'
  12. option type 'bridge'
  13. option macaddr 'xx:xx:xx:xx:xx:xx'
  14.  
  15. config bridge-vlan 'wan_vlan'
  16. option device 'switch'
  17. option vlan '1'
  18. option ports 'lan1 lan2 lan3 lan4 lan5 lan6 lan7 lan8'
  19.  
  20. config device
  21. option name 'switch.1'
  22. option macaddr 'xx:xx:xx:xx:xx:xx'
  23.  
  24. config interface 'wan'
  25. option device 'switch.1'
  26. option proto 'dhcp'
  27.  
  28. config interface 'wan6'
  29. option device 'switch.1'
  30. option proto 'dhcpv6'
  31.  
  32. config bridge-vlan 'lan_vlan'
  33. option device 'switch'
  34. option vlan '100'
  35. option ports 'lan1:t'
  36.  
  37. config device
  38. option name 'switch.100'
  39. option macaddr 'xx:xx:xx:xx:xx:xx'
  40.  
  41. config interface 'lan'
  42. option device 'switch.100'
  43. option proto 'static'
  44. option ipaddr '192.168.1.1'
  45. option netmask '255.255.255.0'
  46. option ip6assign '60'
  47.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement