The CloudBridge Connector feature of the Citrix NetScaler appliance connects enterprise datacenters to external clouds and hosting environments.

With it, you can configure a CloudBridge Connector tunnel between two different datacenters to extend your network without reconfiguring it, and leverage the capabilities of the two datacenters. Having a CloudBridge Connector tunnel configured between the two geographically separated datacenters enables you to implement redundancy and safeguard your setup from failure.

The CloudBridge Connector tunnel helps achieve optimal utilization of infrastructure and resources across two datacenters. The applications available across the two datacenters appear as local to the user.

To connect a datacenter to another datacenter, you set up a CloudBridge Connector tunnel between a NetScaler appliance that reside in one datacenter and another NetScaler appliance that reside in the other datacenter.

Requirements

  • One(1) NetScaler MPX or VPX in each datacenter
  • Enable L2 Mode on each NetScaler unit
  • Enable CloudBridge Connector feature
  • One(1) Public IP in each Datacenter mapped to the NetScaler SNIP in its respective Datacenter
  • Allow Traffic on TCP/UDP ports 50, 51, 500 and 4500 on the Public IP Mapped to the SNIP respectively in each Datacenter
  • Machines in DC1 should have their Gateway as the NetScaler in DC1
  • Machines in DC2 should have their Gateway as the NetScaler in DC2 

As an illustration of CloudBridge Connector tunnel between two different datacenters, consider an example in which a CloudBridge Connector tunnel is set up between NetScaler appliance NS_Appliance-1 in datacenter DC1 and NetScaler appliance NS_Appliance-2 in datacenter DC2.

Configuration
  • Make sure that Layer 2 Mode is enabled on both NetScaler Units in DC1 and DC2

  • Enable CloudBridge connector feature on the NetScaler unit in DC1 and DC2

  • On the NetScaler unit in DC1 Navigate to IP Tunnel under the CloudBridge Connector section and Click Add

  • In the Create IPv4 Tunnel page, fill in the required information

  • In the Create IPSec Profile page, fill in the required information and Click Create
  • When back at the Create IPv4 Tunnel page, Click Create to finish the Tunnel Creation
  • Notice how Tunnel is Down. It will remain down until the other NetScaler in DC2 is configured with the Tunnel.

  • Create a Policy Based Routing (PBR). Navigate to Network>PBRs

  • Create the PBR according to your settings

  • Notice that the PBR is created, but not yet applied

  • Apply the PBR

  • Click Yes to apply the PBR

  • Notice that the PBR is now enabled

  • On the NetScaler unit in DC2 Navigate to IP Tunnel under the CloudBridge Connector section and Click Add

  • In the Create IPv4 Tunnel page, fill in the Name, Remote

  • In the Create IPSec Profile page, fill in the required information and Click Create
  • When back at the Create IPv4 Tunnel page, Click Create to finish the Tunnel Creation

  • Notice how Tunnel is UP

  • Create a Policy Based Routing (PBR). Navigate to Network>PBRs

  • Create the PBR according to your settings

  • Notice that the PBR is created, but not yet applied

  • Apply the PBR
  • Click Yes to apply the PBR
  • Notice that the PBR is now enabled

  • Test from DC1 machine to DC2 machine
Ping from machine in DC1 172.31.241.20 to a machine in DC2 192.168.1.22 Check the trace-route how it hops to NetScaler in DC1 then to NetScaler in DC2 and finally reaching its destination
  • Test from DC2 machine to DC1 machine
Ping from machine in DC2 192.168.1.22 to a machine in DC1 172.31.241.20 Check the trace-route how it hops to NetScaler in DC2 then to NetScaler in DC1 and finally reaching its destination

Stay tuned for a video tutorial 🙂