Advertisement
march_happy

Untitled

Oct 11th, 2019
226
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@OpenWrt:~# cat /etc/config/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 'fd43:45c3:9f9f::/48'
  11.  
  12. config interface 'lan'
  13. option type 'bridge'
  14. option proto 'static'
  15. option netmask '255.255.255.0'
  16. option ip6assign '60'
  17. option ipaddr '192.0.2.1'
  18. option ifname 'eth3 tap_tap'
  19.  
  20. config interface 'wan'
  21. option ifname 'eth0'
  22. option proto 'pppoe'
  23. option username '[redacted]'
  24. option password '[redacted]'
  25. option ipv6 'auto'
  26.  
  27. config interface 'wan6'
  28. option proto 'dhcpv6'
  29. option ifname 'eth0'
  30. option reqaddress 'try'
  31. option reqprefix 'auto'
  32. option auto '0'
  33.  
  34. config interface 'NJUCM_Lan'
  35. option proto 'dhcp'
  36. option ifname 'eth1'
  37. option defaultroute '0'
  38.  
  39. config interface 'lab_lan'
  40. option proto 'dhcp'
  41. option ifname 'eth2'
  42. option defaultroute '0'
  43.  
  44. config route
  45. option interface 'lab_lan'
  46. option target '192.168.123.0'
  47. option netmask '255.255.255.0'
  48.  
  49. config route
  50. option interface 'NJUCM_Lan'
  51. option target '10.0.0.0'
  52. option netmask '255.0.0.0'
  53.  
  54. config route
  55. option interface 'NJUCM_Lan'
  56. option target '172.0.0.0'
  57. option netmask '255.0.0.0'
Advertisement
RAW Paste Data Copied
Advertisement