LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Sharing Internet+WiFi+Wired (https://www.linuxquestions.org/questions/linux-wireless-networking-41/sharing-internet-wifi-wired-109185/)

flying_eyes 10-27-2003 03:07 PM

Sharing Internet+WiFi+Wired
 
I just installed Debian 3 and i want to configure a Linux Pc to share my Internet connection to 3 clients.2 of 3 clients will have wirelless access to Pc and the other 1 by wire.
The scheme is something like that: DSL Modem-->Linux Pc--From Linux Pc 1 client by wire and the other 2 wireless with Pci Adapters(Linksys WMP54G) by Hardware AP(Linksys WRT54G)..
I want your help how can i share the bandwith equal to 3,so everyone to have the same amount of Kbs....
I don't know many things about Linux so....

finegan 10-27-2003 09:28 PM

Right now the Linux PC gets a full pull from you DSL modem, which is probably bringing in 160Kilobytes per second. Don't get fooled by ISP math, to make things bigger they call it 1.5 Megabit / sec, divide that by 8 and you've got reality. The Linux PC is connected to other machines, probably by 100BaseT ethernet, 10 Megabytes a second, and the wireless clients can pull at 5.9 Megabytes per second (on a good day, but g never really gets 54, so probably more like 3.3megs)... no matter what, the bottleneck is the DSL line.

Did you want to do quality of service queing so that if machineB wants to download something, and MachineA is using all of the pipe, then MachineA's bandwidth gets throttled?

That's quality of Service queing, or QOS, its built into IPtables... google for QOS and you'll choke, warning though a lot of those pages will tell you "compile in blah blah blah to your kernel", and its Debian's default build right? You've got that.

Cheers,

Finegan

flying_eyes 10-28-2003 07:11 PM

Finegan,thanks for your reply..
My DSL line has bandwith 48kb/s,so i want everyone of these(3) to have 16kb/s for surfing or downloading..I think that it will be easy to do,but i don't know the way..
Can you give an example,please???

finegan 10-28-2003 07:20 PM

http://www.szabilinux.hu/bandwidth/

Is about the best place I found to start. That's some limit matching. Remember you don't have 48/48 probably more like 48/26 so make certain to limit inbound accordingly.

Cheers,

Finegan

JoAnywhere 10-28-2003 08:07 PM

Linux as Router/Gateway
 
Some basics to consider on the linux machine[list=1][*] It will need two NICs (one for your cable modem (call it Eth0), one to connect to the rest of the machines (call it Eth1))[*] You'll need a hub or router to connect Eth1 to so that in turn it can connect to all the other machines. This device ideally will also be a WAP and router combined.[*] you are probably better off NOT locking everyone down to 16kbs (i.e. 25% of the total available). You need to have a throttle (i.e. QOS) mechanism in place as per some of the other posts. Why (if I am the only person on the network) should I only get 25% bandwidth... QOS will take care of this.[*] there are lots of other things that the clever people on here can tell you about[/list=1]

Regards
Jo
Disclaimer : I know nothing about Linux


All times are GMT -5. The time now is 06:33 PM.