Advertisement
Guest User

uci network

a guest
Mar 6th, 2014
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 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 interface 'lan'
  8. option ifname 'eth0.1'
  9. option type 'bridge'
  10. option proto 'static'
  11. option ipaddr '10.28.88.1'
  12. option netmask '255.255.255.0'
  13. option ip6addr '2001:470:79B6:88::1/64'
  14.  
  15. config interface 'wan'
  16. option ifname 'eth0.9'
  17. option proto 'dhcp'
  18.  
  19. config interface 'mesh3'
  20. option ifname 'eth0.3'
  21. option proto 'static'
  22. option ipaddr '172.28.3.11'
  23. option netmask '255.255.255.0'
  24. option ip6addr '2001:470:79b6:1::3:11/128'
  25.  
  26. config interface 'mesh4'
  27. option ifname 'eth0.4'
  28. option proto 'static'
  29. option ipaddr '172.28.4.11'
  30. option netmask '255.255.255.0'
  31. option ip6addr '2001:470:79b6:1::4:11/128'
  32.  
  33. config switch
  34. option name 'rtl8366rb'
  35. option reset '1'
  36. option enable_vlan '1'
  37.  
  38. config switch_vlan
  39. option device 'rtl8366rb'
  40. option vlan '1'
  41. option ports '1 2 5t'
  42.  
  43. config switch_vlan
  44. option device 'rtl8366rb'
  45. option vlan '3'
  46. option ports '3 5t'
  47.  
  48. config switch_vlan
  49. option device 'rtl8366rb'
  50. option vlan '4'
  51. option ports '4 5t'
  52.  
  53. config switch_vlan
  54. option device 'rtl8366rb'
  55. option vlan '9'
  56. option ports '0 5t'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement