Configuring a CloudBridge® Connector tunnel between two datacenters
-
CL1 has a route to NS_Appliance-1 for reaching S1.
-
NS_Appliance-1 has a route to NS_Appliance-2 for reaching S1.
-
S1 has a route to NS_Appliance-2 for reaching CL1.
-
NS_Appliance-2 has a route to NS_Appliance-1 for reaching CL1.
| Entity | Name | Details |
|---|---|---|
| The NSIP address | 198.51.100.12 | |
| SNIP address | 198.51.100.15 | |
| CloudBridge Connector tunnel | Cloud_Connector_DC1-DC2 |
|
Points to consider for configuring CloudBridge Connector tunnel
-
Deploy and set up a NetScaler appliance in each of the two datacenters.
-
Make sure that the CloudBridge Connector tunnel end-point IP addresses are accessible to each other.
Configuration procedure
-
IPSec profile—An IPSec profile entity specifies the IPSec protocol parameters, such as IKE version, encryption algorithm, hash algorithm, and PSK, to be used by the IPSec protocol in the CloudBridge Connector tunnel.
-
GRE tunnel—An IP tunnel specifies the local IP address (a public SNIP address configured on the local NetScaler appliance), remote IP address (a public SNIP address configured on the remote NetScaler appliance), protocol (GRE) used to set up the CloudBridge Connector tunnel, and an IPSec profile entity.
-
Create a PBR rule and associate the IP tunnel with it—A PBR entity specifies a set of conditions and an IP tunnel entity. The source IP address range and the destination IP range are the conditions for the PBR entity. You must set the source IP address range and the destination IP address range to specify the subnet whose traffic is to traverse the CloudBridge Connector tunnel. For example, consider a request packet that originates from a client on the subnet in the first datacenter and is destined to a server on the subnet in the second datacenter. If this packet matches the source and destination IP address range of the PBR entity on the NetScaler appliance in the first datacenter, it is sent across the CloudBridge Connector tunnel associated with the PBR entity.
-
add ipsec profile <name> [-ikeVersion ( V1 | V2 )] [-encAlgo ( AES | 3DES ) ...] [-hashAlgo <hashAlgo\> ...] [-lifetime <positive_integer>] (-psk | (-publickey<string> -privatekey <string>-peerPublicKey <string>))[-livenessCheckInterval <positive_intege>][-replayWindowSize \<positive_integer>] [-ikeRetryInterval <positive_integer>] [-retransmissiontime <positive_integer>] -
show ipsec profile <name>
-
add ipTunnel <name> <remote><remoteSubnetMask> <local> [-protocol <protocol>] [-ipsecProfileName <string>] -
show ipTunnel <name>
-
add ns pbr <pbr_name> ALLOW -srcIP = <local_subnet_range> -destIP = <remote_subnet_range> -ipTunnel <tunnel_name> -
apply ns pbrs -
show ns pbr <pbr_name>
add ipsec profile Cloud_Connector_DC1-DC2 -encAlgo AES -hashAlgo HMAC_SHA1
Done
> add ipTunnel Cloud_Connector_DC1-DC2 203.0.113.133 255.255.255.255 198.51.100.15 -protocol GRE -ipsecProfileName Cloud_Connector_DC1-DC2
Done
> add ns pbr PBR-DC1-DC2 ALLOW -srcIP 198.51.100.15 -destIP 203.0.113.133 ipTunnel Cloud_Connector_DC1-DC2
Done
> apply ns pbrs
Done
-
Type the NSIP address of a NetScaler appliance in the address line of a web browser.
-
Log on to the GUI of the NetScaler appliance by using your account credentials for the appliance.
-
Navigate to System > CloudBridge Connector.
-
In the right pane, under Getting Started, click Create/Monitor CloudBridge.The first time you configure a CloudBridge Connector tunnel on the appliance, a Welcome screen appears.
-
On the Welcome screen click Get Started.
-
In the CloudBridge Connector Setup pane, click NetScaler.
-
In the NetScaler pane, provide your account credentials for the remote NetScaler appliance. Click Continue.
-
In the CloudBridge Connector Setting pane, set the following parameter:
-
CloudBridge Connector Name—Name for the CloudBridge Connector configuration on the local appliance. Must begin with an ASCII alphabetic or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. Cannot be changed after the CloudBridge Connector configuration is created.
-
-
Under Local Setting, set the following parameter:
-
Subnet IP—IP address of the local endpoint of the CloudBridge Connector tunnel.
-
-
Under Remote Setting, set the following parameter:
-
Subnet IP—IP address of the peer endpoint of the CloudBridge Connector tunnel.
-
-
Under PBR Setting, set the following parameters:
-
Operation—Either the equals (=) or does not equal (!=) logical operator.
-
Source IP Low —Lowest source IP address to match against the source IP address of an outgoing IPv4 packet.
-
Source IP High—Highest source IP address to match against the source IP address of an outgoing IPv4 packet.
-
Operation—Either the equals (=) or does not equal (!=) logical operator.
-
Destination IP Low*—Lowest destination IP address to match against the destination IP address of an outgoing IPv4 packet.
-
Destination IP High—Highest destination IP address to match against the destination IP address of an outgoing IPv4 packet.
-
-
(Optional) Under Security Settings, set the following IPSec protocol parameters for the CloudBridge Connector tunnel:
-
Encryption Algorithm—Encryption algorithm to be used by the IPSec protocol in the CloudBridge tunnel.
-
Hash Algorithm—Hash algorithm to be used by the IPSec protocol in the CloudBridge tunnel.
-
Key—Select one of the following IPSec authentication methods to be used by the two peers to mutually authenticate.
-
Auto Generate Key—Authentication based on a text string, called a pre-shared key (PSK), generated automatically by the local appliance. The PSKs keys of the peers are matched against each other for authentication.
-
Specific Key—Authentication based on a manually entered PSK. The PSKs of the peers are matched against each other for authentication.
-
Pre Shared Security Key—The text string entered for pre-shared key based authentication.
-
-
Upload Certificates—Authentication based on digital certificates.
-
Public Key—A local digital certificate to be used to authenticate the local NetScaler appliance to the peer before establishing IPSec security associations. The same certificate should be present and set for the Peer Public Key parameter in the peer.
-
Private Key—Private key of the local digital certificate.
-
Peer Public Key—Digital certificate of the peer. Used to authenticate the peer to the local end point before establishing IPSec security associations. The same certificate should be present and set for the Public key parameter in the peer.
-
-
-
-
Click Done.