_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW1000 Series User Manual
Issue: 2.3
Page 300 of 463
Browse to Static leases section.
Figure 150: The static leases add page
Select Add. Enter a hostname, MAC address and IP address for the static lease. Select
Save & Apply.
Figure 151: The static leases configuration page
Web Field/UCI/Package Option
Description
Web: Hostname
UCI: dhcp.host.name
Opt: name
Defines the symbolic hostname to assign.
Web: MAC-Address
UCI: dhcp.host.mac
Opt: mac
Defines the MAC address for this host. MAC addresses should be
entered in the format
aa:bb:cc:dd:ee:ff
Web: IPv4-Address
UCI: dhcp.host.ip
Opt: ip
Defines the IP address to be used for this host.
Table 99: Information table for static leases settings
30.4.3
Static leases using command line
Static leases are configured in the host section of the dhcp package /etc/config/dhcp.
Multiple hosts can be configured.
By default, all dhcp host instances are named host. It is identified by
@host
then the
host position in the package as a number. For example, for the first host in the package
using UCI:
dhcp.@host[0]=host
dhcp.@host[0].name=Host1