Avatar of jskfan
jskfan
Flag for Cyprus asked on

How L2/L3 Etherchannel does Load-Balancing

eth

How L2/L3 Etherchannel does Load-Balancing

Considering the diagram above ,  assuming that there are many PCs in 192.168.1.0/24 network and many PCs in 192.168.2.0/24 network
What is the best method to choose for load-balancing in this case (Source-Destination IP, Source Destination Mac,etc....) ?

another case is , Let's say in network 192.168.2.0/24 there are separate servers  that procide services to  PCs in the network 192.168.1.0/24
in this case what would be the best Load-Balancing Method ?

Thank you
RoutersSwitches / HubsNetworking

Avatar of undefined
Last Comment
jskfan

8/22/2022 - Mon
atlas_shuddered

In both cases IP to IP would be most appropriate as your MAC addresses are always going to be the MACs of the routers jsk.  If the EC connections where switch to switch to host then it would be best to use MAC to MAC.
mikecr

I agree with atlas_shuddered, normally you'll always want to do ip to ip unless everything is on a local layer 2/3 network and won't talk over a router.
jskfan

ASKER
OK ...if we have eliminated the Routers , then Load -Balancing on Mac address would be the best method ?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
ASKER CERTIFIED SOLUTION
atlas_shuddered

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
jskfan

ASKER
so, for instance, if client1 sends traffic it will go over  link1
if client2 sends traffic, it will go over different link
and so on
atlas_shuddered

Theoretically anyway.  The algorithm will make the determination of what traffic goes across which link.  Base is round robin but it is offset by load so this can diff the traffic as individual links are loaded.
jskfan

ASKER
Thank you
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.