NetScaler SNIPs Bound to an Interface without A VLAN
https://www.citrix.com/blogs/2014/04/09/work-your-magic-with-the-netscaler-toolkit-used-by-the-pros/
That ' s right! Did you know that the NetScaler have another method to bind a SNIP IP address to an interface without have to create an L 3 (layer three) VLAN? Well it does, so keep reading below to find out how.
Interestingly enough the feature that I ' m going to discuss in this blog post is introduced in NetScaler firmware release 10.0, but perhaps many of your who has deployed the NetScaler in your environment has never actually seen this feature, a nd Hence the reason for this particular post.
Historically there were, main methods for ensuring, traffic destined for a particular network/subnet on the netscal Er would traverse a desired interface:
- Layer three VLAN ' s–http://support.citrix.com/article/ctx136926
- MBF (mac-based forwarding) –http://support.citrix.com/proddocs/topic/ns-system-10-map/ Ns-nw-interfaces-configrng-mac-bsd-frwrdng-tsk.html
I won ' t invest the time to explain the referenced methods above, considering that my focus for this post are to discuss This newer and is so well known method of accomplishing a similar outcome.
Accomplish the Objective with an ARP Entry:
You can bind a specific interface to an SNIP by adding an ARP entry for each of the following SNIPs in the example below. This was to ensure the response traffic would reach the same interface through which the request went out.
Example Configuration Details:
SNIP IP addresses:10.10.10.2, 10.10.10.3, 10.10.10.4 and 10.10.10.5
Mac Addresses for each of the respective interfaces (you'll need to find the MAC Addresses for each of the NetScaler Inter Faces that you'll want to bind a particular SNIP to). You can find the MAC address for each respective interface by logging into the NetScaler appliance and following the Examp Le below:
> Show Interface 0/1
1) Interface 0/1 (NetScaler Virtual Interface, PF 0/1) #1
flags=0xe060 <enabled, up, up, Hamon, 802.1q>
mtu=1500, native Vlan=1, MAC=52:2C:75:E4:61:FC, uptime 118h08m42s
LLDP Mode:none
Rx:pkts (5350740) Bytes (1514302712) errs (0) Drops (2351891) stalls (0)
Tx:pkts (3001008) Bytes (844999742) errs (0) Drops (0) stalls (0)
Nic:indisc (0) outdisc (0) fctls (0) stalls (0) hangs (0) muted (0)
Bandwidth thresholds is not set.
So for this example we is going to use the following interfaces and associated MAC addresses:
1/2–00:e0:ed:0f:bc:e0
1/3–00:e0:ed:0f:bc:df
1/4–00:e0:ed:0f:bc:de
1/5–00:e0:ed:1c:89:53
The following is a CLI, command line interface, example for what, bind the four SNIP IP addresses to the four NetScaler I Nterfaces:
> Add arp-ipaddress 10.10.10.2-mac 00:e0:ed:0f:bc:e0-ifnum 1/2
Done
> Add arp-ipaddress 10.10.10.3-mac 00:e0:ed:0f:bc:df-ifnum 1/3
Done
> Add arp-ipaddress 10.10.10.4-mac 00:e0:ed:0f:bc:de-ifnum 1/4
Done
> Add arp-ipaddress 10.10.10.5-mac 00:e0:ed:1c:89:53-ifnum 1/5
Done
Summary:
So with a very simple configuration you can bind SNIP IP addresses to interfaces without leveraging L3 VLAN ' s.
Reference:http://support.citrix.com/proddocs/topic/ns-system-10-map/ns-nw-interfaces-bindng-snip-to-interface-tsk.html
NetScaler SNIPs Bound to an Interface without A VLAN