LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 10-28-2004, 05:47 AM   #1
pin_bk
Member
 
Registered: Jan 2004
Posts: 45

Rep: Reputation: 15
50% fair connection sharing!


HI I need to share a 512K internet line with my frined, on a fair 50% basis, so that he always has 256K and me also 256K. How to do this using Linux? TC , IPTABLES ?
Give me a hint, help.

All The Best
 
Old 10-28-2004, 07:15 AM   #2
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
Broadband router, cable modem, modem to one machine and then shared to the other via ethernet, two tin cans and a piece of string?

We'll need more information before we can suggest solutions.
 
Old 10-28-2004, 08:40 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
look into CBQ. this will allow a linux machine acting as a gateway to control bandwidth usage to and from certain subnets / IP addresses / network interfaces / port ranges pretty accurately.
 
Old 10-28-2004, 03:28 PM   #4
pin_bk
Member
 
Registered: Jan 2004
Posts: 45

Original Poster
Rep: Reputation: 15
We will have ADSL modem. I think I have found someting - http://www.metamorpher.de/fairnat/
 
Old 10-31-2004, 03:07 PM   #5
pin_bk
Member
 
Registered: Jan 2004
Posts: 45

Original Poster
Rep: Reputation: 15
This fairnat doesnt work for me. Too many broken things...anything else?
 
Old 10-31-2004, 04:12 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
cbq rules by themselves are really very simple.
 
  


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
connection sharing the_imax Linux - Networking 2 04-30-2005 10:21 AM
Connection Sharing brokenflea Slackware 2 12-05-2003 12:06 PM
idea: sharing net connection, method: iptables..., problem: broken net connection :( danny2055 Linux - Networking 4 06-09-2003 08:00 AM
Sharing a connection carrja99 Linux - Networking 3 04-23-2003 09:08 PM
Connection sharing buckeyejerry Linux - Networking 1 01-13-2003 06:50 AM


All times are GMT -5. The time now is 12:31 AM.

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