Advertisement
Guest User

Untitled

a guest
Jul 19th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. root@LEDE:/etc/config# cat network
  2.  
  3. config interface 'loopback'
  4. option ifname 'lo'
  5. option proto 'static'
  6. option ipaddr '127.0.0.1'
  7. option netmask '255.0.0.0'
  8.  
  9. config globals 'globals'
  10. option ula_prefix 'fd99:092f:3a6d::/48'
  11.  
  12. config interface 'lan'
  13. option type 'bridge'
  14. option ifname 'eth0.1'
  15. option proto 'static'
  16. option ipaddr '192.168.1.1'
  17. option netmask '255.255.255.0'
  18. option ip6assign '60'
  19.  
  20. config device 'lan_dev'
  21. option name 'eth0.1'
  22. option macaddr 'b2:d4:6e:c4:f3:e9'
  23.  
  24. config interface 'wan'
  25. option ifname 'eth0.2'
  26. option proto 'dhcp'
  27.  
  28. config device 'wan_dev'
  29. option name 'eth0.2'
  30. option macaddr 'b2:d4:6e:c4:f3:ea'
  31.  
  32. config interface 'wan6'
  33. option ifname 'eth0.2'
  34. option proto 'dhcpv6'
  35.  
  36. config switch
  37. option name 'rt305x'
  38. option reset '1'
  39. option enable_vlan '1'
  40.  
  41. config switch_vlan
  42. option device 'rt305x'
  43. option vlan '1'
  44. option ports '0 1 2 3 5 6t'
  45.  
  46. config switch_vlan
  47. option device 'rt305x'
  48. option vlan '2'
  49. option ports '4 6t'
  50.  
  51. config interface 'wwan'
  52. option proto 'dhcp'
  53.  
  54. config interface 'repeater_bridge'
  55. option proto 'relay'
  56. list network 'lan'
  57. list network 'wwan'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement