By default, the interfaces of a NetScaler appliance are not strictly associated to a specific IP address. The IP addresses of the NetScaler Packet Engine are floating and can be associated to any interface of the appliance. This ensures that any physical interface of the appliance can send or receive data for any NetScaler-owned IP address.
To restrict the management access to a NetScaler appliance from a specific interface, complete the following procedure:
Note: In the following procedure, a NetScaler MPX 5500 appliance with interfaces 0/1, 0/2, 1/1, 1/2, 1/3, 1/4, and LO/1 is considered as an example.
Run the > show vlan command to verify the bindings of the interfaces:
1) VLAN ID: 1
Member Interfaces : 1/4 1/3 1/2 1/1 0/1 0/2 LO/1 Tagged: None
Done
The preceding output indicates that all interfaces of the appliance are bound to the VLAN1, which is the default setting of the NetScaler appliance.
Leaving the interface 0/1 on the VLAN1, run the following commands to configure additional VLANs for the rest of the interfaces:
> add vlan 20
Done
> add vlan 30
Done
> add vlan 40
Done
> add vlan 50
Done
> add vlan 60
Done
Run the following commands to bind the interfaces to the appropriate VLANs:
> bind vlan 20 -ifnum 1/2
Done
> bind vlan 30 -ifnum 1/3
Done
> bind vlan 40 -ifnum 1/4
Done
> bind vlan 50 -ifnum 0/2
Done
> bind vlan 60 -ifnum 1/1
Done
Run the following command to verify the VLAN bindings:
> show vlan
1) VLAN ID: 1
Member Interfaces : 0/1 LO/1 Tagged: None
2) VLAN ID: 20
Member Interfaces : 1/2 Tagged: None
3) VLAN ID: 30
Member Interfaces : 1/3 Tagged: None
4) VLAN ID: 40
Member Interfaces : 1/4 Tagged: None
5) VLAN ID: 50
Member Interfaces : 0/2 Tagged: None
6) VLAN ID: 60
Member Interfaces : 1/1 Tagged: None
Done
If you need to enable tagged traffic on the interface 0/1, run the following command to enable the trunk option on the interface:
> set int 0/1 -trunk on
Note: The -trunk option is deprecated for –tagall in later versions of the NetScaler software release. Use the man set int command to view options appropriate to your version.
Run the following command to enable management access on the interface 1/1 on a specified NetScaler-owned IP address:
bind vlan 60 -IPAddress <SNIP/MIP> <Subnet_Mask>