Solved

ADSL Bandwidth Management HOW-TO need help

Posted on 2004-10-25
325 Views
Last Modified: 2013-12-03
Refer to ADSL Bandwidth Management HOW-TO. There are example script for inbound and outbound shaping. My question are
1 how to use it.
2 Is that complete script ? Do I need to add any command to make use ?
3 Do I need to add "nat" ?

My network is standard ,20 windows client ,1 ADSL Modem, 1 PC running RH9 for router.
I want to share internet to 20 client by using RH box running HTB+IMQ to manage bandwidth.
Previously use RH9 running IPtables command without HTB and IMQ with these script :

Assuming eth1 is connected to WAN, eth0 to LAN
echo "1" > /proc/sys/net/ipv4/ip_forward
/sbin/iptables -A FORWARD -i eth1 -o eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT
/sbin/iptables -A FORWARD -i eth0 -o eth1 -j ACCEPT
/sbin/iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to 192.168.1.2
0
Question by:bringmetoyourworld
    4 Comments
     
    LVL 38

    Expert Comment

    by:wesly_chen
    Hi,

       The ip_forwarding, you need the "routed" running to make the Linux box as router.
    Please install "routed" from RedHat 9 CD.

       Besides, please provide the link to "ADSL Bandwidth Management HOW-TO" so people can easier locate it and discuss on the same page.

    Regards,

    Wesly
    0
     

    Author Comment

    by:bringmetoyourworld
    0
     

    Author Comment

    by:bringmetoyourworld
    Sorry
    Better follow this link,it is script that i am talking about.
    http://www.tldp.org/HOWTO/ADSL-Bandwidth-Management-HOWTO/implementation.html#AEN166
    0
     
    LVL 38

    Accepted Solution

    by:
    I think the script in
    http://www.tldp.org/HOWTO/ADSL-Bandwidth-Management-HOWTO/implementation.html#AEN166
    seems complete. However, you need to modify the value of "RATEUP" and "RATEDN" to fit your own need.

    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    IT Security CISA, CISSP & CISM Certification

    Master the advanced techniques required to protect network resources from external threats with the IT Cyber Security bundle. Built around industry best-practice guidelines, the IT Cyber Security bundle consists of three in-depth courses.

    I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
    Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    875 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now