network 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. # Copyright (C) 2006 OpenWrt.org
  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. config device
  8. option name br-lan
  9. option type bridge
  10. list ifname eth0.1
  11. list ifname eth0.2
  12. option mtu 1500
  13. config device
  14. option name dummy
  15. config interface lan
  16. option ifname 'br-lan'
  17. option proto static
  18. option ipaddr 192.168.1.1
  19. option netmask 255.255.255.0
  20. config interface dummy
  21. option ifname eth0.4
  22. option mtu 1500
  23. option proto none
  24. config interface lan2
  25. option ifname "eth0.3 eth0.5"
  26. option type bridge
  27. option proto static
  28. option ipaddr 192.168.1.1
  29. option netmask 255.255.255.0
  30. option gateway 192.168.1.2
  31. option dns '192.168.1.5 192.168.1.6'
  32. config interface wan
  33. option proto pppoe
  34. option ifname br-lan2
  35. option username foo
  36. option password bar
  37. config alias wan1
  38. option proto static
  39. option interface wan
  40. option ipaddr 192.168.99.1
  41. option ip6addr 2a01:4f8:131:30e2::2/59
  42. option netmask 255.255.255.0
  43. option gateway 192.168.99.3
  44. config route6
  45. option interface wan1
  46. option target ::0/0
  47. option gateway 2a01:4f8:131:30e2::1
  48. config interface wlan
  49. option proto static
  50. option ipaddr 192.168.2.1
  51. option netmask 255.255.255.0
  52. config interface pptp
  53. option proto pptp
  54. option server 1.1.1.1
  55. option peerdns 0
  56. option dns 192.168.10.1
  57. config route
  58. option target 192.168.0.1
  59. option netmask 24
  60. option gateway 192.168.5.2
  61. option interface wan