Skip to contentSkip to conversation

traffic shaping LAN nodes destined for internet

LARTC regulator 2 participants 2 messages May 19, 2001

lore
Share & tools
lore

regulator

author
#0 lore raw

I'm trying to cap the bandwidth to certain computers on my LAN... but I don't want to cap the local traffic - like samba file transfers and normal communications. I just want them to be limited to about 100Kbit of my 128Kbit ISDN (ppp0) internet connection. The problem is that I can't figure out where to place the cbq to effectively limit LAN users of addresses
10.1.2.0/24
and their connection to the internet. as for my computers, I place them all on 10.1.1.0/24 and would like them to get unbounded throughput.

in the howto, this command line is given

# tc filter add dev eth0 parent 10:0
protocol ip prio 100 u32 match ip dst
150.151.23.24 flowid 10:200

So what If I want to limit, say 10.1.2.69 -> internet to 100Kbit..?

I've read through the advanced routing HOWTO many times now... I'm either missing a big point in the routing, or this is just ...impossible... <-- not likely.

I would appreciate any information that can be provided.
Thank You!

-RDS

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

#1 lore raw
Quoted 7 lines · regulator

I'm trying to cap the bandwidth to certain computers on my LAN... but I don't want to cap the local traffic - like samba file transfers and normal communications. I just want them to be limited to about 100Kbit of my 128Kbit ISDN (ppp0) internet connection. The

Quoted 8 lines

problem is that I can't figure out where to place the cbq to effectively limit LAN users of addresses
10.1.2.0/24
and their connection to the internet. as for my computers, I place them all on 10.1.1.0/24 and would like them to get unbounded throughput.

Maybe you should also look at the other thread from a few days ago about limiting in masq'd network. Is your problem similar?

Quoted 6 lines

in the howto, this command line is given

# tc filter add dev eth0 parent 10:0
protocol ip prio 100 u32 match ip dst
150.151.23.24 flowid 10:200

So what If I want to limit, say

Just create some classes on your internal interface with the correct rate and class id 10:200 ..

Could point out your exact problem?

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/