-
Notifications
You must be signed in to change notification settings - Fork 189
Description
Hi!
I have a config for Fireqos
DEVICE=eth0
INPUT_SPEED=1mbit
OUTPUT_SPEED=50mbitbit
interface $DEVICE from-cloud input rate $INPUT_SPEED
interface $DEVICE to-cloud output rate $OUTPUT_SPEED
Thats all. Yes "mbitbit" is a typo. fireqos start shows an error:
ERROR: 14@/etc/firehol/fireqos.conf: interface:
Cannot figure out the rate of interface 'eth0'.
above this error rules applyed i suppose
: interface eth0 from-cloud input rate 1mbit (eth0-ifb, 1000kbit, mtu 1500, quantum 1500, minrate 12kbit)
: class default (1:8000, 12/1000kbit, prio 0)
: committed rate 12kbit (1%), the remaining 988kbit will be spare bandwidth.: interface eth0 to-cloud output rate 50mbitbit/usr/sbin/fireqos: line 511: 50 * 1000bit: value too great for base (error token is "1000bit")
But then i perform fireqos stop.. and i loosing the server. Watching through terminal in this machine i observe that gateway in arp -n doesn't have MAC address. tcpdump shows that i receive some traffic like broadcast and other, but there is no replies on any outgoing traffic. Interface and routing are fine. tc qdisc and tc -s -d class show dev eth0 doesn't show any suspicious.
So where are problem may be? It must be related with typo "mbitbit". But where?