13: Configuring an Ethernet interface on a GW1000 router 
_______________________________________________________________________________________________________ 
_____________________________________________________________________________________________________ 
© Virtual Access 2017 
GW1000 Series User Manual 
Issue: 1.9    Page 105 of 350 
network.newinterface.netmask=255.255.255.0 
network.newinterface.gateway=2.2.2.10 
network.newinterface.broadcast=2.2.2.255 
network.newinterface.vlan_qos_map_ingress=1:2 2:1 
network.ethalias1=alias 
network.ethalias1.proto=static 
network.ethalias1.interface=newinterface 
network.ethalias1.ipaddr=10.10.10.1 
network.ethalias1.netmask=255.255.255.0 
network.ethalias1.gateway=10.10.10.10 
network.ethalias1.bcast=10.10.10.255 
network.ethalias1.dns=8.8.8.8 
  ….. 
firewall.@zone[0]=zone 
firewall.@zone[0].name=lan 
firewall.@zone[0].input=ACCEPT 
firewall.@zone[0].output=ACCEPT 
firewall.@zone[0].forward=ACCEPT 
firewall.@zone[0].network=lan newinterface 
 
root@VA_router:~# uci show dhcp 
  … 
dhcp.@dhcp[0]=dhcp 
dhcp.@dhcp[0].start=100 
root@VA_router:~# uci show firewall 
dhcp.@dhcp[0].leasetime=12h 
dhcp.@dhcp[0].limit=150 
dhcp.@dhcp[0].interface=newinterface 
To change any of the above values use uci set command. 
13.4.1  Interface common configuration using package options 
The configuration files are stored on /etc/config/network, /etc/config/firewall and 
/etc/config/dhcp. 
root@VA_router:~# uci export network 
package network 
config interface 'newinterface' 
        option proto 'static'