Advertisement
Guest User

Untitled

a guest
Dec 29th, 2017
97
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 'fdc6:9231:52a5::/48'
  9.  
  10. config interface 'lan'
  11. option type 'bridge'
  12. option ifname 'eth0'
  13. option proto 'static'
  14. option netmask '255.255.255.0'
  15. option ip6assign '60'
  16. option ipaddr '192.168.1.1'
  17.  
  18. config interface 'wan'
  19. option ifname 'eth1'
  20. option proto 'dhcp'
  21.  
  22. config interface 'wan6'
  23. option ifname 'eth1'
  24. option proto 'dhcpv6'
  25.  
  26. config switch
  27. option name 'switch0'
  28. option reset '1'
  29. option enable_vlan '1'
  30.  
  31. config switch_vlan
  32. option device 'switch0'
  33. option vlan '1'
  34. option ports '0 1 2 3 5'
  35.  
  36. config switch_vlan
  37. option device 'switch0'
  38. option vlan '2'
  39. option ports '4 6'
Advertisement
RAW Paste Data Copied
Advertisement