Advertisement
Guest User

network

a guest
Sep 4th, 2020
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1.  
  2. config interface 'loopback'
  3. option ifname 'lo'
  4. option proto 'static'
  5. option ipaddr '127.0.0.1'
  6. option netmask '255.0.0.0'
  7.  
  8. config globals 'globals'
  9. option ula_prefix 'fd3e:ccbc:5fa9::/48'
  10.  
  11. config interface 'lan'
  12. option type 'bridge'
  13. option ifname 'eth0.1'
  14. option proto 'static'
  15. option ipaddr '192.168.1.1'
  16. option netmask '255.255.255.0'
  17. option ip6assign '60'
  18. option igmp_snooping '1'
  19.  
  20. config interface 'wan'
  21. option ifname 'eth0.2'
  22. option proto 'dhcp'
  23.  
  24. config interface 'wan6'
  25. option ifname 'eth0.2'
  26. option proto 'dhcpv6'
  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 0t'
  37.  
  38. config switch_vlan
  39. option device 'switch0'
  40. option vlan '2'
  41. option ports '1 0t'
  42.  
  43. config switch_vlan
  44. option device 'switch0'
  45. option vlan '4'
  46. option ports '1t 0t'
  47.  
  48. config interface 'IPTV'
  49. option ifname 'eth0.4'
  50. option proto 'dhcp'
  51. option defaultroute '0'
  52. option reqopts 'staticroutes msstaticroutes'
  53.  
  54. config route
  55. option target '1.1.1.1'
  56. option interface 'IPTV'
  57.  
  58.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement