08-16-2025 02:31 AM - edited 08-16-2025 02:40 AM
Hello,
I'm trying to setup a pretty simple solution for web servers load balancing using ITD on Nexus 93108TC-EX with NX-OS 10.3(6)M.
There is a Deployment guide for Direct Server Response (ITD Service), and I'm following it with 3 exceptions:
Aforementioned Nexus is one of vPC pair, but as for now I'm configuring ITD only in one box.
Here is the config for this:
vrf context LB-225 description ITD LoadBalancer for VLAN 225 interface Vlan225 no shutdown vrf member LB-225 no ip redirects ip address 192.168.225.253/24 no ipv6 redirects
itd device-group WEB_FARM probe icmp vrf LB-225 node ip 192.168.225.103 itd WEB_DSR vrf LB-225 device-group WSA_FARM virtual ip 192.168.225.250 255.255.255.255 ingress interface Vlan225 failaction node reassign load-balance method src ip no shut itd statistics WEB_DSR
The problems I'm facing:
Why do I need Direct Server Response mode inside the same VLAN: there is another device, FirePower, connected to current VLAN225, and it acts as a gw for all hosts in this network. FirePower is in routed mode. The idea is to utilize ITD inside nexus and not to mix this traffic with other Nexus tasks running in the global VRF.
I'm not sure if my design is optimal, and I'm open for any advices how to improve and fix ARP learning for ITD service VIP.
Thanks
D
Solved! Go to Solution.
08-18-2025 04:48 AM
Hi all,
I've solved the problem myself. Now it works in DSR mode with the same VLAN for ingress and servers network with `advertising enable`.
The root cause was vPC: it is critical to duplicate configuration on both vPC members, otherwise traffic may be dropped.
Regards,
D
08-16-2025 02:58 AM
Hello @d_sergienko
In DSR mode, idt doesn’t ARP for the VIP ; instead, servers must be configured with a loopback for the VIP and with no arp so that they can respond directly, while the Nexus only forwards the initial packets.
So, that’s why you don’t see gratuitous ARP for the VIP. If you enable 'advertise', Nexus inject a route pointing to one node, which breaks the DSR logic...
So, your design is not optimal because DSR requires a separation between the client ingress subnet and the server subnet, otherwise you’ll end up with exactly the ARP/manual static mapping issues you’re facing.
The best practice is to place the VIP in its own subnet/vlan, advertise it from the nexus, and let servers answer directly using the DSR loopback config.
--
Find cisco doc in pdf here from google:
08-16-2025 03:04 AM - edited 08-16-2025 03:05 AM
Thanks for the prompt reply.
If I follow your advice, I have a risk of traffic blocking on FirePower level as the single TCP/UDP/... connection spans across multiple interfaces: one is used for outgoing packets, another one is used for return from the servers. I'm not sure if firewalls like this.
Is DSR better solution at all? Maybe I need to take a look on ITD NAT? Will it work better taking into account vPC setup and the need to maintain correct NAT connections table on both boxes?
08-16-2025 03:20 AM - edited 08-16-2025 03:20 AM
Ok @d_sergienko, Thanks for that clarification.
If you need full firepwer inspection, dsr is not ideal because return traffic bypass the firewall, breaking inspection and security features, whereas ITD NAT with session synchronization across vPC peers ensures that all trafic for a given flow hits the same firewall and NAT tables stay consistent, avoiding asymmetric routing issues.
So, dsr is only suitable if inspection can be sacrificed for performance, but in a vpc setup where stateful inspection and correct NAT handling are required, ITD NAT or a similar "session-aware" solution is the safer choice...
08-18-2025 04:48 AM
Hi all,
I've solved the problem myself. Now it works in DSR mode with the same VLAN for ingress and servers network with `advertising enable`.
The root cause was vPC: it is critical to duplicate configuration on both vPC members, otherwise traffic may be dropped.
Regards,
D
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide