Go to the Configuration → DHCP server section in Kerio Administration Console. Open the Scopes tab to create an IP scope for hosts to which addresses will be assigned dynamically (the Add → Scope option). The following parameters must be specified to define address scopes:
First address — select 192.168.1.10
(addresses from 192.168.1.1 to 192.168.1.9
will be reserved for servers and printing machines),
Last address — 192.168.1.254
(address with the highest number that can be used for the particular network)
Network mask — 255.255.255.0
Default gateway — IP address of the firewall interface that is connected to the local network (192.168.1.1
).
DNS server — IP address of the firewall interface that is connected to the local network (the same as the default gateway). The WinRoute's DNS forwarder will be used as the primary DNS server. The forwarder will procure correct forwarding of requests between the company's offices and to the Internet.
Create a lease for the network printing machine using the Add → Reservation... option. The address you reserve need not necessarily belong to the scope described above, however, it must belong to the specified network (in this example the 192.168.1.3
address is reserved). You need to know the hardware (MAC) address of the printing machine to make the reservation.
Do not make the reservation manually unless you know the MAC address of your printing machine. Run the DHCP server and connect the machine to the network. An IP address from the formerly defined scope (see above) will be assigned to the printing machine. Mark this address in the Leases tab and use the button to open a dialog where the appropriate MAC address will be already defined. Insert the appropriate IP address (and its description if desirable) and click on the button. Restart your printing machine. The appropriate IP address will be assigned to the printing machine by the DHCP server after the restart.
Notes:
Do not use the DHCP server unless all desired scopes and reservations are made or unless you need to determine a client's MAC address (see above).
You can also use another DHCP server to detect settings of your network equipment automatically. Set the firewall computer's internal IP address as the default gateway and DNS server in parameters for this range on the DHCP server.