VMware Networking Community
HassanAlKak88
Expert
Expert

NSX ESG Load balancer deployment

Hello,

we are planning to deploy a specific ESG to work as Load balancer (one armed) in a specific logical switch.

Q1: how many interface needed ? does it needs Uplink or Internal interface only ?

Q2: from where can i specify it is a one armed or inline mode ?

please advise ,


If my reply was helpful, I kindly ask you to like it and mark it as a solution

Regards,
Hassan Alkak
6 Replies
Sreec
VMware Employee
VMware Employee

Q1: how many interface needed ? does it needs Uplink or Internal interface only ?

One arm LB will have single interface which exits on same L2 Segment comparing with LB server pools. SNAT is mandatory.

Q2: from where can i specify it is a one armed or inline mode ?

All you need to do is , configure the ESG with Load balancer  by checking Manage > Load Balancer > Global Configuration > Edit, followed by Server Pool creation with Transparent mode unchecked. 

pastedImage_1.png

Cheers,
Sree | VCIX-5X| VCAP-5X| VExpert 7x|Cisco Certified Specialist
Please KUDO helpful posts and mark the thread as solved if answered
HassanAlKak88
Expert
Expert

Thanks Dear,

But regarding the interface type, it is uplink interface ? correct ?

And we have to configure default gateway, the DLR ? right ?


If my reply was helpful, I kindly ask you to like it and mark it as a solution

Regards,
Hassan Alkak
0 Kudos
Sreec
VMware Employee
VMware Employee

Okay , so you are planning to have a DLR as well which demands routing . This approach is also fine in that case Server Pools will not be in same subnet as VIP. , ESG(LB) -> DLR-> VM would be the connectivity path and DLR will remain as the gateway for the VM  or you can simply connect VM's to ESG and have a one arm LB . I hope it is clear now.

Cheers,
Sree | VCIX-5X| VCAP-5X| VExpert 7x|Cisco Certified Specialist
Please KUDO helpful posts and mark the thread as solved if answered
0 Kudos
HassanAlKak88
Expert
Expert

As i know, with one arm LB mode, DLR will remain the Default gateway for the load balanced servers.

And i am planning to implement a One-armed LB in a Logical switch connected to DLR.

So as I understand we will deploy an ESG with one interface (Uplink) connected to the same logical switch of load balanced servers. and configure the defualt gateway of this ESG the DLR IP. and keep the default gateway of my load balanced servers the DLR IP also.

please advise,


If my reply was helpful, I kindly ask you to like it and mark it as a solution

Regards,
Hassan Alkak
0 Kudos
Sreec
VMware Employee
VMware Employee

To be precise there are two scenarios.

1) LB and Server Pools in same subnet - Server Pools and ESG(LB) connected to same logical switch

2) LB and Server Pools in two subnets -  Server Pools connected to logical switch A , ESG connected to Logical Switch B , DLR internal interface connected to Logical Switch A and External DLR interface connected to Logical Switch B - This is nothing but load balanced traffic is routed through DLR while ESG remain in one arm.

In your case DLR will remain as the gateway for VM's since it is a simple one arm mode configuration.

Cheers,
Sree | VCIX-5X| VCAP-5X| VExpert 7x|Cisco Certified Specialist
Please KUDO helpful posts and mark the thread as solved if answered
HassanAlKak88
Expert
Expert

Thanks dear,

it is clear now Smiley Wink


If my reply was helpful, I kindly ask you to like it and mark it as a solution

Regards,
Hassan Alkak
0 Kudos