[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 343
  • Last Modified:

ADSL Bandwidth Management HOW-TO need help

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
bringmetoyourworld
Asked:
bringmetoyourworld
  • 2
  • 2
1 Solution
 
wesly_chenCommented:
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
 
bringmetoyourworldAuthor Commented:
0
 
bringmetoyourworldAuthor Commented:
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
 
wesly_chenCommented:
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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now