Skip to contentSkip to conversation

max. 8Mbit with a ingress filter

LARTC Robert Penz 1 participant 1 message Jun 14, 2002

lore
Share & tools
lore
#0 lore raw

Hi!

I'll try to set the incoming rate for one ip on a server (with more than one ip) to 17Mbit, but if I activate it, I got in the beginning only 5mbit. I than increased the mtu and burst (as you see below) but I still can't get more than 8MBit to the server. any ideas?

tc qdisc add dev eth0 handle ffff: ingress
tc filter add dev eth0 parent ffff: protocol ip prio 50 u32 match ip \
dst xxx.xxx.xxx.xxx/32 police rate $4Mbit mtu 17k burst 30k drop
flowid :1

Signature · 8 lines
Regards,
Robert
----------------
Robert Penz
[email protected]
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/