Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 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 'fd5c:f84d:d8f2::/48'
  9.  
  10. config interface 'lan'
  11. option type 'bridge'
  12. option ifname 'eth1'
  13. option proto 'static'
  14. option ipaddr '192.168.1.1'
  15. option netmask '255.255.255.0'
  16. option ip6assign '60'
  17.  
  18. config interface 'wan'
  19. option ifname 'eth0'
  20. option proto 'dhcp'
  21. option type 'bridge'
  22.  
  23. config interface 'wan6'
  24. option ifname 'eth0'
  25. option proto 'dhcpv6'
  26. option type 'bridge'
  27.  
  28. config switch
  29. option name 'switch0'
  30. option reset '1'
  31. option enable_vlan '1'
  32.  
  33. config switch_vlan
  34. option device 'switch0'
  35. option vlan '1'
  36. option ports '2 3 4 5 0'
  37.  
  38. config switch_vlan
  39. option device 'switch0'
  40. option vlan '2'
  41. option ports '1 6'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement