[LARTC] handle and u32 selector

2005-12-16 Thread sujeet mulmi
Dear all,      i have a query about the related subject. As per stated, i have created the filter rules using handle selector for packet shaping purpose of ssh , www, etc. its working nicely.Again i want to this rule to work as global for the two different network. If i was not wrong , i have cr

Re: [LARTC] tc filter match u8 problem??

2005-12-16 Thread Ethy H. Brito
On Fri, 16 Dec 2005 17:00:41 -0200 "Ethy H. Brito" <[EMAIL PROTECTED]> wrote: > > Hi All A little bit more ammunition. Playing around with tc filter I run this (I know it looks like crazy but tc should deal with this asking no questions, right?) (for the curious out there: I am writing a htb ru

Re: [LARTC] routing in the same subnet

2005-12-16 Thread Oscar Mechanic
Why would you not just bridge them? Proxy arp I have found to be a pain and it has caused me more wierd problems with switching loops. Have a look at brctl and ebtables if fantastic. On Fri, 2005-12-16 at 20:43 +0100, Andreas Unterkircher wrote: > Any ugly trick is to active proxy_arp on the inter

Re: [LARTC] routing in the same subnet

2005-12-16 Thread Andreas Unterkircher
Any ugly trick is to active proxy_arp on the interfaces of the router (/proc/sys/net/ipv4/conf/*/proxy_arp). Then the external interface will scream "i have it!" on all of the arp requests for the other ip addresses (as soon as the router has the other machines in his arp-table). if you have ip_

[LARTC] tc filter match u8 problem??

2005-12-16 Thread Ethy H. Brito
Hi All Can someone tell me what am I doing wrong? These was suposed to catch icmp type 8. Why 'match u8' does not work? # tc filter add dev eth0 protocol ip parent 1: prio 2 \ u32 \ match u16 0x0800 0x at -2 \ match u8 8 0xff at 20 \ flowid 1:5 Illegal "match" # # tc

[LARTC] routing in the same subnet

2005-12-16 Thread Adam Gawda
Hi, I have IP 64.10.12.64/26 (example) and there's gateway 64.10.12.65 and I want doing something like this: -64.10.12.65 GW --- ROUTER--- clients eth0 64.10.12.66

Re: [LARTC] iptables mark and u32 filter

2005-12-16 Thread Andy Furniss
Ethy H. Brito wrote: Hi All I'd like to use an iptables mark together with u32 filter. Something like this, for instance: tc filter add dev imq0 protocol ip parent 1:0\ prio 2 handle 55\ u32 match u8 1 0xff at 0x09 flowid 1:22 (all icmp packets marked with 55 goes to class 1:22) But I got 'I

Re: [LARTC] tc strange behaviour (some discoveries)

2005-12-16 Thread Andy Furniss
Alexander Kabanov wrote: hi All, seems like a kernel problem when I do the following on kernel 2.6.12.5 tc qdisc add dev lo root handle 1: htb default 1 tc class add dev lo parent 1: classid 1:1 htb rate 512kbit ceil 1mbit all works as expected (traffic is limited to 1mbit), but this doesn't

[LARTC] HTB filters' parent

2005-12-16 Thread Denis Ovsienko
Hi I am the author of /etc/net project (http://etcnet.org/), which along with other features provides QoS support. This support is done through a hierarchical configuration tree for each interface, which is translated into 'tc' command sequence. Filters are supported and for each filter parent is d

[LARTC] RE: tc strange behaviour

2005-12-16 Thread Alexander Kabanov
ok, I'm lost :), there is no problems in kernel (tried with eth0 on different kernels and different platforms), seems like I can't test it on lo interface. here is my commands (one more time): tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1: htb default 10 tc class add dev eth0 pa