LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 08-04-2006, 07:01 PM   #1
Tafta
Member
 
Registered: Jan 2003
Location: Bandung, Indonesia
Distribution: Mandrake, SUSE, RedHat
Posts: 55

Rep: Reputation: 15
three internet connections: need to find a good scenario of fair bandwidth distributi


Hi guys (and girls)

Currently my office have three internet connections (two 384 kbps, one 512 kbps) and i'm having difficulty of planning and implementing the network for fair bandwidth distribution for each user.

which one is better (good performance, availability, easy maintenance, etc):
each different user segment connect to different connection? or
make all the connection look like a single connection (is that possible?) to the user?

i really appreciate if some one can tell me or show me the clue to solve the problem
thanks in advance
 
Old 08-04-2006, 09:48 PM   #2
scott2004
Member
 
Registered: Nov 2004
Location: Toronto, Canada
Distribution: Debian, OpenBSD, SuSE, Ubuntu
Posts: 68

Rep: Reputation: 15
How many users do you have?

Are you all on the same physical and logical subnet (e.g., do all your users have equal access to each of the Internet connections)?

A little more info about your setup would be helpful.

Scott
 
Old 08-04-2006, 10:48 PM   #3
Tafta
Member
 
Registered: Jan 2003
Location: Bandung, Indonesia
Distribution: Mandrake, SUSE, RedHat
Posts: 55

Original Poster
Rep: Reputation: 15
users are divided into three segment: staff, students(classes), and public.
students as customer are suppose to have the most reliable access to internet
i'm planning that each segment should have different subnet except that public will have the same subnet with the students

if it's possible then i would prefer to make the three connection look like a single connection so if a connection goes down no switching to other connection would be required.

i'm also planning on making transparent proxy scenario and using CBQ for bandwidth management (if some one could show me how to do it with proxy only, i'll be very glad since the my proxy pool class setting hardly a success )

any suggestion?
 
Old 08-04-2006, 10:53 PM   #4
Tafta
Member
 
Registered: Jan 2003
Location: Bandung, Indonesia
Distribution: Mandrake, SUSE, RedHat
Posts: 55

Original Poster
Rep: Reputation: 15
users are divided into three segment: staff, students(classes), and public.
students as customer are suppose to have the most reliable access to internet
i'm planning that each segment should have different subnet except that public will have the same subnet with the students

if it's possible then i would prefer to make the three connection look like a single connection so if a connection goes down no switching to other connection would be required.

i'm also planning on making transparent proxy scenario and using CBQ for bandwidth management (if some one could show me how to do it with proxy only, i'll be very glad since the my proxy pool class setting hardly a success )

any suggestion?
 
Old 08-04-2006, 11:16 PM   #5
scott2004
Member
 
Registered: Nov 2004
Location: Toronto, Canada
Distribution: Debian, OpenBSD, SuSE, Ubuntu
Posts: 68

Rep: Reputation: 15
To start, your three Internet connections are three gateways or routers. You could place the students (and other paying customers) on the subnet on which the fastest gateway resides, and make this their default gateway. However, you would probably also want to provide routes to the other to the other subnets to enhance local networking abilities. I believe you could assign these static routes through DHCP. Non-paying customers would have default gateways of the slower connections and reside on the subnets on which they lived. (there is no necessity for them all to be on individual subnets, mind you).

You might have a challenge differentiating between paying and non-paying customers if your clients are user-owned PCs that roam. In that case, you'd almost need to know and use MAC addresses which would probably not be feasible or practical. If, however, you have banks of computers in labs or offices, it ought not be too hard to separate them and place them each on their own subnect with their own default gateway.

In this setup, users would not "see" their connection, nor ever understand that there were three Internet gateways: they'd just have access.

Now, perhaps others viewing this discussion can tell me whether the machines clients would try alternate routes if they found the default gateway unresponsive. You may be able to assign three "default gateways" but prioritize them by the order they appear in the routing table. I'm not sure. A default gateway is just a route a machine uses for IP packets which mach none of the preceding routes. So, default gateways always appear at the bottom of routing tables. Not sure whether a client would accept more than one default and if it did, what it would do it the first did not respond.

Probably there are better ways to incorporate redundancy that others know of. Hopefully someone will write in with one!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Fair use or lack of fair play? LXer Syndicated Linux News 0 07-22-2006 07:03 AM
Given the following scenario, what's a good way to migrate to Linux? melonpool Linux - Networking 3 05-31-2005 07:44 AM
Are there any good howtos for bandwidth shaping? AbecX Linux - Networking 7 04-29-2005 02:37 PM
is there a way to combine 2 DSL connections and double the resulting bandwidth? kublador Linux - Networking 10 11-19-2004 02:55 PM
Bandwidth, ISP, good? dolvmin Linux - Networking 2 08-07-2004 12:09 AM


All times are GMT -5. The time now is 04:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration