Operation: Add IPv4 DHCP Server / Edit IPv4 DHCP Server
Description: To Add/Update IPv4 DHCP Server. 

Sample Configuration
<DHCPServer> <Name>Name</Name> <Interface>PortA</Interface> <UseInterfaceIPasGateway>UseInterfaceIPAsGateway/ANY</UseInterfaceIPasGateway> <IPLease> <IP>StartIPAddress-EndIPAddress</IP> : </IPLease> <ConflictDetection>Disable</ConflictDetection> <StaticLease> <Lease> <HostName>host</HostName> <MACAddress>mac</MACAddress> <IPAddress>ip</IPAddress> </Lease> : </StaticLease> <!-- for IPV4 only--> <SubnetMask>128.0.0.0</SubnetMask> <DomainName>name</DomainName> <Gateway>{IPAddress}</Gateway> <DefaultLeaseTime>1440</DefaultLeaseTime> <MaxLeaseTime>2880</MaxLeaseTime> <ConflictDetection>Enable/Disable</ConflictDetection> <UseApplianceDNSSettings>Enable</UseApplianceDNSSettings> <!-- Use this tag when above tag has value disabled --> <PrimaryDNSServer>DNSIPAddress</PrimaryDNSServer> <SecondaryDNSServer>DNSIPAddress</SecondaryDNSServer> <PrimaryWINSServer>ipaddress</PrimaryWINSServer> <SecondaryWINSServer>ipaddress</SecondaryWINSServer> </DHCPServer>



Parameter Mandatory Default Description
NameYes  
Specify name for DHCP Server.
Name confines to:
  • Type is 'SCALAR'.
  • Datatype is 'STRING'.
  • Character not allowed: Comma (,)
  • Maximum characters allowed are 50.
  • UTF-8 character(s) are allowed.
InterfaceNo  
Select interface on which DHCP Service is to be configured.
Interface confines to:
  • Type is 'SCALAR'.
  • Datatype is 'STRING'.
IPNo  
Specify IP Address range from which DHCP Server will assign addresses to the clients.
IP confines to:
  • Type is 'ARRAY'.
  • Datatype is 'STRING'.
  • Maximum characters allowed are 50.
  • Multiple values are allowed.
Note:
This option is available if the lease type selected is 'Dynamic'.
HostNameNo  
Specify host name if lease type selected is 'Static' where specific IP addresses are assigned to the clients.
HostName confines to:
  • Type is 'ARRAY'.
  • Datatype is 'STRING'.
  • Multiple values are allowed.
MACAddressNo  
Specify MAC Address for defining MAC-IP mapping if lease type is 'Static'.
MACAddress confines to:
  • Type is 'ARRAY'.
  • Datatype is 'MACADDRESS'.
  • Maximum characters allowed are 17.
  • Multiple values are allowed.
IPAddressNo  
Specify IP Address for MAC-IP mapping for 'Static' lease type.
IPAddress confines to:
  • Type is 'ARRAY'.
  • Datatype is 'IPADDRESS'.
  • Maximum characters allowed are 15.
  • Multiple values are allowed.
  • Duplicate values will not be ignored.
  • IP Class other than 'MULTICAST', 'RESERVED', 'LOCALHOST', 'UNSPECIFIED', 'BROADCAST', 'LINKLOCAL' is allowed.
SubnetMaskYes  
Select the Subnet mask for the Server.
SubnetMask confines to:
  • Type is 'SCALAR'.
  • Datatype is 'IPADDRESS'.
  • Maximum characters allowed are 15.
DomainNameNo  
Specify domain name which will be assigned to the DHCP Clients.
DomainName confines to:
  • Type is 'SCALAR'.
  • Datatype is 'STRING'.
  • To separate words, use a dot (.).
  • Maximum characters allowed are 250.
UseInterfaceIPasGatewayNo Disable 
Select to use interface IP as gateway.
UseInterfaceIPasGateway confines to:
  • Type is 'SCALAR'.
  • Only 'UseInterfaceIPAsGateway' are allowed.
GatewayYes  
Specify IP Address for default gateway, if Use Interface IP as Gateway is not selected.
Gateway confines to:
  • Type is 'SCALAR'.
  • Datatype is 'IPADDRESS'.
  • Maximum characters allowed are 15.
DefaultLeaseTimeYes 1440 
Specify Default Lease Time in minutes.
DefaultLeaseTime confines to:
  • Type is 'SCALAR'.
  • Datatype is 'INTEGER'.
  • Range 1 to 43200 is allowed.
  • Maximum digits allowed are 5.
MaxLeaseTimeYes 2880 
Specify Maximum Lease Time in minutes after which DHCP Clients must ask Server for new settings.
MaxLeaseTime confines to:
  • Type is 'SCALAR'.
  • Datatype is 'INTEGER'.
  • Range 1 to 43200 is allowed.
  • Maximum digits allowed are 5.
UseApplianceDNSSettingsNo Enable 
Enable to use Appliance DNS Settings.
UseApplianceDNSSettings confines to:
  • Type is 'SCALAR'.
  • Only 'Enable' are allowed.
PrimaryDNSServerNo  
Provide Primary DNS Server IP Address if appliance DNS Server is not to be used.
PrimaryDNSServer confines to:
  • Type is 'SCALAR'.
  • Datatype is 'IPADDRESS'.
  • Maximum characters allowed are 15.
  • IP Class other than 'MULTICAST', 'RESERVED', 'LOCALHOST', 'UNSPECIFIED', 'BROADCAST', 'LINKLOCAL' is allowed.
SecondaryDNSServerNo  
Provide Secondary DNS Server IP Address if appliance DNS Server is not be used.
SecondaryDNSServer confines to:
  • Type is 'SCALAR'.
  • Datatype is 'IPADDRESS'.
  • Maximum characters allowed are 15.
  • IP Class other than 'MULTICAST', 'RESERVED', 'LOCALHOST', 'UNSPECIFIED', 'BROADCAST', 'LINKLOCAL' is allowed.
PrimaryWINSServerNo  
Specify IP Address of Primary WINS Server.
PrimaryWINSServer confines to:
  • Type is 'SCALAR'.
  • Datatype is 'IPADDRESS'.
  • Maximum characters allowed are 15.
SecondaryWINSServerNo  
Specify IP Address of Secondary WINS Server.
SecondaryWINSServer confines to:
  • Type is 'SCALAR'.
  • Datatype is 'IPADDRESS'.
  • Maximum characters allowed are 15.
ConflictDetectionNo  
Enable to check IP before leasing to avoid leasing out repetitive IP addresses.
ConflictDetection confines to:
  • Type is 'SCALAR'.
  • Only 'Enable' are allowed.
LeaseForRelayNo  
Select this to enable the DHCP server to accept client requests from DCHP Relay. The DHCP server assigns IP addresses to clients which are not in the network of the selected interface. In this case, the address range defined above has to be within the network where relayed DHCP requests are forwarded from, and not within the network of the selected interface.
LeaseForRelay confines to:
  • Type is 'SCALAR'.
  • Only 'Disable', 'Enable' are allowed.



Operation   Status   Message
Add IPv4 DHCP Server200
Add IPv4 DHCP Server500
Add IPv4 DHCP Server502
Add IPv4 DHCP Server503
Add IPv4 DHCP Server505
Add IPv4 DHCP Server541
Add IPv4 DHCP Server542
Add IPv4 DHCP Server543
Add IPv4 DHCP Server544
Add IPv4 DHCP Server545
Add IPv4 DHCP Server546
Add IPv4 DHCP Server547
Edit IPv4 DHCP Server200
Edit IPv4 DHCP Server500
Edit IPv4 DHCP Server505
Edit IPv4 DHCP Server541
Edit IPv4 DHCP Server542
Edit IPv4 DHCP Server543
Edit IPv4 DHCP Server544
Edit IPv4 DHCP Server545
Edit IPv4 DHCP Server546
Edit IPv4 DHCP Server547


© Copyright 2019 Sophos Firewall Limited. All rights reserved.
Sophos Firewall is registered trademarks of Sophos Firewall Limited and Sophos Firewall Group. All other product and company names mentioned are trademarks or registered trademarks of their respective owners.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise unless you are either a valid licensee where the documentation can be reproduced in accordance with the license terms or you otherwise have the prior permission in writing of the copyright owner.