Associate an IP Subnet with a NetScaler Interface by Using VLANs
Before you begin
-
The network connectivity might be accidentally lost when associating a VLAN to the subnet or interface that is currently being used to access the NetScaler GUI or command line interface. Therefore, in such scenarios, it is highly recommended that the change is made by accessing the command line interface through the serial console of a physical NetScaler appliance or through the virtual serial console of a NetScaler VPX.
-
NetScaler management interfaces lack certain hardware optimization features which makes them less desirable for use with production data traffic. As such, it is recommended that the NetScaler be configured to only use the management interfaces for management (NSIP) traffic. In the default configuration, there is no logical differentiation between the management interfaces and data interfaces on a hardware NetScaler. In order to accomplish this goal, it is recommended that the NSIP be on a separate VLAN from data traffic, which allows management traffic to be on a separate interface.Although the concept is the same, to change the VLAN associations of the subnet that contains the NSIP address, you must configure NSVLAN instead of the below instructions. Such changes will also require a reboot of the NetScaler in order to take effect. For more information, see Configuring NSVLAN.
-
On NetScaler SDX, it is highly recommended that the NSIP of each instance be on the same subnet and VLAN as the SDX's SVM (Management Service GUI) and XenServer. The SVM communicates with instances via the network. If the SVM, XenServer, and instances are not on the same VLAN and subnet, management traffic must flow outside of the SDX. In this situation, network issues can cause Instance state to show up as yellow or red and can prevent the management and configuration changes of the NetScaler instances.
Configuration Steps
CLI procedures
-
add vlan \<id>
-
sh vlan \<id>
-
bind vlan \<id> -ifnum \<slot/port>
-
sh vlan \<id>
-
bind vlan \<id> -IPAddress \<IPAddress> \<netMask>
-
sh vlan \<id>
> add vlan 100
> bind vlan 100 -ifnum 1/1
> bind vlan 100 -ipAddress 10.0.1.0 255.255.255.0
GUI procedures
-
Navigate to System > Network > VLANs, add a new VLAN.
-
To bind a network interface to a VLAN, under Interface Bindings, select the Active option corresponding to the interface that you want to bind to the VLAN.
-
To bind an IP address to a VLAN, under IP Bindings, select the Active option corresponding to the IP address that you want to bind to the VLAN (for example, 10.102.29.54). The Type column displays the IP address type for each IP address in the IP Address column.