network 494 B

123456789101112131415161718192021222324252627
  1. #### VLAN configuration
  2. config switch eth0
  3. option vlan0 "0 1 2 3 5*"
  4. option vlan1 "4 5"
  5. #### Loopback configuration
  6. config interface loopback
  7. option ifname "lo"
  8. option proto static
  9. option ipaddr 127.0.0.1
  10. option netmask 255.0.0.0
  11. #### LAN configuration
  12. config interface lan
  13. option type bridge
  14. option ifname "eth0"
  15. option proto static
  16. option ipaddr 192.168.1.1
  17. option netmask 255.255.255.0
  18. #### WAN configuration
  19. config interface wan
  20. option ifname "wlan0"
  21. option proto dhcp