* [LARTC] how do you rate limit routable traffic without rate limiting LAN protocols like arps and igm
@ 2004-03-02 2:29 D'Annunzio, Michael A
2004-03-02 2:59 ` [LARTC] how do you rate limit routable traffic without rate limiting Damion de Soto
2004-03-02 5:48 ` [LARTC] how do you rate limit routable traffic without rate limiting LAN protocols like arps and D'Annunzio, Michael A
0 siblings, 2 replies; 3+ messages in thread
From: D'Annunzio, Michael A @ 2004-03-02 2:29 UTC (permalink / raw)
To: lartc
I'm rate limiting and prioritizing traffic upstream of a slow wan link
using htb, classic wonder shaper type stuff. I'm using the following
command for traffic that does not match any of my defined filters:
tc qdisc add dev eth0 root handle 1: htb default 50
It appears that local, non-routable traffic like arps and igmp are being
snared by this and end-up queued in the lowest priorty queue. I was
surprised that non-IP traffic would be effected by IP traffic control.
How do I prevent this local, non-routable traffic from being queued?
Since it's local, I just want it to go at line rate. I know if I remove
the default parameter, traffic not matching any filter is sent over the
root queue, but I need to have a defined default.
All the literature I've seen only covers tc filters dealing with the
protocol IP. I've tried to filter on the arp protocol (I read this
works, but not for me), got error messages:
I've tried to using u32 matches with negative offsets, but no luck.
Sorta relieved that it didn't work, cause it seemed liked a hack.
Mike
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] how do you rate limit routable traffic without rate limiting
2004-03-02 2:29 [LARTC] how do you rate limit routable traffic without rate limiting LAN protocols like arps and igm D'Annunzio, Michael A
@ 2004-03-02 2:59 ` Damion de Soto
2004-03-02 5:48 ` [LARTC] how do you rate limit routable traffic without rate limiting LAN protocols like arps and D'Annunzio, Michael A
1 sibling, 0 replies; 3+ messages in thread
From: Damion de Soto @ 2004-03-02 2:59 UTC (permalink / raw)
To: lartc
Hi Michael,
> It appears that local, non-routable traffic like arps and igmp are being
> snared by this and end-up queued in the lowest priorty queue. I was
> surprised that non-IP traffic would be effected by IP traffic control.
How are you determining this?
> All the literature I've seen only covers tc filters dealing with the
> protocol IP. I've tried to filter on the arp protocol (I read this
> works, but not for me), got error messages:
Yes, linux QoS can't shape sub-IP ARP packets.
See the thread "[LARTC] tc filter protocol arp question"
from January this year: http://mailman.ds9a.nl/pipermail/lartc/2004q1/thread.html
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer email: damion@snapgear.com
SnapGear - A CyberGuard Company --- ph: +61 7 3435 2809
| Custom Embedded Solutions fax: +61 7 3891 3630
| and Security Appliances web: http://www.snapgear.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- Free Embedded Linux Distro at http://www.snapgear.org ---
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [LARTC] how do you rate limit routable traffic without rate limiting LAN protocols like arps and
2004-03-02 2:29 [LARTC] how do you rate limit routable traffic without rate limiting LAN protocols like arps and igm D'Annunzio, Michael A
2004-03-02 2:59 ` [LARTC] how do you rate limit routable traffic without rate limiting Damion de Soto
@ 2004-03-02 5:48 ` D'Annunzio, Michael A
1 sibling, 0 replies; 3+ messages in thread
From: D'Annunzio, Michael A @ 2004-03-02 5:48 UTC (permalink / raw)
To: lartc
Hi Damion,
>Hi Michael,
>> It appears that local, non-routable traffic like arps and igmp are
>> being snared by this and end-up queued in the lowest priorty queue. I
>> was surprised that non-IP traffic would be effected by IP traffic
>> control.
>How are you determining this?
I restarted the queues to clear the counts and then ping'ed an
unused IP address on the local subnet and counted the unanswered arp
requests using tcpdump. I then used tc to show the queue counts and saw
the respective counts in the default queue. I changed the default queue
and
perform the test again and saw the count appear in the new default
queue.
I'm pretty sure the counts in the default queue were arp requests.
>> All the literature I've seen only covers tc filters dealing with the
>> protocol IP. I've tried to filter on the arp protocol (I read this
>> works, but not for me), got error messages:
>Yes, linux QoS can't shape sub-IP ARP packets.
>See the thread "[LARTC] tc filter protocol arp question"
>from January this year:
http://mailman.ds9a.nl/pipermail/lartc/2004q1/thread.html
I saw this thread and had the same problem, but I also came across this
link:
http://www.docum.org/stef.coene/qos/faq/cache/63.html from
stef.coene@docum.org. It says:
"Simple, just use protocol arp in your filters." But it wasn't so
simple.
I'm really having the opposite problem. I'm trying not to shape arps.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer email: damion@snapgear.com
SnapGear - A CyberGuard Company --- ph: +61 7 3435 2809
| Custom Embedded Solutions fax: +61 7 3891 3630
| and Security Appliances web: http://www.snapgear.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- Free Embedded Linux Distro at http://www.snapgear.org ---
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-03-02 5:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-02 2:29 [LARTC] how do you rate limit routable traffic without rate limiting LAN protocols like arps and igm D'Annunzio, Michael A
2004-03-02 2:59 ` [LARTC] how do you rate limit routable traffic without rate limiting Damion de Soto
2004-03-02 5:48 ` [LARTC] how do you rate limit routable traffic without rate limiting LAN protocols like arps and D'Annunzio, Michael A
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.