Re: tc filter protocol arp question

Linux Advanced Routing and Traffic Control

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

 



Alexander Clouter writes:

On Jan 31, lartc@xxxxxxxxxxxxxxxx wrote:
Hello,

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

[snipped]

I really think you have other problems if you need to shape DHCP requests and
their responses. If we overlook the logistical part (QoS under linux only
see's IP packets iirc, and so ARP packets are invisible) and look at what you are trying to achieve.


QoS you should seen as a way of saying "this group of packets can arrive
'later' without really any effect" or "these packets should arrive as soon as
possible". DHCP does not have realtime requirements, hell I could not care
if it takes 2 seconds to renew my DHCP lease or 10 seconds. If you do worry
about things then consider a large lease time or better still look at what
traffic is on your network and reduce it; Windoze NetBIOS is a common thing
that can affect large networks.


I am unsure why _anyone_ would want to prioritise DHCP traffic, it operates
over an unreliable protocol and is built to try to obtain an IP address over
a period of 30 seconds; if you cannot get a DHCP lease in that time (even on
a congested network) then you have other problems which should probably be
addressed in manner other than QoS.


Obviously we would like to help, but we are unsure why you would want to do such a thing, "Its damn right crazy man!" :)

Regards

Alex

--
_______________________ < All's well that ends. >
----------------------- \ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||


I manage lan network with more that 1000 home users. Every user have iptables/tc pairs for marking packets/traffic limiting. Entire network operate via dhcp. If I miss only one user from shaper then his traffic going to default class. This class must have very low rate ( abount 1Kbit ). There going dhcp conversation. If missed user start to download, entire network lose dhcp server becouse of dropped packets.

So I really need to give dhcp server priority. I thing that 512Kbit is over that enough to satisfy about 500 winbozes, powered on in ten minutes period. ( This is not a joke, I see that nightmare every evening... )

Such a rule 'tc filter add dev eth0 protocol arp flowid ... ' i see in lartc.org and somewhere in mailing list. But this don't work on my linux ( RedHat Advanced Server 3 ).

--
Svetozar



_______________________________________________ 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