Download GW7300 Series User Manual
Transcript
9: DHCP server and DNS configuration _______________________________________________________________________________________________________ responses, required for DNS based blacklist services, only takes effect if rebind protection is enabled. rebind_domain list of domain names no (none) Specifies a list of domains to allow RFC1918 responses for, only takes effect if rebind protection is enabled. 9.2 DHCP pools Sections of the type dhcp specify per interface lease pools and settings for serving DHCP requests. Typically there is at least one section of this type present in the/etc/config/dhcp file to cover the LAN interface. You can disable a lease pool for a specific interface by specifying the ignore option in the corresponding section. A minimal example of a dhcp section is shown below. root@VA_router:~# uci show dhcp.lan dhcp.lan=dhcp dhcp.lan.interface=lan dhcp.lan.start=100 dhcp.lan.limit=150 dhcp.lan.leasetime=12h dhcp.lan.ignore=1 config 'dhcp' 'lan' option 'interface' 'lan' option 'start' '100' option 'limit' option 'leasetime' '150' '12h' Lan specifies the VA_router interface that is served by this DHCP pool. 100 is the offset from the network address, in the default configuration 192.168.1.100. 150 is the maximum number of addresses that may be leased, in the default configuration 192.168.1.250. 12h specifies the time to live for handed out leases, twelve hours in the example below. _______________________________________________________________________________________________________ © Virtual Access 2015 GW7300 Series User Manual Issue: 2.3 Page 58 of 258