Advertisement
Guest User

LEDE network

a guest
Jul 15th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 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 'fd2f:64c8:36fe::/48'
  9.  
  10. config interface 'lan'
  11. option ifname 'eth0'
  12. option type 'bridge'
  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 'eth1'
  20. option _orig_ifname 'eth1'
  21. option _orig_bridge 'false'
  22. option proto 'static'
  23. option ipaddr 'X.X.X.X'
  24. option netmask '255.255.255.128'
  25. option gateway 'X.X.X.X'
  26. option dns '8.8.8.8 8.8.4.4'
  27.  
  28. config interface 'wan6'
  29. option ifname 'eth1'
  30. option proto 'dhcpv6'
  31.  
  32. config interface 'iptv'
  33. option ifname 'eth0.6'
  34. option proto 'static'
  35. option ipaddr '10.10.99.99'
  36. option netmask '255.255.0.0'
  37. option gateway '10.218.255.254'
  38. option defaultroute '0'
  39. option peerdns '0'
  40.  
  41. config switch
  42. option name 'switch0'
  43. option reset '1'
  44. option enable_vlan '1'
  45.  
  46. config switch_vlan
  47. option device 'switch0'
  48. option vlan '1'
  49. option vid '1'
  50. option ports '1 2 3 5'
  51.  
  52. config switch_vlan
  53. option device 'switch0'
  54. option vlan '2'
  55. option ports '4 6'
  56. option vid '2'
  57.  
  58. config switch_vlan
  59. option device 'switch0'
  60. option vlan '3'
  61. option vid '6'
  62. option ports '0 4t 5t'
  63.  
  64. config route
  65. option interface 'iptv'
  66. option target '224.0.0.0'
  67. option netmask '240.0.0.0'
  68. option gateway '0.0.0.0'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement