tc filter protocol arp question

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I try to shape dhcp requests, but filter rule don't work. My script is:

# Init Shaper for dev eth1
tc qdisc del dev eth1 root


# Init shaper root for dev eth1
tc qdisc add dev eth1 root handle 2: htb default 200


# Default shaper for dev eth1
tc class add dev eth1 parent 2:0 classid 2:200 htb rate 10Mbit prio 10
tc qdisc add dev eth1 parent 2:200 sfq perturb 10


# Init DHCPD shaper for dev eth1 , rate 512Kbit , ceil 512Kbit , dest src, prio 1
tc class add dev eth1 parent 2:0 classid 2:10 htb rate 512Kbit ceil 512Kbit prio 1
tc qdisc add dev eth1 parent 2:10 sfq perturb 10
tc filter add dev eth1 parent 2: protocol arp prio 1 flowid 2:10


Last line give me an error:

tc filter add dev eth1 parent 2: protocol arp prio 1 flowid 2:10
Unknown filter "flowid", hence option "2:10" is unparsable


How to select entire arp protocol ( dhcp conversation )?

Thanks.

--
Svetozar Mihailov



_______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux