Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i want to do load balancing for web sites ,
i want to run youtube.com and facebook.com on eth2(dsl),
and all other sites except facebook and youtube.com run on eth1(Fiber)
i want to do load balancing for web sites ,
i want to run youtube.com and facebook.com on eth2(dsl),
and all other sites except facebook and youtube.com run on eth1(Fiber)
how can i do this ????
You set up Squid.
And what you're describing isn't load balancing. Might also help when you ask a question, to provide some details. Version/distro of Linux, etc....
Probably also remove all other routes on eth2 to stop the rest of the traffic from going through it.
Similarly, remove route to the addresses for eth2 from eth1.
Hmm, I'm not sure what happens if the same route is mentioned for two ethernet interfaces.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.