load balancing
eth1 = Wan1 (Fiber)
eth2 = Wan2 (DSL) eth0 = Lan 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 ???? |
Quote:
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.... |
or you can do this by routing.
for instance, facebook.com: Code:
ip route add -net 69.63.176.0/20 dev eth2 Code:
ip route add default dev eth1 |
Quote:
what about youtube.com ?? |
Quote:
|
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. |
All times are GMT -5. The time now is 11:38 AM. |