network 1.5 KB

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