The following methods can be used to assign IP addresses to local hosts:
The 192.168.1.2 static IP address will be
assigned to the domain server / FTP server (its IP address must not
be changed, otherwise mapping from the Internet will not work).
A Static IP address will be assigned to the network printer by the DHCP server (DHCP lease). Printing machines cannot have dynamic IP addresses, otherwise they would be unavailable from clients if the IP changes.
Note: IP addresses can be assigned to printing machines either manually or by a DHCP server. If a DHCP server is used, the printing machine is configured automatically and its address is listed in the DHCP lease list. If configured manually, the printing machine will be independent of the DHCP server's availability.
Dynamic IP addresses will be assigned to local workstations (easier configuration).
Notes:
The DNS domain in the LAN must be identical with the
Active Directory domain (i.e.
company.com).
IP addresses 10.1.1.x with the mask
255.255.255.0 and the filial.company.com
DNS domain will be used in the network of the branch office.
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).
Note: Default gateway specifies the route via which packets from the local network will be routed to the Internet. Routing via WinRoute will enable traffic filtering, user authentication, etc.
DNS server — IP address of the domain
server (192.168.1.2 — see chapter 2.2 Configuration of network interfaces of the Internet
gateway).
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.
TIP: 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.