Results 1 to 8 of 8

Thread: bandwith problem

  1. #1
    Regular Member
    Join Date
    Jul 2002
    Posts
    261

    bandwith problem

    i'm running a internet cafe sometime we have a few customer that does mostly download with a program name ares i notice when the downloading it use up most of the bandwith which cause the other computer to run slowly or none at all when browsing the internet, i'm looking for some advise how to fix this problem without affecting my customer i have 23 computer all on a workgroup with modem->router->24 port switch is there any bandwith manager or packey shaper u reccomend

  2. #2
    Moderator YeOldeStonecat's Avatar
    Join Date
    Jan 2001
    Location
    Somewhere along the shoreline in New England
    Posts
    50,941
    With an internet cafe I'd want a router that can:
    *Handle many concurrent connections
    *Have excellent traffic shaping/QoS services.

    PFSense would be my first choice.
    MORNING WOOD Lumber Company
    Guinness for Strength!!!

  3. #3
    Regular Member
    Join Date
    Jul 2002
    Posts
    261
    is there any router u recommend anyone

  4. #4
    Moderator YeOldeStonecat's Avatar
    Join Date
    Jan 2001
    Location
    Somewhere along the shoreline in New England
    Posts
    50,941
    I'd look at some of the Netgate models here and use PFSense on them
    http://www.netgate.com/index.php?cPath=60_85

    In my experience, any off the shelf retail router for under 200 dollars will not be even close to giving your the performance and features of PFSense. You'll be getting performance and features of a full enterprise router that would cost you well over 5 thousand bucks.
    MORNING WOOD Lumber Company
    Guinness for Strength!!!

  5. #5
    Regular Member
    Join Date
    Jul 2002
    Posts
    261
    hi i'm getting a PACKETEER PACKETSHAPER 2500 VERSION 6.2.1 for $125 will this do the trick will it fix my problem

  6. #6
    Moderator YeOldeStonecat's Avatar
    Join Date
    Jan 2001
    Location
    Somewhere along the shoreline in New England
    Posts
    50,941
    A packet shaper will help. Not familiar with that one, have heard the brand. Also the horsepower of your current router, if you'll be using that in addition to your shaper, is a big factor.
    MORNING WOOD Lumber Company
    Guinness for Strength!!!

  7. #7
    Why buy hardware packet shaper when you can do the same better using Linux ? Just install linux and use packet shaper ( shaper script )


    #!/bin/sh

    ### To Debug the Script just uncomment the following line ###

    #set -x

    ### Defininf Variables ###

    # Should this script ECHO all IP's with their Restricted Bandwidth Rates (1=yes | 0=no)
    ech="0"

    # Directory containing File of IP's
    DIR="/users"

    # Path to File Containing MAC and IP's of All users
    IP_MAC="$DIR/mac.addresses"

    # File Containing IP's only
    FILE="$DIR/ips.allowed"

    # Copying All IP's from IP_MAC FILE to FILE
    cat $IP_MAC | awk '{print $2}' > $FILE

    # Default Download Rate
    DRATE="100kbit"

    # Default Download Weight (usually DRATE/10)
    DWEIGHT="10kbit"

    # Default Upload Rate
    URATE="100kbit"

    # Default Upload Weight (usually URATE/10)
    UWEIGHT="10kbit"

    # Interface Connected to NETWORK
    NETWORK="eth0"

    # Path to executable of TC
    TC="/sbin/tc"

    ###################################################################
    ###################################################################
    ### ###
    ### Dont Edit Any thing Below this line ###
    ### ###
    ###################################################################
    ###################################################################

    start() {
    echo "Clearing all previous qdisc's ..."

    $TC qdisc del dev $NETWORK root &> /dev/null
    $TC qdisc del dev $NETWORK ingress &> /dev/null

    ### Starting Bandwidth Shaping Process...###

    ### Creating Qdiscs and classes for Download and Upload ###

    $TC qdisc add dev $NETWORK root handle 10: cbq bandwidth 10Mbit avpkt 1000
    $TC class add dev $NETWORK parent 10:0 classid 10:1 cbq bandwidth 10Mbit rate 10Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000

    $TC qdisc add dev $NETWORK handle ffff: ingress

    ech_check() {
    if [ "$ech" = "1" ]; then
    echo IP Address $ipcheck Interface $NETWORK Restricting Download / Upload Bandwidht to $DRATE/$URATE
    fi
    }

    DID=10
    ID=600
    for ipcheck in `cat $FILE`
    do

    ### Creating Classes for Download and Upload ###
    $TC class add dev $NETWORK parent 10:1 classid 10:$DID cbq bandwidth 10Mbit rate $DRATE allot 1514 weight $DWEIGHT prio 8 maxburst 20 avpkt 1000 bounded

    ### Creating Netfilter u32 Rules ###
    $TC filter add dev $NETWORK parent 10:0 protocol ip prio 200 u32 match ip dst $ipcheck flowid 10:$DID
    $TC filter add dev $NETWORK parent ffff: protocol ip prio 500 u32 match ip src $ipcheck police rate $URATE burst 32k mtu 1500 drop flowid :1

    ech_check

    DID=`expr $DID + 1`
    ID=`expr $ID + 1`

    done
    }

    stop() {
    $TC qdisc del dev $NETWORK root &> /dev/null
    $TC qdisc del dev $NETWORK ingress &> /dev/null
    }

    refresh() {
    stop
    sleep 1
    start
    }

    case "$1" in

    start)
    echo "Starting Bandwidth Shaping."
    start
    echo "Done..."
    ;;

    stop)
    echo "Stopping Bandwidth Shaping."
    stop
    echo "Bandwidth Shapping Stopped..."
    ;;

    refresh)
    echo "Refreshing Bandwidth Shaping Rules."
    refresh
    echo "Done..."
    ;;

    *)
    pwd=$(pwd)
    echo "Usage: Shaper {start | stop | refresh}"
    ;;
    esac

    exit 0

  8. #8
    Junior Member
    Join Date
    Jul 2009
    Posts
    2
    If you face bandwidth problem then please try downloading the file after a day or two.

    I guess esnips has alloted bandwidths to files and as many people are downloading the same file the alloted bandwidth for that file has exceeded. You can still download other files that have not exceeded their bandwidths ..you can get the ip speed from at free of cost.

Similar Threads

  1. network problem.. could it be virus attack?
    By maxchock in forum Networking Forum
    Replies: 0
    Last Post: 10-04-08, 04:18 AM
  2. Strange Speed Problem with my Connection
    By kins in forum General Broadband Forum
    Replies: 2
    Last Post: 09-21-08, 07:42 PM
  3. Problem: Accessing RapidShare through Wireless Router
    By pg in forum ms.public.windows.networking.wireless
    Replies: 1
    Last Post: 05-03-08, 07:12 AM
  4. Atheros (problem)
    By kdeo in forum Wireless Networks & Routers
    Replies: 8
    Last Post: 04-18-08, 01:56 AM
  5. internet problem
    By edk66 in forum General Broadband Forum
    Replies: 0
    Last Post: 12-13-07, 03:59 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •