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.
i wonder if it is possible to use linux (especially slackware) to bond 2 (ethernet modems) adsl connections. For example if i have 2 connection of 24mbs download and 512 upload i will create achieve 48 mgps dowload and 1 mgps upload .
something like that
adsl1 modem <------ eth1--- (slackbox router) --- eth0---> my server
adsl2 modem <------ eth2----
Yes, your ISP or you need to provide the "other end". An ISP generally charge for this feature, and they generally want to own and manage the router
What happens is:
IP address 1 --- adsl1 modem <------ eth1---- (slackbox router) --- eth0---> my server
IP address 2 --- adsl2 modem <------ eth2----
As such any connection I have will be via that IP address. If my TCP SYN packet goes out of eth1, it will have one IP address. The SYN-ACK will come back to that IP address (interface). If my ACK then goes out of eth2, then the remote server has no record of that IP with those ports. (and firewalls can add even more problems to this)
So to do this, you need be able to control the layer 3. You could do this to a remote server, and then have a GRE tunnel to it. But that termination point needs solid bandwidth. Probably the easier approach with 2 circuits would be to load balance them. Look at your traffic and then config the router to split it between the two adsl connections.
eg 50% of my traffic is to my server, the "other" traffic is random. As such I could send all my server requests out of eth1, and everything else out of eth2
That load balancing generally needs tinkering with as your traffic patterns change, but it's the easiest way to spread data across 2 circuits. The downside is, (and using my example) if all I'm doing is uploading and downloading files to my server, I have a circuit sitting their doing nothing...
stress_junkie you are true! my isp support that service!!!
CmdoColin yes i believe it is a good way too!! i don't want this structure to download files exactly. I want want to create an online music streaming service via my Apache!! so i want to have as much upload i could!! can i spread those data from 2 circuits or more?????
offtopic: try subsonic, works amazing for music streaming depending on what you want of course
ontopic: if it's about more clients connecting you could also use load balancing, problem is just that you can't have any connections that go over the max upload of one link. if you have lots of incoming connections that shouldn't be a problem tho.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.