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:
Address rsnge — select 192.168.1.10 to 192.168.1.254
(addresses from 192.168.1.1 to 192.168.1.9
will be reserved for servers and printing machines),
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 (192.168.1.1
— 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.
Now add a reservation for the network printer. 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. In the list of leased addresses, mark this IP address and click on 192.168.1.3
), edit the description and click on . 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 enable (allow) 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 (192.168.1.1
) as the default gateway and DNS server in parameters for this range on the DHCP server.