# /etc/config/network # Copyright (C) 2006 OpenWrt.org config interface loopback option ifname lo option proto static option ipaddr 127.0.0.1 option netmask 255.0.0.0 config interface lan option type bridge option ifname "eth1 eth2" option proto static option ipaddr 192.168.178.2 option netmask 255.255.255.0 option gateway 192.168.178.1 option dns 192.168.178.1 config interface wireless1 option ifname wifi0 option proto static option ipaddr 192.168.2.1 option netmask 255.255.255.0 config interface wireless2 option ifname wifi0.1 option proto static option ipaddr 192.168.3.1 option netmask 255.255.255.0 # config interface wan # option ifname eth0 # option proto none # /etc/config/wireless config wifi-device wifi0 option type atheros option channel 6 option mode bg config wifi-iface option device wifi0 # option network lan option mode wds option ssid OpenWrt option hidden 0 option encryption none config wifi-iface option device wifi0 option network lan option mode wds option ssid OpenWrt-private option hidden 0 option encryption none