PDA

View Full Version : HTB question


cristinsimion
2005-05-07, 04:20 AM CDT
I have a gateway with Fedora Core 1 on it.
For this it has installed three network cards:
- eth0 pointing to my ISP
- eth1 to a LAN with local IPs and masquerade for getting on the internet
- dev10075 ponting to another LAN which has a subnet of real IPs
The total bandwidth coming on eth0 is 512kbps. I need to limit the total bandwidth for the dev10075 LAN at 128kbps.
For this I studied HTB but somenthing isn't very clear to me:
- on which network card should I set HTB?
Thank you.

fryslan76
2005-05-09, 01:15 AM CDT
Just place the HTB restrictions on the external network card and define a class with a filter for the subnet attached to dev10075 with a limit of 128 kbps and then you can also add borrowing to the class.