network 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. config globals 'globals'
  7. option ula_prefix 'fd1e:7270:ea04::/48'
  8. config interface 'lan'
  9. option proto 'static'
  10. option netmask '255.255.248.0'
  11. option ip6assign '60'
  12. option ipaddr '10.0.0.1'
  13. option device 'br-lan'
  14. config interface 'wan'
  15. option ifname 'eth0'
  16. option proto 'dhcp'
  17. option metric '1'
  18. config interface 'wan6'
  19. option ifname 'eth0'
  20. option proto 'dhcpv6'
  21. option metric '2'
  22. config interface 'VPN'
  23. option ifname 'ipsec0'
  24. option proto 'static'
  25. option ipaddr '10.10.10.1'
  26. option netmask '255.255.255.0'
  27. config interface 'vpn0'
  28. option ifname 'tun0'
  29. option proto 'none'
  30. config interface 'wwan_5g'
  31. option proto 'dhcp'
  32. option ifname 'usb0'
  33. option metric '10'
  34. option auto '0'
  35. config interface 'wwan_5g_v6'
  36. option proto 'dhcpv6'
  37. option ifname 'usb0'
  38. option metric '11'
  39. option auto '0'
  40. config interface 'wwan_lte'
  41. option proto 'dhcp'
  42. option ifname 'wwan0'
  43. option metric '12'
  44. config interface 'wwan_lte_v6'
  45. option proto 'dhcpv6'
  46. option ifname 'wwan0'
  47. option metric '13'
  48. config device
  49. option name 'br-lan'
  50. option type 'bridge'
  51. list ports 'eth1'