_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW1000 Series User Manual
Issue: 2.3
Page 280 of 463
Web: Use custom DNS servers
UCI: network.<if name>.dns
Opt: dns
Defines whether to override DHCP assigned DNS servers with
configured list of DNS servers.
Multiple DNS Servers are separated by a space if using UCI.
Example:
option dns ‘1.1.1.1 2.2.2.2’
0
Disabled (option gateway set to 0.0.0.0)
1
Enabled.
Web: Use gateway metric
UCI: network.<if name>.metric
Opt: metric
Specifies the default route metric to use for this interface.
0
Disabled.
Range
Web: Client ID to send when requesting
DHCP
UCI: network.<if name>. clientid
Opt: clientid
Defines whether to override the client identifier in DHCP
requests.
Blank
Do not override.
Range
Override.
Web: Vendor Class to send when
requesting DHCP
UCI: network.<if name>.vendorid
Opt: vendorid
Defines whether to override the vendor class in DHCP requests.
Blank
Do not override.
Range
Override.
Web: Override MAC address
UCI: network.<if name>.macaddr
Opt: macaddr
Override the MAC address assigned to this interface. Must be in
the form: hh:hh:hh:hh:hh:hh, where h is a hexadecimal number.
Web: Override MTU
UCI: network.<if name>.mtu
Opt: mtu
Defines the value to override the default MTU on this interface.
1500
1500 bytes
Web: Dependant Interfaces
UCI: network.[if_name].dependants
Opt: dependants
Lists interfaces that are dependent on this parent interface.
Dependant interfaces will go down when parent interface is down
and will start or restart when parent interface starts.
Separate multiple interfaces by a space when using UCI.
Example:
option dependants ‘PPPADSL MOBILE’
This replaces the following previous options in child interfaces.
gre
option local_interface
lt2p
option src_ipaddr
iot
option wan1 wan2
6in4 option ipaddr
6to4 option ipaddr
Web: SNMP Alias ifIndex
UCI:
network.@interface[X].snmp_alias_ifindex
Opt: snmp_alias_ifindex
Defines a static SNMP interface alias index for this interface, that
can be polled using via the SNMP interface index
(
snmp_alias_1000
)
Blank
No SNMP interface alias index
Range
0 - 4294966295
Table 92: Information table for advanced settings for DHCP client protocol
27.3
Configuring DHCP client using command line
The configuration files for DHCP client are stored on /etc/config/network
27.3.1
DHCP client using UCI
root@VA_router:~# uci show network
…..
network.DHCPCLIENTLAN=interface
network.DHCPCLIENTLAN.proto=dhcp