Advertisement
Guest User

Untitled

a guest
Jun 25th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. config interface 'lan'
  2. option type 'bridge'
  3. option ifname 'eth0.1'
  4. option proto 'static'
  5. option ipaddr '192.168.1.1'
  6. option netmask '255.255.255.0'
  7. option ip6assign '60'
  8.  
  9. config interface 'wan'
  10. option ifname 'eth0.2'
  11. option proto 'dhcp'
  12.  
  13. config interface 'wan6'
  14. option ifname 'eth0.2'
  15. option proto 'dhcpv6'
  16.  
  17. config switch
  18. option name 'switch0'
  19. option reset '1'
  20. option enable_vlan '1'
  21.  
  22. config switch_vlan
  23. option device 'switch0'
  24. option vlan '1'
  25. option ports '1 2 3 4 0t'
  26.  
  27. config interface '4g'
  28. option disable '0'
  29. option proto 'dhcp'
  30. option ifname 'wwan0'
  31. option apn 'internet'
  32.  
  33. config switch
  34. option name 'switch0'
  35. option reset '1'
  36. option enable_vlan '1'
  37.  
  38. config switch_vlan
  39. option device 'switch0'
  40. option vlan '1'
  41. option ports '0 1 2 3 5 6t'
  42.  
  43. config switch_vlan
  44. option device 'switch0'
  45. option vlan '2'
  46. option ports '4 6t'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement