Customers might be unable to connect with us via the Sophos Malaysia Support Hotline number. Our teams are actively working on a fix. In the interim, we request customers to use the backup hotline number - +65 3157 5922 (Singapore) or raise a support request at https://support.sophos.com/.

Help us enhance your Sophos Community experience. Share your thoughts in our Sophos Community survey.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Import DHCP Static entries

Hello,

 

We are moving from Windows DHCP to Sophos and we have a large number of static reservations that we would like to enter into the "Static IP MAC Mapping" section.

 

Can we bulk import these entries? It would save us a lot of time.

 

We have an XG310 SFOS 16.05.3 MR-3

 

Thank you,



This thread was automatically locked due to age.
Parents Reply Children
  • I haven't used the API before, can you point towards some documentation?

  • <?xml version="1.0" encoding="UTF-8"?>
    <Configuration APIVersion="1605.1">
    <DHCPServer transactionid="">
        <Name>PUT NAME OF SERVER DHCP HERE</Name>
        <Interface>Port1</Interface>
        <IPLease>
          <IP>192.168.0.100-192.168.0.110</IP>
        </IPLease>
        <StaticLease>
          <Lease>
            <HostName>Hostnamehere</HostName>
            <MACAddress>00:00:00:00:00:00</MACAddress>
            <IPAddress>192.168.0.2</IPAddress>
          </Lease>
          <Lease>
            <HostName>Hostnamehere</HostName>
            <MACAddress>00:00:00:00:00:00</MACAddress>
            <IPAddress>192.168.0.3</IPAddress>
          </Lease>
          <Lease>
            <HostName>Hostnamehere</HostName>
            <MACAddress>00:00:00:00:00:00</MACAddress>
            <IPAddress>192.168.0.4</IPAddress>
          </Lease>
          <Lease>
            <HostName>Hostnamehere</HostName>
            <MACAddress>00:00:00:00:00:00</MACAddress>
            <IPAddress>192.168.0.5</IPAddress>
          </Lease>
        </StaticLease>
        <ConflictDetection>Enable</ConflictDetection>
        <SubnetMask>255.255.255.0</SubnetMask>
        <DomainName/>
        <DefaultLeaseTime>1440</DefaultLeaseTime>
        <MaxLeaseTime>2880</MaxLeaseTime>
        <UseApplianceDNSSettings>Enable</UseApplianceDNSSettings>
        <PrimaryDNSServer>192.168.1.1</PrimaryDNSServer>
        <SecondaryDNSServer>8.8.8.8</SecondaryDNSServer>
        <PrimaryWINSServer/>
        <SecondaryWINSServer/>
        <Gateway>192.168.0.1</Gateway>
        <UseInterfaceIPasGateway>UseInterfaceIPAsGateway</UseInterfaceIPasGateway>
      </DHCPServer>
    </Configuration>

    Here an example