Advertisement
Guest User

Untitled

a guest
Mar 7th, 2018
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 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 'fdb6:ba83:0e6a::/48'
  9.  
  10. config interface 'lan'
  11. option type 'bridge'
  12. option proto 'static'
  13. option ipaddr '192.168.1.1'
  14. option netmask '255.255.255.0'
  15. option ip6assign '60'
  16. option _orig_ifname 'eth0'
  17. option _orig_bridge 'true'
  18. option ifname 'eth0'
  19. option gateway '192.168.0.30'
  20. option dns '192.168.0.30'
  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 '0 1 2 3 4'
  31.  
  32. config interface 'wan'
  33. option _orig_ifname 'wlan0'
  34. option _orig_bridge 'false'
  35. option proto 'static'
  36. option ipaddr '192.168.0.30'
  37. option netmask '255.255.255.0'
  38. option gateway '192.168.0.1'
  39. option dns '192.168.0.1'
  40.  
  41. config route
  42. option interface 'lan'
  43. option target '192.168.1.1'
  44. option netmask '255.255.255.0'
  45. option gateway '192.168.0.30'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement