Im very fresh for the world of Bandwidth Management. For last couple of months Im searching for some good (Complete) documentation on CBQ. My Setup:- Ive a Cisco 2600 which gives me 2Mb Bandwidth which goes in to a first Ethernet of a Linux Box and from the other network adapter card to a switch and from the switch I distribute the bandwidth on UTP cables to surrounding offices and nearby buildings. Ive a pool of 32 IP addresses which Im free to use. Ive two P 4 based Linux compatible servers with two Ethernet cards on each and 512 Mb Ram. Right now Im giving Public Ips to each end user and they are fix for them. I do masquerading via one Linux IPCHAINS based firewall. My customers are of varied types. Serious surfers as well as Chat Masters. So I take money from them on case to case bases. I want to sell each user the correct bandwidth for which he is paying me. Linux Box | | |-----Customer1 |-----------| | | | --| Internet |---| |-----|--------Customer2 |___________| | | | | | |-----Customer3 eth0 eth1 My Questions:- 1 I want guidance on which kind of Filters I should use? 2 Where can I find complete as well as useful documentation on that ? 3 I use Linux 6.2. Do I need to download latest Kernel. If yes Do I need to compile it? If yes with which option? 4 What would be the rules. 5 If I want each user to do some kind of login into the network before starting the Internet access. Is it possible on an extended Lan network. If yes How? I will be grateful to those who will help me in doing this job. Please reply. Nir _____________________________________________________________ D2V ISP - Vadodara''s Quality Minded Internet Service Provider
Hello: Nir Shah wrote,> Im very fresh for the world of Bandwidth Management. For last couple > of months Im searching for some good (Complete) documentation on > CBQ.No such thing as "complete" documentation. :( This mailing list and its archives are your best bet.> My Questions:- > 1 I want guidance on which kind of Filters I should use?Depends, i use TBF (Token Bucket Filter).> 2 Where can I find complete as well as useful documentation on that ?See the Linux 2.4 Advanced Routing HOWTO http://www.linuxdoc.org/HOWTO/Adv-Routing-HOWTO.html. Not complete but definitely useful.> 3 I use Linux 6.2. Do I need to download latest Kernel. If yes Do I > need to compile it? If yes with which option?(RedHat?) Linux 6.2 is pretty old now and RedHat and is based on kernel 2.2. Start with the latest release of RedHat Linux 7.1 which has QOS compiled in by default - makes your job much easier. It comes with kernel 2.4 and uses iptables.> 4 What would be the rules.RTFM. http://www.linuxdoc.org/HOWTO/Adv-Routing-HOWTO.html> 5 If I want each user to do some kind of login into the network > before starting the Internet access. Is it possible on an extended Lan > network. If yes How?Login into the network? I don''t know how you would achieve that. For a PPP connections you could insist on a login. On a shared ethernet or DSL/Cable i don''t know how to do it.> I will be grateful to those who will help me in doing this job. Please > reply.Start by reading the Advanced Routing HOWTO and experimenting with the example rules listed there. -- Han Solo: I love you. Princess Leia: I know.
Hello: Shanker Balan wrote,> > 5 If I want each user to do some kind of login into the > > network before starting the Internet access. Is it possible on an > > extended Lan network. If yes How? > > Login into the network? I don''t know how you would achieve that. For a > PPP connections you could insist on a login. On a shared ethernet or > DSL/Cable i don''t know how to do it.You could however do proxy level authentication. If you are using a proxy server like squid, you can provide access to HTTP/FTP only after a successful authentication. Socks proxy can also do authentication. -- Han Solo: I love you. Princess Leia: I know.