User manual
10: DHCP server and DNS configuration
_______________________________________________________________________________________________________
address of the
underlying interface
to calculate the
minimum address
that may be leased to
clients. It may be
greater 255 to span
subnets.
10.3 Static leases
You can assign fixed IP addresses to hosts on your network, based on their MAC
(hardware) address.
The configuration options in this section are used to construct a –G option for
dnsmasq.
root@VA_router:~# uci show dhcp.mypc
dhcp.mypc=host
dhcp.mypc.ip=192.168.1.2
dhcp.mypc.mac=00:11:22:33:44:55
dhcp.mypc.name=mypc
config host 'mypc'
option ip '192.168.1.2'
option mac '00:11:22:33:44:55'
option name 'mypc'
This adds the fixed IP address 192.168.1.2 and the name "mypc" for a
machine with the (Ethernet) hardware address 00:11:22:33:44:55
Type Required Default Description
ip string yes (none)
Specifies the IP address to be used for this
host.
mac string yes (none) Specifies the hardware address of this host.
name
string
no
(none)
Sets the optional hostname to assign.
_______________________________________________________________________________________________________
© Virtual Access 2015
GW1000 Series User Manual
Issue: 2.4 Page 63 of 255