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. config globals 'globals'
  7. config device 'br-lan'
  8. option name 'br-lan'
  9. option type 'bridge'
  10. list ports 'lan1'
  11. list ports 'lan2'
  12. list ports 'lan3'
  13. list ports 'lan4'
  14. list ports 'lan5'
  15. list ports 'lan6'
  16. list ports 'lan7'
  17. list ports 'lan8'
  18. config interface 'pub'
  19. option device 'br-lan.100'
  20. option proto dhcp
  21. config bridge-vlan 'pub'
  22. option device 'br-lan'
  23. option vlan '100'
  24. list ports 'lan1:t'
  25. list ports 'lan2:u*'
  26. config interface 'priv'
  27. option device 'br-lan.200'
  28. option proto static
  29. option ipaddr '192.168.2.10'
  30. option netmask '255.255.255.0'
  31. option ip6assign '60'
  32. config bridge-vlan 'priv'
  33. option device 'br-lan'
  34. option vlan '200'
  35. list ports 'lan1:t'
  36. list ports 'lan3:u*'
  37. list ports 'lan4:u*'
  38. list ports 'lan5u*'
  39. list ports 'lan6:u*'
  40. list ports 'lan7:u*'
  41. config interface 'ooma'
  42. option device 'br-lan.300'
  43. option proto 'static'
  44. option ipaddr '192.168.3.10'
  45. option netmask '255.255.255.0'
  46. option ip6assign '60'
  47. config bridge-vlan 'ooma'
  48. option device 'br-lan'
  49. option vlan '300'
  50. list ports 'lan1:t'
  51. list ports 'lan8:u*'