Advertisement
y2kbug

etc config network

Oct 8th, 2020
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 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 'fd3c:0d53:8e5c::/48'
  10.  
  11. config interface 'lan'
  12. option type 'bridge'
  13. option ifname 'eth0.1'
  14. option proto 'static'
  15. option netmask '255.255.255.0'
  16. option ip6assign '60'
  17. option hostname 'GL-AR750S-3d6'
  18. option ipaddr '192.168.8.1'
  19.  
  20. config interface 'wan'
  21. option ifname 'eth0.2'
  22. option proto 'dhcp'
  23. option hostname 'GL-AR750S-3d6'
  24. option macaddr '78:7B:8A:BD:B9:39'
  25. option metric '30'
  26. option defaultroute '0'
  27.  
  28. config interface 'wan6'
  29. option ifname 'eth0.2'
  30. option proto 'dhcpv6'
  31. option disabled '1'
  32. option reqaddress 'try'
  33. option reqprefix 'auto'
  34. option defaultroute '0'
  35. option auto '0'
  36.  
  37. config switch
  38. option name 'switch0'
  39. option reset '1'
  40. option enable_vlan '1'
  41.  
  42. config switch_vlan
  43. option device 'switch0'
  44. option vlan '1'
  45. option ports '2 3 0t'
  46.  
  47. config switch_vlan
  48. option device 'switch0'
  49. option vlan '2'
  50. option ports '1 0t'
  51.  
  52. config interface 'guest'
  53. option ifname 'guest'
  54. option type 'bridge'
  55. option proto 'static'
  56. option ipaddr '192.168.9.1'
  57. option netmask '255.255.255.0'
  58. option ip6assign '60'
  59.  
  60. config interface 'tethering'
  61. option proto 'dhcp'
  62. option ifname 'usb0'
  63. option disabled '0'
  64. option metric '30'
  65.  
  66. config route
  67. option interface 'wan'
  68. option target '192.168.0.0'
  69. option netmask '255.255.255.0'
  70. option gateway '192.168.98.126'
  71.  
  72. config route
  73. option interface 'wan'
  74. option target '192.168.1.0'
  75. option netmask '255.255.255.0'
  76. option gateway '192.168.98.126'
  77.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement