# generate network file

# set default lan bridge
#uci add network device
#uci set network.@device[-1].type='bridge'
#uci set network.@device[-1].name='br-lan'
#uci set network.@device[-1].ports='eth1' 'eth2' 'eth3' 'eth4'

# set default wan 8021q
#uci add network device
#uci set network.@device[-1].name='vlan0'
#uci set network.@device[-1].type='8021q'
#uci set network.@device[-1].ifname='eth5'
#uci set network.@device[-1].vid='6'

# set default wan 8021q
#uci add network device
#uci set network.@device[-1].name='vlan1'
#uci set network.@device[-1].type='8021q'
#uci set network.@device[-1].ifname='eth6'
#uci set network.@device[-1].vid='6'

# set default wan bridge
#uci add network device
#uci set network.@device[-1].type='bridge'
#uci set network.@device[-1].name='br-wan'
#uci set network.@device[-1].ports='vlan0 vlan1'

# set default loopback interface
#uci set network.loopback=interface
#uci set network.loopback.device='lo'
#uci set network.loopback.proto='static'
#uci set network.loopback.ipaddr='127.0.0.1'
#uci set network.loopback.netmask='255.0.0.0'

# set default backend interface
#uci set network.backend=interface
#uci set network.backend.device='eth0'
#uci set network.backend.proto='static'
#uci set network.backend.ipaddr='10.0.0.1'
#uci set network.backend.netmask='255.255.255.255'

# set default lan interface
#uci set network.lan=interface
#uci set network.lan.device='br-lan'
#uci set network.lan.proto='static'
#uci set network.lan.ipaddr='10.240.45.1'
#uci set network.lan.netmask='255.255.255.0'
#uci set network.lan.ip6assign='60'

# set default wan interface
#uci set network.wan=interface
#uci set network.wan.proto='pppoe'
#uci set network.wan.device='br-wan'
#uci set network.wan.username='internet'
#uci set network.wan.password='internet'
#uci set network.wan.ipv6='auto'

#uci commit network

#exit 0

