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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Now if I would like to route traffic based on the URL oder IP-Address that I call how would you implement this? Additionally I would be necessary to do loadbalancing on these interfaces.
There are lots of references on setting up bonding, and you'll need to specify to use load balancing (there are a couple of options, eg. round-robin) rather than active-backup.
If you are goign to use the server to route, then you'll need to enable the ip_forward parameter (again, google is your friend!).
I've now tried bonding like you said but it doesn't work on ESXi 4.1
The links are up but the connection is either slow or dosen't work at all.
eth0 + eth1 are connected to 2 physical ports on the ESXi Server and each NIC has his own vSwitch. I'm using Centos 5.8.
I've got all together 4 interfaces on the box but I use only 2 interfaces (eth0 + eth1) right now. These two intefaces do have a WAN each of them a different WAN-IP one of them is ADSL (10Mbit) and the other is SDSL (20Mbit). I would like to use round-robin.
It might help if you edit the initial post then... prowla's reply could very well be helpful in the setup you described initially but your actual setup isn't even close to that. If you have two interfaces clonnected to separate providers then bonding them doesn't make sence.
but I don't want to use routing and be able to use later more interface that's why his initial idea would be really great. Please give me advice how to solve my issuie. I've tried with centos5 and centos6 already.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.