When a CloudBridge 4000/5000 appliance is provisioned for the first time, the default gateway of the NetScaler instance is configured by default on the "management" subnet.
Management network: interface 0/1 (XenServer, SVM, CloudBridge instance, NetScaler instance) and the data/traffic network: data/traffic interfaces (CloudBridge apA/apB/apC ports) should be segregated on two different networks.
For more information refer to Citrix Documentation - Deployment Worksheet of CloudBridge 4000/5000 appliance.
This article depicts the steps to manually change the default gateway of the NetScaler instance of a CloudBridge 4000/5000 appliance from the management network to the data network using the command line interface (CLI).
The following list depicts a valid IP addressing scheme for both management and data/traffic networks (segregated on two different networks):
Management Subnet: 10.199.79.0/25
Subnet Mask: /25:255.255.255.128
Host Address Range: 10.199.79.1 - 10.199.79.126
XenServer: 10.199.79.2
SVM: 10.199.79.3
CloudBridge Instance: 10.199.79.4
NetScaler Instance: 10.199.79.5
Default Gateway*: 10.199.79.1
* This will be the router/next hop on the management network.
Data/Traffic Subnet: 172.17.17.0/24
Subnet Mask: /24:255.255.255.0
Host Address Range: 172.17.17.1 - 172.17.17.254
CloudBridge apA: 172.17.17.2
Default Gateway**: 172.17.17.1
** This will be the router/next hop on the data/traffic network.
Note: If it is a WCCP-L2 deployment the default gateway will be the IP address of the WCCP router that performs L2 forwarding and is configured on the same subnet as the data/traffic network.
Complete the following steps to change the default gateway of the NetScaler instance of a CloudBridge 4000/5000 appliance:
Verify if the default gateway of the NetScaler instance is configured on the "Management" network by running the command: show route
Default gateway/router of the "Management" network is 10.199.79.1 as shown in the preceding screen shot.
Run the following command to add a static route for the "Management" network:
add route 10.199.79.0.0 255.255.255.128 10.199.79.1
Run the following command to remove current default gateway configured on the "Management" network:
remove route 0.0.0.0 0.0.0.0 10.199.79.1
Run the following command to add a new default gateway pointing to the "Data/Traffic" network:
add route 0.0.0.0 0.0.0.0 172.17.17.1
Note: The following command for adding a static route for the router interface IP address is only needed if the router’s WCCP IP is off the network, meaning it is another hop away from the CloudBridge appliance as typically seen in WCCP GRE deployments and where the default gateway on the NetScaler is not on the traffic/data network.
add route <WCCP Router Interface IP w/ 255.255.255.255> < next hop>
For more information refer to Citrix Documentation - Adding a Static Route.
Citrix Documentation - Deployment Worksheet of CloudBridge 4000/5000 appliance
Citrix Documentation - Adding a Static Route