16: Configuring VLAN
_______________________________________________________________________________________________________
_____________________________________________________________________________________________________
© Virtual Access 2017
GW1000 Series User Manual
Issue: 1.9
Page 129 of 350
Figure 71: The interface overview page showing two VLAN interfaces
16.5
Configuring VLAN using the UCI interface
You can configure VLANs through CLI. The VLAN configuration file is stored on:
/etc/config/network
# uci export network
package network
config interface 'vlan100'
option proto 'static'
option ifname 'eth0.100'
option monitored '0'
option ipaddr '192.168.100.1'
option netmask '255.255.255.0'
option gateway '192.168.100.10'
option broadcast '192.168.100.255'
option dns '8.8.8.8'
Modify these settings by running
uci set <parameter>
command.
When specifying the ifname ensure that it is written in dotted mode, that is, eth1.100
where eth1 is the physical interface assigned to VLAN tag 100.
Note
: VLAN1 is, by default the native VLAN and will not be tagged.