Advertisement
y2kbug

etc config network

Oct 8th, 2020
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 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.  
  27. config interface 'wan6'
  28. option ifname 'eth0.2'
  29. option proto 'dhcpv6'
  30. option disabled '1'
  31. option reqaddress 'try'
  32. option reqprefix 'auto'
  33. option auto '0'
  34.  
  35. config switch
  36. option name 'switch0'
  37. option reset '1'
  38. option enable_vlan '1'
  39.  
  40. config switch_vlan
  41. option device 'switch0'
  42. option vlan '1'
  43. option ports '2 3 0t'
  44.  
  45. config switch_vlan
  46. option device 'switch0'
  47. option vlan '2'
  48. option ports '1 0t'
  49.  
  50. config interface 'guest'
  51. option ifname 'guest'
  52. option type 'bridge'
  53. option proto 'static'
  54. option ipaddr '192.168.9.1'
  55. option netmask '255.255.255.0'
  56. option ip6assign '60'
  57.  
  58. config interface 'tethering'
  59. option proto 'dhcp'
  60. option ifname 'usb0'
  61. option disabled '0'
  62. option metric '30'
  63. option defaultroute '1'
  64.  
  65. config route
  66. option interface 'wan'
  67. option target '192.168.0.0'
  68. option netmask '255.255.255.0'
  69. option gateway '192.168.98.126'
  70.  
  71. config route
  72. option interface 'wan'
  73. option target '192.168.1.0'
  74. option netmask '255.255.255.0'
  75. option gateway '192.168.98.126'
  76.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement