All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] QoS and arp packets.
@ 2004-11-05  7:21 George Alexandru Dragoi
  2004-11-30 14:00 ` Andy Furniss
  0 siblings, 1 reply; 2+ messages in thread
From: George Alexandru Dragoi @ 2004-11-05  7:21 UTC (permalink / raw)
  To: lartc

Hello list,

I'm having problems with HTB on a machine. I noticed that after a
while the machine seems off-line after i start the htb script. After
some debugging i realised the problem stays in the arp packets send by
the machine, which are delayed or dropped. Because of that i had to
remove the default class. Is there a way to match arp packets ?
because i want to add them to the class destinated for the machine
itself.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] QoS and arp packets.
  2004-11-05  7:21 [LARTC] QoS and arp packets George Alexandru Dragoi
@ 2004-11-30 14:00 ` Andy Furniss
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Furniss @ 2004-11-30 14:00 UTC (permalink / raw)
  To: lartc

George Alexandru Dragoi wrote:
> Hello list,
> 
> I'm having problems with HTB on a machine. I noticed that after a
> while the machine seems off-line after i start the htb script. After
> some debugging i realised the problem stays in the arp packets send by
> the machine, which are delayed or dropped. Because of that i had to
> remove the default class. Is there a way to match arp packets ?
> because i want to add them to the class destinated for the machine
> itself.

Someone recently posted this - but you may not need it if you can make 
your rules specifically  mark/shape protocol IP or TCP etc.

Andy.


 > I'm using this because it works:
 > # Example that matches ARP (a big "thank you" to Martin Brown for
 > this!):
 > # dst MAC is 6 bytes at -14
 > # src MAC is 6 bytes at -8
 > # the ARP protocol is 2 bytes at -2
 > # the "0806" comes from linux/include/linux/if_ether.h
 > tc filter add dev eth1 parent 1: protocol ip prio 5 u32 \
 >    match u16 0x0806 0xffff at -2 flowid 1:50

 > gypsy

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-30 14:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-05  7:21 [LARTC] QoS and arp packets George Alexandru Dragoi
2004-11-30 14:00 ` Andy Furniss

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.