Advertisement
Guest User

Untitled

a guest
Feb 26th, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  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 'fd38:c0e4:eaec::/48'
  9.  
  10. config interface 'lan'
  11. option type 'bridge'
  12. option ifname 'eth0.1'
  13. option proto 'static'
  14. option ipaddr '192.168.1.3'
  15. option netmask '255.255.255.0'
  16. option gateway '192.168.1.2'
  17. option dns '192.168.1.2'
  18. option ip6assign '60'
  19. option delegate '0'
  20. option stp '1'
  21.  
  22. config switch
  23. option name 'switch0'
  24. option reset '1'
  25. option enable_vlan '1'
  26.  
  27. config switch_vlan
  28. option device 'switch0'
  29. option vlan '1'
  30. option ports '0t 1 2 3 4 5'
  31. option vid '1'
  32.  
  33. config switch_vlan
  34. option device 'switch0'
  35. option vlan '2'
  36. option ports '0t 1t'
  37. option vid '12'
  38.  
  39. config interface 'GAST'
  40. option type 'bridge'
  41. option proto 'none'
  42. option ifname 'eth0.12'
  43. option delegate '0'
  44. option auto '1'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement