Overview
Multihoming is a term used when one network interface (connected to the Internet) uses multiple public IP addresses. Typically, numerous services are available through individual IP addresses (this implies that the services are mutually independent). This article provides the steps to configure traffic rules for multihoming in Kerio Control.
Prerequisites
Consider the following example:
Two web servers are running on a local network: A web server named web1 with the IP address 192.168.1.100
and a web server named web2 with the IP address 192.168.1.200
.
The interface connected to the Internet uses public IP addresses 1.1.1.2
and 1.1.1.3
:
-
web1 is available from the Internet at the IP address
1.1.1.2
. -
web2 is available from the Internet at the IP address
1.1.1.3
.
Solution
-
In Kerio Control's administration interface, navigate to Configuration > Traffic Rules.
-
Click Add. The Add New Rule window opens.
-
In the Add New Rule window, type a name for the rule (in the example rule above, 'Web1 server mapping') and click Next.
-
In the Source tab, leave it as Any sources and click Next.
-
In the Destination tab, click on Addresses. Add the IP address of the interface connected to the Internet. In this example, the IP to be used is
1.1.1.2
for web1 and1.1.1.3
for web2. -
Click Next.
-
In the Service section, select HTTP.
-
Click Finish. The rule is displayed under Configuration > Traffic Rules.
-
In the rule you created, in this example the 'Web1 server mapping rule,' double-click on the Translation column and the Traffic Rule - Translation window appears.
-
In the Traffic Rule - Translation windows, check the Enable destination NAT option and type the IP address of web1 to the Translate to the following IPv4 host field. Click OK when you are done.
-
Repeat steps 1 through 10 for the web2 server.
Confirmation
You have configured the traffic rules for multihoming, and they are displayed under Configuration > Traffic Rules.