-
1. Re: Link Aggregation - Alcatel Lucent
daphnissov May 23, 2018 9:56 AM (in response to trent9645)What is your goal or requirement when using a LAG with an ESXi host?
-
2. Re: Link Aggregation - Alcatel Lucent
trent9645 May 23, 2018 9:59 AM (in response to daphnissov)Just to share the load between all the virtual servers between the 4 lines.
-
3. Re: Link Aggregation - Alcatel Lucent
daphnissov May 23, 2018 10:03 AM (in response to trent9645)Are you aware that you do not need to use a LAG to achieve this goal? The default algorithm of "route based on virtual port ID" will achieve this naturally just by having multiple single uplinks for a given vSS. This is a far simpler configuration and does not require any specialized configuration on your upstream L2/3 devices.
-
4. Re: Link Aggregation - Alcatel Lucent
trent9645 May 23, 2018 10:55 AM (in response to daphnissov)My understanding is that "route based on virtual port ID" can only send data through one uplink at a time. And "Route based by IP hash' can send data through multiple uplinks at a time.
-
5. Re: Link Aggregation - Alcatel Lucent
trent9645 May 23, 2018 10:59 AM (in response to daphnissov)Here is an article I found that explains the differences between the options on the ESXI host
Understanding NIC Teaming and Load Balancing Policies in virtual switch – Virtual Reality
-
6. Re: Link Aggregation - Alcatel Lucent
daphnissov May 23, 2018 11:11 AM (in response to trent9645)Yes, a virtual NIC can only send traffic through one physical uplink at a time, but all VMs are spread across all links. By the way, even with a LAG and route based on IP hash *still* may not achieve a load balancing of NICs as a session between two nodes is still limited to the throughput of only a single NIC. It's a common misconception that data can be "sprayed" evenly amongst all NICs in a bond. So route based on originating virtual port ID still achieves a load sharing but across all VMs in the vSS.
-
7. Re: Link Aggregation - Alcatel Lucent
trent9645 May 23, 2018 11:16 AM (in response to daphnissov)Right, 1 computer to the server is limited to 1 NIC. However, if I set Route based IP hash then say 100 clients could be using line 1 and 100 different clients could be using line 2. Correct?
-
8. Re: Link Aggregation - Alcatel Lucent
daphnissov May 23, 2018 11:20 AM (in response to trent9645)It's a possibility, yes, and a LAG would help here if you have multiple concurrent connections to different hosts. But it's important to point out if Server A is talking to Clients A, B, and C, each of those sessions *may* be on different physical links, but the session to each client is still limited to the physical limitations of the uplink selected. Server A does not evenly distribute traffic to Client A across multiple uplinks.
-
9. Re: Link Aggregation - Alcatel Lucent
trent9645 May 23, 2018 11:21 AM (in response to daphnissov)Yes, that is why I want LAG setup and working on Route based IP hash because we are a school district so there are several different hosts connecting to the same server at any given time.
-
10. Re: Link Aggregation - Alcatel Lucent
trent9645 May 23, 2018 12:33 PM (in response to daphnissov)Looks like it needs to be a "Distributed switch" the esxi host, I have it set up as a standard switch; however, I don't have the option to create a "Distributed switch" I think it is because we are running the free version of esxi? I believe we need to buy this below to be able to create a distributed switch for this matter and to be able to connect our 2 ESXI host and replicate the virtual servers between the 2 physical servers. At least that is what I am gathering, does that seem right to you?
https://store.vmware.com/store/vmware/en_US/pd/productID.285644500
-
11. Re: Link Aggregation - Alcatel Lucent
daphnissov May 23, 2018 1:55 PM (in response to trent9645)If you're using ESXi free you can use static LAGs. If you have ESXi with an enterprise plus license (or some other license) which entitles you to use a vDS, you can use LACP but this requires vCenter Server as well.
-
12. Re: Link Aggregation - Alcatel Lucent
trent9645 May 23, 2018 1:59 PM (in response to daphnissov)How do I configure the Static LAG on the ESXI host?
-
13. Re: Link Aggregation - Alcatel Lucent
daphnissov May 23, 2018 2:09 PM (in response to trent9645)https://kb.vmware.com/s/article/1001938
You just put the physical switch in static mode, then change the vSS's uplinks to Route Based on IP Hash. If your management vmkernel port is sharing this same vSS, you must change the physical switch first before making the port group change.
-
14. Re: Link Aggregation - Alcatel Lucent
trent9645 May 24, 2018 9:39 AM (in response to daphnissov)Believe I have tried that with no luck...